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

Francois Cartegnie git at videolan.org
Sun May 15 17:30:44 CEST 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun May 15 17:21:49 2016 +0200| [c52928a26d3dfc9f1d5ce4e0a9cead40e71355cb] | committer: Francois Cartegnie

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

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

 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