From 0c0b5b54ab4786029c291981caa6d106c31135e2 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Fri, 28 Apr 2017 12:35:55 +0000 Subject: [PATCH] qtdemux: Increment current stts index in all code paths after reading one chunk --- gst/isomp4/qtdemux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index f9bbdc7..d2b78ed 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -8003,6 +8003,7 @@ done2: /* save values */ stream->stts_time = stts_time; stream->stts_sample_index = j + 1; + stream->stts_index++; goto done3; } } -- 2.11.1