From e0878d632591f42f2414204de387273120bc5da6 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Sun, 26 Jul 2015 12:07:56 -0300 Subject: [PATCH] qtdemux: store the moof-offset also for push mode It will be used in some cases for getting the correct offsets from trun atoms. https://bugzilla.gnome.org/show_bug.cgi?id=752603 --- gst/isomp4/qtdemux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index bef2427e8d..46fbf2b0cf 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -5294,6 +5294,7 @@ gst_qtdemux_process_adapter (GstQTDemux * demux, gboolean force) GST_TIME_ARGS (demux->fragment_start)); } + demux->moof_offset = demux->offset; if (!qtdemux_parse_moof (demux, data, demux->neededbytes, demux->offset, NULL)) { gst_adapter_unmap (demux->adapter);