]> git.sesse.net Git - vlc/commitdiff
Framebuffer OSD: path from VLC config, need utf8_open
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 17 Oct 2009 20:33:18 +0000 (23:33 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 17 Oct 2009 20:50:58 +0000 (23:50 +0300)
modules/gui/fbosd.c

index 17d4b46f2800c7d84aaefde9955f421f6c558eb8..fbfdf301f532033fcadd1ba1ef38423b577781d3 100644 (file)
@@ -31,6 +31,7 @@
 
 #include <vlc_common.h>
 #include <vlc_plugin.h>
+#include <vlc_charset.h>
 
 #include <errno.h>
 #include <stdlib.h>                                                /* free() */
@@ -1059,7 +1060,7 @@ static int OpenDisplay( intf_thread_t *p_intf )
         return VLC_EGENERIC;
     }
 
-    p_sys->i_fd = open( psz_device, O_RDWR );
+    p_sys->i_fd = utf8_open( psz_device, O_RDWR );
     if( p_sys->i_fd == -1 )
     {
         msg_Err( p_intf, "cannot open %s (%m)", psz_device );