[Bug 761787] qtdemux: seek fails with CENC encrypted streams

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Apr 20 17:10:51 UTC 2016


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

Thiago Sousa Santos <thiagossantos at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.9.1

--- Comment #6 from Thiago Sousa Santos <thiagossantos at gmail.com> ---
Thanks for updating the patch. Made a small change to unref the array on a
block a few lines below that was already dedicated to a if(hard){} to keep code
easier to maintain.

commit 0c4cc1453357fa456f94119ce218fc900f77db56
Author: Alex Ashley <bugzilla at ashley-family.net>
Date:   Tue Feb 9 17:17:09 2016 +0000

    qtdemux: support seeking of CENC encrypted streams

    When playing a stream that has been protected by DASH CENC, playback
    will fail if a seek is performed. Qtdemux produces the error "stream
    is protected using cenc, but no cenc protection system information
    has been found" and playback stops.

    The problem is that gst_qtdemux_reset() gets called as part of the
    FLUSH during a seek. This function frees the protection_system_ids
    array. When gst_qtdemux_configure_protected_caps() is called after the
    seek has completed, the protection_system_ids array is empty and
    qtdemux is unable to create the correct output caps for the protected
    stream.

    This commit changes it to only free the protection_system_ids on
    hard resets.

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

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