[vlc-devel] commit: Don't display any OSD when --no-osd is asked. (Jean-Baptiste Kempf )
git version control
git at videolan.org
Tue Nov 24 23:00:14 CET 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Nov 3 20:09:57 2009 +0100| [dc92e9b375a1f01fa21869c018253bd991c817ea] | committer: Jean-Baptiste Kempf
Don't display any OSD when --no-osd is asked.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dc92e9b375a1f01fa21869c018253bd991c817ea
---
src/video_output/video_widgets.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/video_output/video_widgets.c b/src/video_output/video_widgets.c
index f0a1ded..6963f50 100644
--- a/src/video_output/video_widgets.c
+++ b/src/video_output/video_widgets.c
@@ -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,
More information about the vlc-devel
mailing list