[vlc-devel] commit: PVR: path from VLC config, need utf8_open() ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Oct 17 22:51:06 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 17 23:31:03 2009 +0300| [b1b5d5412615c532744c1508433711e326d8d60e] | committer: Rémi Denis-Courmont
PVR: path from VLC config, need utf8_open()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b1b5d5412615c532744c1508433711e326d8d60e
---
modules/access/pvr.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/access/pvr.c b/modules/access/pvr.c
index 70d0127..212aa43 100644
--- a/modules/access/pvr.c
+++ b/modules/access/pvr.c
@@ -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)." );
More information about the vlc-devel
mailing list