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
This commit is contained in:
Thiago Santos 2015-07-26 12:07:56 -03:00
parent bb336840c0
commit e0878d6325

View file

@ -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);