[Bug 704548] New: qtdemux: set proper caps for mpeg-1 audio

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jul 19 05:09:01 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=704548
  GStreamer | gst-plugins-good | 1.1.2

           Summary: qtdemux: set proper caps for mpeg-1 audio
    Classification: Platform
           Product: GStreamer
           Version: 1.1.2
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: rawoul at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=249623)
 View: https://bugzilla.gnome.org/attachment.cgi?id=249623
 Review: https://bugzilla.gnome.org/review?bug=704548&attachment=249623

qtdemux: set proper caps for mpeg-1 audio

qtdemux sets invalid caps for mpeg-1 audio, since it reuses the AAC caps
created from the fourcc (mp4a) field:

audio/mpeg, mpegversion=(int)1, framed=(boolean)true,
stream-format=(string)raw, layer=(int)3, codec_data=(buffer)0990,
rate=(int)48000, channels=(int)2

With the patch I now get:

audio/mpeg, mpegversion=(int)1, parsed=(boolean)true, codec_data=(buffer)0990,
rate=(int)48000, channels=(int)2

The layer is not set anymore, since it can also be layer 1 or 2. We can't know
without parsing the elementary stream.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list