]> git.sesse.net Git - vlc/commitdiff
fb vout: use var_Inherit
authorRafaël Carré <rafael.carre@gmail.com>
Wed, 20 Jan 2010 10:32:58 +0000 (11:32 +0100)
committerRafaël Carré <rafael.carre@gmail.com>
Wed, 20 Jan 2010 10:32:58 +0000 (11:32 +0100)
modules/video_output/fb.c

index c6879f3c11da1d8aab25de06daa800b28df355c8..e55e6168c7b5bb723ca1b02e2547aa8c0ed13361 100644 (file)
@@ -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;
     }