[vlc-devel] commit: FB OSD: use var_Inherit ( Rémi Denis-Courmont )
git version control
git at videolan.org
Wed Dec 30 20:52:22 CET 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Dec 30 21:49:44 2009 +0200| [4afa86ab075eeb65251a3cfc85571e3ed10e5feb] | committer: Rémi Denis-Courmont
FB OSD: use var_Inherit
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4afa86ab075eeb65251a3cfc85571e3ed10e5feb
---
modules/gui/fbosd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/fbosd.c b/modules/gui/fbosd.c
index 8aa5a17..fd9febb 100644
--- a/modules/gui/fbosd.c
+++ b/modules/gui/fbosd.c
@@ -539,7 +539,7 @@ static int OpenBlending( intf_thread_t *p_intf )
p_intf->p_sys->fmt_out.i_sar_den;
p_intf->p_sys->p_blend->fmt_out.video.i_chroma =
p_intf->p_sys->fmt_out.i_chroma;
- if( config_GetInt( p_intf, "freetype-yuvp" ) )
+ if( var_InheritInteger( p_intf, "freetype-yuvp" ) )
p_intf->p_sys->p_blend->fmt_in.video.i_chroma =
VLC_CODEC_YUVP;
else
@@ -1056,7 +1056,7 @@ static int OpenDisplay( intf_thread_t *p_intf )
struct fb_fix_screeninfo fix_info; /* framebuffer fix information */
/* Open framebuffer device */
- if( !(psz_device = config_GetPsz( p_intf, "fbosd-dev" )) )
+ if( !(psz_device = var_InheritString( p_intf, "fbosd-dev" )) )
{
msg_Err( p_intf, "don't know which fb osd/overlay device to open" );
return VLC_EGENERIC;
More information about the vlc-devel
mailing list