gstreamer/gst/isomp4
Alex Ashley 97f6f7c713 qtdemux: only transform protected caps once
Commit 7873bede31
(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() did not handle the case
of being called multiple times, causing it to incorrectly set the
caps. The second call was causing the caps to be set to:

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

This commit makes gst_qtdemux_configure_protected_caps() check that
the caps have already been transformed, so that it only gets
changed once.

    https://bugzilla.gnome.org/show_bug.cgi?id=761769
2016-02-17 17:04:25 +02:00
..
atoms.c isomp4: remove unused parameters in build_*_extension 2015-12-10 18:39:04 +00:00
atoms.h isomp4: remove unused parameters in build_*_extension 2015-12-10 18:39:04 +00:00
atomsrecovery.c docs: fix "Symbol name not found at the start of the comment block" 2015-07-07 17:12:02 +02:00
atomsrecovery.h Fix FSF address 2012-11-04 00:07:18 +00:00
descriptors.c qtdemux: Fix calcuation of descriptor length 2013-12-23 15:09:49 +01:00
descriptors.h Fix FSF address 2012-11-04 00:07:18 +00:00
fourcc.h qtdemux: unite duplicate FourCC 2015-11-20 11:05:51 +00:00
gstisoff.c Fix double semicolons 2015-03-10 09:31:20 +00:00
gstisoff.h isomp4: Redefine gst_isoff_ symbols to gst_isoff_qt_ 2015-02-17 12:31:06 +01:00
gstqtmoovrecover.c docs: remove outdated and pointless 'Last reviewed' lines from docs 2014-04-26 23:35:17 +01:00
gstqtmoovrecover.h Fix FSF address 2012-11-04 00:07:18 +00:00
gstqtmux-doc.c docs: remove outdated and pointless 'Last reviewed' lines from docs 2014-04-26 23:35:17 +01:00
gstqtmux-doc.h isomp4mux: fix copy and paste 2014-02-18 22:35:45 +01:00
gstqtmux.c qtmux: Don't write invalid edit list start time. 2015-12-19 03:49:28 +11:00
gstqtmux.h qtmux: Correctly calculate the elst media start 2015-06-23 22:34:36 -04:00
gstqtmuxmap.c isomp4: add support for Opus in mp4mpux 2015-11-19 17:08:25 +00:00
gstqtmuxmap.h qtmux: add subtitle support to qtmuxmap structures 2014-02-07 13:10:24 -03:00
gstrtpxqtdepay.c Rename property enums from ARG_ to PROP_ 2015-04-27 11:22:11 +01:00
gstrtpxqtdepay.h Fix FSF address 2012-11-04 00:07:18 +00:00
isomp4-plugin.c Don't use setlocale in plugins() 2013-09-01 21:18:38 +01:00
LEGAL quicktime: rename plugin to isomp4 2011-04-30 17:58:02 +01:00
Makefile.am Remove obsolete Android build cruft 2015-04-26 17:55:07 +01:00
properties.c Fix FSF address 2012-11-04 00:07:18 +00:00
properties.h docs: fix "Symbol name not found at the start of the comment block" 2015-07-07 17:12:02 +02:00
qtatomparser.h Fix FSF address 2012-11-04 00:07:18 +00:00
qtdemux.c qtdemux: only transform protected caps once 2016-02-17 17:04:25 +02:00
qtdemux.h qtdemux: expose streams with first moof for fragmented format 2016-01-29 10:53:39 +01:00
qtdemux.vcproj quicktime: rename plugin to isomp4 2011-04-30 17:58:02 +01:00
qtdemux_dump.c cslg: Add Composition Shift Least Greatest Atom 2015-06-17 15:21:16 -04:00
qtdemux_dump.h cslg: Add Composition Shift Least Greatest Atom 2015-06-17 15:21:16 -04:00
qtdemux_lang.c qtdemux: fix language code parsing for 3-letter codes starting with 'a' 2014-07-21 18:21:50 +01:00
qtdemux_lang.h Fix FSF address 2012-11-04 00:07:18 +00:00
qtdemux_types.c qtdemux: support timed-text subtitle tracks. 2015-09-26 00:51:42 +02:00
qtdemux_types.h qtdemux: handle default-base-is-moof flag 2015-08-05 18:12:45 -03:00
qtpalette.h Fix FSF address 2012-11-04 00:07:18 +00:00