[gstreamer-bugs] [Bug 377280] [cdiocddasrc] issue if drive endianness != machine endianness

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Mar 9 02:44:33 PST 2007


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=377280

  GStreamer | gst-plugins-good | Ver: 0.10.4





------- Comment #31 from rocky at panix.com  2007-03-09 10:42 UTC -------
(In reply to comment #29)
> It surprises me that other BIG_ENDIAN processors don't have the same problem. 
> Any ideas why?
> 

If this is the case and I guess it is, then it suggests there's a bug in
libcdio's solaris driver. But if there were a bug in the solaris driver, one
should also see the difference in bytes when using cd-read. By the way, looking
at cd-read output was requested in comment #14 above.

In the past, when I've run cd-read output and compared with other OS's and
drives, I've noticed a slightly different offset ordering with cd-read (of
something less than a sector read), but not a different byte swapping ordering.
Of course I just have one computer that I use for this test.

On thing that has that's bothered me about the patch and this thread is that it
just strikes me that patching where suggested here is the wrong place one way
or another. 

I've mentioned above the possibility that this could be a libcdio solaris
driver bug, and the fix then would be in that driver.

At the other end on the user interface side, I think there should be some
"advanced" setting to swap for audio. That covers those cases mentioned above
in comment #27 that slip by. (It seems a little self serving for a person who
works for a company that sells hardware to suggest that people who have this
problem buy newer hardware - especially given there's a simple software fix for
this.) It also handles the case where cdparanoia can't automatically determine
the drive endiannes. (Cdparanois is not used in this situatinon but one day it
might.) The cdparanoia algorithm may get the wrong endianness if the audio CD
started out immediately with something that's close to noise. And note that the
standalone cdparanoia/cd-paranoia programs do have an option to force the drive
endianness interpretation.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list