Commit 0f1b4876 authored by Rafaël Carré's avatar Rafaël Carré
Browse files

fb vout: use var_Inherit

parent c7acc9f3
......@@ -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");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment