Commit 415ae458 authored by Xabier Rodriguez Calvar's avatar Xabier Rodriguez Calvar Committed by Sebastian Dröge
Browse files

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.
parent 3477f348
......@@ -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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment