diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index 675d28be09..93a1714d5c 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -6090,6 +6090,7 @@ gst_qtdemux_chain (GstPad * sinkpad, GstObject * parent, GstBuffer * inbuf) /* Reset state if it's a real discont */ demux->neededbytes = 16; demux->state = QTDEMUX_STATE_INITIAL; + demux->offset = GST_BUFFER_OFFSET (inbuf); } } /* Reverse fragmented playback, need to flush all we have before