vlc | branch: master | Thomas Guillem <tho...@gllm.fr> | Thu Feb 22 16:58:06 
2018 +0100| [6b2d7be9a9556ad83312ac94b696d43ae3596e7f] | committer: Thomas 
Guillem

chromecast: reset time/position when changing es tracks

This fixes inconsistency of reported time when changing es tracks.

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

 modules/stream_out/chromecast/chromecast_demux.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/stream_out/chromecast/chromecast_demux.cpp 
b/modules/stream_out/chromecast/chromecast_demux.cpp
index 638ef82904..cac33bc5a9 100644
--- a/modules/stream_out/chromecast/chromecast_demux.cpp
+++ b/modules/stream_out/chromecast/chromecast_demux.cpp
@@ -400,6 +400,7 @@ struct demux_sys_t
              * flush sout streams, make sout del/add called right away and
              * clear CC buffers. */
             seekBack(m_last_time, m_last_pos);
+            initTimes();
             resetDemuxEof();
             break;
         case DEMUX_FILTER_ENABLE:

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to