Commit 7742fb3d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Framebuffer: path from VLC config, need utf8_open

parent 6a292215
...@@ -47,6 +47,7 @@ ...@@ -47,6 +47,7 @@
#include <vlc_plugin.h> #include <vlc_plugin.h>
#include <vlc_vout_display.h> #include <vlc_vout_display.h>
#include <vlc_picture_pool.h> #include <vlc_picture_pool.h>
#include <vlc_charset.h>
/***************************************************************************** /*****************************************************************************
* Module descriptor * Module descriptor
...@@ -493,7 +494,7 @@ static int OpenDisplay(vout_display_t *vd, bool force_resolution) ...@@ -493,7 +494,7 @@ static int OpenDisplay(vout_display_t *vd, bool force_resolution)
return VLC_EGENERIC; return VLC_EGENERIC;
} }
sys->fd = open(psz_device, O_RDWR); sys->fd = utf8_open(psz_device, O_RDWR);
if (sys->fd == -1) { if (sys->fd == -1) {
msg_Err(vd, "cannot open %s (%m)", psz_device); msg_Err(vd, "cannot open %s (%m)", psz_device);
free(psz_device); free(psz_device);
......
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