From: Xabier Rodriguez Calvar Date: Fri, 9 Sep 2016 12:02:25 +0000 (+0200) Subject: qtdemux: offset is irrelevant when no crypto info X-Git-Tag: 1.19.3~509^2~2551 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=415ae458d27ae4be5cf2dffaef9b496bef3942b8;p=platform%2Fupstream%2Fgstreamer.git qtdemux: offset is irrelevant when no crypto info Cause later it will try to use the crypto info array to get an index and attach on of the positions as buffer's crypto info. https://bugzilla.gnome.org/show_bug.cgi?id=770951 --- diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index f68723e..2bcb4ba 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -5304,7 +5304,7 @@ gst_qtdemux_decorate_and_push_buffer (GstQTDemux * qtdemux, gst_pad_push_event (stream->pad, event); } - if (qtdemux->cenc_aux_info_offset == 0 || info->crypto_info == NULL) { + if (info->crypto_info == NULL) { GST_DEBUG_OBJECT (qtdemux, "cenc metadata hasn't been parsed yet"); gst_buffer_unref (buf); goto exit;