[vlc-devel] commit: Framebuffer OSD: path from VLC config, need utf8_open ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Oct 17 22:51:07 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 17 23:33:18 2009 +0300| [e7aa93831158c0529cffcbf8b67f78cdc69e197f] | committer: Rémi Denis-Courmont
Framebuffer OSD: path from VLC config, need utf8_open
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e7aa93831158c0529cffcbf8b67f78cdc69e197f
---
modules/gui/fbosd.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/gui/fbosd.c b/modules/gui/fbosd.c
index 17d4b46..fbfdf30 100644
--- a/modules/gui/fbosd.c
+++ b/modules/gui/fbosd.c
@@ -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 );
More information about the vlc-devel
mailing list