Framebuffer: path from VLC config, need utf8_open
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 17 Oct 2009 20:35:27 +0000 (23:35 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 17 Oct 2009 20:50:59 +0000 (23:50 +0300)
modules/video_output/fb.c

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