[vlc-commits] chromecast_demux: Probe the actual demux for seeking capabilities
Hugo Beauzée-Luyssen
git at videolan.org
Tue Sep 19 11:49:32 CEST 2017
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Jul 17 19:12:38 2017 +0200| [37e5556bd389e852786c0d3726e11f496c20b513] | committer: Hugo Beauzée-Luyssen
chromecast_demux: Probe the actual demux for seeking capabilities
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=37e5556bd389e852786c0d3726e11f496c20b513
---
modules/stream_out/chromecast/chromecast_demux.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/stream_out/chromecast/chromecast_demux.cpp b/modules/stream_out/chromecast/chromecast_demux.cpp
index 618c07d5ca..0ef9637dea 100644
--- a/modules/stream_out/chromecast/chromecast_demux.cpp
+++ b/modules/stream_out/chromecast/chromecast_demux.cpp
@@ -43,7 +43,6 @@ struct demux_sys_t
,p_renderer(renderer)
,i_length(-1)
,demuxReady(false)
- ,canSeek(false)
,m_seektime( VLC_TS_INVALID )
,m_enabled( true )
{
@@ -60,6 +59,8 @@ struct demux_sys_t
p_renderer->pf_set_artwork( p_renderer->p_opaque, meta );
}
vlc_meta_Delete(p_meta);
+ if (demux_Control( demux->p_next, DEMUX_CAN_SEEK, &canSeek ) != VLC_SUCCESS)
+ canSeek = false;
}
}
More information about the vlc-commits
mailing list