[vlc-commits] demux: adaptive: add missing pcr (fix #16951)

Francois Cartegnie git at videolan.org
Sun May 15 22:03:33 CEST 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun May 15 17:21:49 2016 +0200| [80ec5a56f591edd243b90abeffe4b78e7edf4f21] | committer: Jean-Baptiste Kempf

demux: adaptive: add missing pcr (fix #16951)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=80ec5a56f591edd243b90abeffe4b78e7edf4f21
---

 modules/demux/adaptive/Streams.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/adaptive/Streams.cpp b/modules/demux/adaptive/Streams.cpp
index 28b6c4a..60a3dcd 100644
--- a/modules/demux/adaptive/Streams.cpp
+++ b/modules/demux/adaptive/Streams.cpp
@@ -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);
     }



More information about the vlc-commits mailing list