[vlc-devel] commit: V4L2: path from VLC, 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:31:48 2009 +0300| [328728e85d51f5831a566029f5414ca38b517c60] | committer: Rémi Denis-Courmont
V4L2: path from VLC, need utf8_open
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=328728e85d51f5831a566029f5414ca38b517c60
---
modules/access/v4l2.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/access/v4l2.c b/modules/access/v4l2.c
index 2a1c56c..ae5821f 100644
--- a/modules/access/v4l2.c
+++ b/modules/access/v4l2.c
@@ -1816,7 +1816,7 @@ static int OpenVideoDev( vlc_object_t *p_obj, demux_sys_t *p_sys, bool b_demux )
const char *psz_device = p_sys->psz_device;
es_format_t es_fmt;
- if( ( i_fd = open( psz_device, O_RDWR ) ) < 0 )
+ if( ( i_fd = utf8_open( psz_device, O_RDWR ) ) < 0 )
{
msg_Err( p_obj, "cannot open device (%m)" );
goto open_failed;
@@ -2377,7 +2377,7 @@ static bool ProbeVideoDev( vlc_object_t *p_obj, demux_sys_t *p_sys,
int i_fd;
- if( ( i_fd = open( psz_device, O_RDWR ) ) < 0 )
+ if( ( i_fd = utf8_open( psz_device, O_RDWR ) ) < 0 )
{
msg_Err( p_obj, "cannot open video device '%s' (%m)", psz_device );
goto open_failed;
More information about the vlc-devel
mailing list