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