]> git.sesse.net Git - vlc/commitdiff
Don't display any OSD when --no-osd is asked.
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 3 Nov 2009 19:09:57 +0000 (20:09 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 24 Nov 2009 22:00:02 +0000 (23:00 +0100)
src/video_output/video_widgets.c

index f0a1ded2bc0098f223d20a4196226232a0bd9a5f..6963f5039ef4136d5ce219e34ff44f3040d3918b 100644 (file)
@@ -44,7 +44,7 @@ void vout_OSDSlider( vlc_object_t *p_caller, int i_channel, int i_position,
     vout_thread_t *p_vout = vlc_object_find( p_caller, VLC_OBJECT_VOUT,
                                              FIND_ANYWHERE );
 
-    if( p_vout && ( config_GetInt( p_caller, "osd" ) || ( i_position >= 0 ) ) )
+    if( p_vout && ( config_GetInt( p_caller, "osd" ) && ( i_position >= 0 ) ) )
     {
         osd_Slider( p_caller, p_vout->p_spu, p_vout->render.i_width,
             p_vout->render.i_height, p_vout->fmt_in.i_x_offset,