demux: adaptive: add missing pcr (fix #16951)
authorFrancois Cartegnie <fcvlcdev@free.fr>
Sun, 15 May 2016 15:21:49 +0000 (17:21 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 15 May 2016 20:02:36 +0000 (22:02 +0200)
modules/demux/adaptive/Streams.cpp

index 28b6c4a..60a3dcd 100644 (file)
@@ -357,6 +357,7 @@ bool AbstractStream::setPosition(mtime_t time, bool tryonly)
                 fakeesout->setTimestampOffset(time);
         }
 
+        pcr = VLC_TS_INVALID;
         es_out_Control(p_realdemux->out, ES_OUT_SET_NEXT_DISPLAY_TIME,
                        VLC_TS_0 + time);
     }