[gstreamer-bugs] [Bug 148021] New: - Bug in lib-riff

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Tue Jul 20 12:11:28 PDT 2004


http://bugzilla.gnome.org/show_bug.cgi?id=148021
GStreamer | gst-plugins | Ver: 0.8.2

           Summary: Bug in lib-riff
           Product: GStreamer
           Version: 0.8.2
          Platform: Other
        OS/Version: SunOS
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: francis_labonte at hotmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net


Try to read a wav file with PCM data inside to encode in other format.

I think there is a bug in riff-media.c (or in riff-read.c).

In "gst_riff_read_strf_auds(..)" function, there is a swap if "G_BYTE_ORDER ==
G_BIG_ENDIAN".  

Now, if you look inside "gst_riff_create_audio_caps(..)", when codecID is
"GST_RIFF_WAVE_FORMAT_PCM", the same fields are swap again.

That cause my pipeline to failed on Sun since these value are swap twince, so
they are invalid.

I'me suggesting you to remove the swapping in riff-media.c when we have PCM. 
I'me not sure if this may impact something else...but it fix the actual problem.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.




More information about the Gstreamer-bugs mailing list