[Bug 761769] New: qtdemux: incorrectly sets caps of CENC encrypted streams

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Feb 9 13:17:02 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=761769

            Bug ID: 761769
           Summary: qtdemux: incorrectly sets caps of CENC encrypted
                    streams
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: bugzilla at ashley-family.net
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Commit 7873bede3134b15e5066e8d14e54d1f5054d2063
(https://bugzilla.gnome.org/show_bug.cgi?id=760774) changed the behaviour of
qtdemux to call gst_qtdemux_configure_stream() for every new moof.

When playing a protected stream, gst_qtdemux_configure_stream() calls
gst_qtdemux_configure_protected_caps(). The
gst_qtdemux_configure_protected_caps() function takes the original media
format, puts this in a field called "original-media-type" and then changes the
caps to "application/x-cenc".

The gst_qtdemux_configure_protected_caps() does not handle the case of being
called multiple times, causing it to incorrectly set the caps. The second call
causes the caps to be set to:

    application/x-cenc, original-media-type"application/x-cenc"

-- 
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