Commit 107f5e01 authored by Thomas Guillem's avatar Thomas Guillem

chromecast: only show perfs dialog when transcoding video

parent 434b7eb6
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment