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

PVR: path from VLC config, need utf8_open()

parent 3e3a32b3
......@@ -32,6 +32,7 @@
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_access.h>
#include <vlc_charset.h>
#include <sys/types.h>
#include <sys/stat.h>
......@@ -664,7 +665,7 @@ static int Open( vlc_object_t * p_this )
free( psz_tofree );
/* open the device */
p_sys->i_fd = open( p_sys->psz_videodev, O_RDWR );
p_sys->i_fd = utf8_open( p_sys->psz_videodev, O_RDWR );
if( p_sys->i_fd < 0 )
{
msg_Err( p_access, "Cannot open device %s (%m).",
......@@ -774,7 +775,7 @@ static int Open( vlc_object_t * p_this )
if ( (p_sys->i_frequency >= pi_radio_range[0])
&& (p_sys->i_frequency <= pi_radio_range[1]) )
{
p_sys->i_radio_fd = open( p_sys->psz_radiodev, O_RDWR );
p_sys->i_radio_fd = utf8_open( p_sys->psz_radiodev, O_RDWR );
if( p_sys->i_radio_fd < 0 )
{
msg_Err( p_access, "Cannot open radio device (%m)." );
......
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