After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 316543 - cddasrc not reporting correct discid for freedb Test CD
cddasrc not reporting correct discid for freedb Test CD
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.9
Other All
: Normal normal
: 0.8.12
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-09-17 07:56 UTC by Eric Moret
Modified: 2005-09-22 11:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Eric Moret 2005-09-17 07:56:08 UTC
Please describe the problem:
Using gst-editor, create the following pipeline cddasrc ! alsasink, insert 
FreeDB Test CD in drive. Set pipeline to pause, discid shows 03015401.
at the prompt type:
cd-info is part of libcdio and returns the correct discid:
$ cd-info
[...]
Disc ID: 03015501

Steps to reproduce:
1. Download FreeDB test CD from 
(http://www.freedb.org/software/freedb_testcd.zip)
2. Burn test CD with cdrdao under linux (This step is important as other 
utilities don't seem to get it right)
3. use cd-info to verify proper discid
4. use gst-editor and verify discid, it should match cd-info output

Actual results:


Expected results:


Does this happen every time?
yes

Other information:
Comment 1 Luca Ognibene 2005-09-21 20:17:50 UTC
fixed in current 0.8 cvs.
Thanks for reporting!
Comment 2 Eric Moret 2005-09-22 01:12:48 UTC
Hi Luca,

Thanks for the quick turn arround! Really impressed here :) Just out of 
curiosity, why don't you report what libcdio returns as discid? It seems to me 
a duplication of code is more error prone.

Thanks,
__
Eric
Comment 3 Tim-Philipp Müller 2005-09-22 08:20:59 UTC
Either because I've missed the function for that when I wrote the plugin, or
because the function has been added in a later version of the library, but we
still want to support older versions for various reasons.

What's the function in libcdio that returns the discid?

Cheers
 -Tim
Comment 4 Eric Moret 2005-09-22 09:44:46 UTC
I may be wrong but I think the function that returns discid is: cddb_discid 
located in cddb.h, this file was first commited on March 6th 2005 and should be 
part of libcdio 0.73, 0.74 and 0.75.

Regards,
__
Eric
Comment 5 Tim-Philipp Müller 2005-09-22 11:11:34 UTC
Thanks, it's good to know that it's there :) 

However, for the time being I still want to support 0.71, as that is still the
current version in debian sid and ubuntu. We can still ditch the cddb discid
code later when newer versions are available in all major distros.

Cheers
 -Tim