Commit 86c7e74f authored by Jean-Paul Saman's avatar Jean-Paul Saman

Fix ticket #1700: Disable video title showing when --no-osd is specified.

parent 9369f4b3
...@@ -1548,6 +1548,8 @@ static void DisplayTitleOnOSD( vout_thread_t *p_vout ) ...@@ -1548,6 +1548,8 @@ static void DisplayTitleOnOSD( vout_thread_t *p_vout )
input_thread_t *p_input; input_thread_t *p_input;
mtime_t i_now, i_stop; mtime_t i_now, i_stop;
if( !config_GetInt( p_vout, "osd" ) ) return;
p_input = (input_thread_t *)vlc_object_find( p_vout, p_input = (input_thread_t *)vlc_object_find( p_vout,
VLC_OBJECT_INPUT, FIND_ANYWHERE ); VLC_OBJECT_INPUT, FIND_ANYWHERE );
if( p_input ) if( p_input )
......
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