[vlc-devel] commit: fb vout: use var_Inherit ( Rafaël Carré )

git version control git at videolan.org
Wed Jan 20 11:33:12 CET 2010


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Wed Jan 20 11:32:58 2010 +0100| [0f1b48765b67af731c0f8ddbf0edeb345e905452] | committer: Rafaël Carré 

fb vout: use var_Inherit

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0f1b48765b67af731c0f8ddbf0edeb345e905452
---

 modules/video_output/fb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/video_output/fb.c b/modules/video_output/fb.c
index c6879f3..e55e616 100644
--- a/modules/video_output/fb.c
+++ b/modules/video_output/fb.c
@@ -519,7 +519,7 @@ static int OpenDisplay(vout_display_t *vd, bool force_resolution)
     char *psz_device;                             /* framebuffer device path */
 
     /* Open framebuffer device */
-    if (!(psz_device = config_GetPsz(vd, FB_DEV_VAR))) {
+    if (!(psz_device = var_InheritString(vd, FB_DEV_VAR))) {
         msg_Err(vd, "don't know which fb device to open");
         return VLC_EGENERIC;
     }




More information about the vlc-devel mailing list