Commit 328728e8 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

V4L2: path from VLC, need utf8_open

parent f3b4d093
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment