Revert "qtdemux: Increment current stts index in all code paths after reading one...
authorSebastian Dröge <sebastian@centricular.com>
Thu, 19 Jan 2017 11:25:53 +0000 (13:25 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 19 Jan 2017 11:25:53 +0000 (13:25 +0200)
This reverts commit 99d5d7570d0b53dad3bc8eb653b1320ee422aace. It broke
playback of various valid files.

gst/isomp4/qtdemux.c

index 08dee42..973af8f 100644 (file)
@@ -8545,7 +8545,6 @@ done2:
           /* save values */
           stream->stts_time = stts_time;
           stream->stts_sample_index = j + 1;
-          stream->stts_index++;
           goto done3;
         }
       }