[vlc-commits] chromecast_demux: Implement missing control query
Hugo Beauzée-Luyssen
git at videolan.org
Tue Jan 16 16:52:35 CET 2018
vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Jan 16 16:53:08 2018 +0100| [0b59062a6b0f8c44bfd63690c4f6bbc7121c0c7c] | committer: Hugo Beauzée-Luyssen
chromecast_demux: Implement missing control query
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=0b59062a6b0f8c44bfd63690c4f6bbc7121c0c7c
---
modules/stream_out/chromecast/chromecast_demux.cpp | 25 ++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/modules/stream_out/chromecast/chromecast_demux.cpp b/modules/stream_out/chromecast/chromecast_demux.cpp
index 12365026c9..ea7823d6f1 100644
--- a/modules/stream_out/chromecast/chromecast_demux.cpp
+++ b/modules/stream_out/chromecast/chromecast_demux.cpp
@@ -298,6 +298,31 @@ struct demux_sys_t
p_renderer = NULL;
m_startTime = VLC_TS_INVALID;
return VLC_SUCCESS;
+ case DEMUX_CAN_PAUSE:
+ case DEMUX_CAN_CONTROL_PACE:
+ {
+ int ret;
+ va_list ap;
+
+ va_copy( ap, args );
+ ret = demux_vaControl( p_demux_filter->p_next, i_query, args );
+ if( ret == VLC_SUCCESS )
+ *va_arg( ap, bool* ) = false;
+ va_end( ap );
+ return VLC_SUCCESS;
+ }
+ case DEMUX_GET_PTS_DELAY:
+ {
+ int ret;
+ va_list ap;
+
+ va_copy( ap, args );
+ ret = demux_vaControl( p_demux_filter->p_next, i_query, args );
+ if( ret == VLC_SUCCESS )
+ *va_arg( ap, int64_t* ) = 0;
+ va_end( ap );
+ return VLC_SUCCESS;
+ }
}
return demux_vaControl( p_demux_filter->p_next, i_query, args );
More information about the vlc-commits
mailing list