qtdemux: don't push encrypted buffer without cenc metadata
authorPhilippe Normand <philn@igalia.com>
Wed, 24 Feb 2016 08:12:03 +0000 (09:12 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 25 Feb 2016 10:46:27 +0000 (12:46 +0200)
commitfb5d50cd07c4aa66d711e2cb0303637ab6d2f695
tree8bf0b5f6908cc33aecb510b3dd8cb1c82d108490
parent459ef195bbc77cee5e407facc3172b77cb29d9a3
qtdemux: don't push encrypted buffer without cenc metadata

When the cenc metadata is stored outside of the moof box and the
stream is exposed it is possible that the cenc metadata hasn't been
processed yet while the first buffer is being pushed. When this
happens the buffer can't possibly be decrypted downstream so don't
push it.

https://bugzilla.gnome.org/show_bug.cgi?id=762516
gst/isomp4/qtdemux.c