From 14c7d3f4e9aee8bbd034fd898cc18a6ee19d9a2d Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Tue, 28 Nov 2023 11:43:53 -0300 Subject: [PATCH] qtdemux: Do not update `demux->offset` when droping data on EOS The offset is updated right after and we were breaking it by updating it twice. Part-of: --- subprojects/gst-plugins-good/gst/isomp4/qtdemux.c | 1 - 1 file changed, 1 deletion(-) diff --git a/subprojects/gst-plugins-good/gst/isomp4/qtdemux.c b/subprojects/gst-plugins-good/gst/isomp4/qtdemux.c index bd7e0d6235..28366d860b 100644 --- a/subprojects/gst-plugins-good/gst/isomp4/qtdemux.c +++ b/subprojects/gst-plugins-good/gst/isomp4/qtdemux.c @@ -8461,7 +8461,6 @@ gst_qtdemux_process_adapter (GstQTDemux * demux, gboolean force) /* skip this data, stream is EOS */ gst_adapter_flush (demux->adapter, demux->neededbytes); - demux->offset += demux->neededbytes; ret = GST_FLOW_EOS; } else {