[vlc-commits] chromecast: only show perfs dialog when transcoding video
Thomas Guillem
git at videolan.org
Mon Jan 29 13:24:00 CET 2018
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Jan 29 13:22:51 2018 +0100| [107f5e01e6c85c72fc8de0f5551b68897a32b089] | committer: Thomas Guillem
chromecast: only show perfs dialog when transcoding video
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=107f5e01e6c85c72fc8de0f5551b68897a32b089
---
modules/stream_out/chromecast/cast.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp
index 3dcb0310e5..fd0b30bfe7 100644
--- a/modules/stream_out/chromecast/cast.cpp
+++ b/modules/stream_out/chromecast/cast.cpp
@@ -517,7 +517,8 @@ bool sout_stream_sys_t::UpdateOutput( sout_stream_t *p_stream )
std::stringstream ssout;
if ( !canRemux )
{
- if ( var_InheritInteger( p_stream, SOUT_CFG_PREFIX "show-perf-warning" ) )
+ if ( i_codec_video == 0 && p_original_video
+ && var_InheritInteger( p_stream, SOUT_CFG_PREFIX "show-perf-warning" ) )
{
int res = vlc_dialog_wait_question( p_stream,
VLC_DIALOG_QUESTION_WARNING,
More information about the vlc-commits
mailing list