mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-04 09:11:33 +02:00
OMAP framebuffer: path from config, ASCII path, use utf8_open
This commit is contained in:
parent
fce940dba1
commit
f26426041e
@ -46,6 +46,7 @@
|
||||
#include <vlc_vout.h>
|
||||
#include <vlc_vout_window.h>
|
||||
#include <vlc_playlist.h>
|
||||
#include <vlc_charset.h>
|
||||
|
||||
/*****************************************************************************
|
||||
* Local prototypes
|
||||
@ -453,7 +454,7 @@ static int OpenDisplay( vout_thread_t *p_vout )
|
||||
return VLC_EGENERIC;
|
||||
}
|
||||
|
||||
p_sys->i_fd = open( psz_device, O_RDWR );
|
||||
p_sys->i_fd = utf8_open( psz_device, O_RDWR );
|
||||
if( p_sys->i_fd == -1 )
|
||||
{
|
||||
msg_Err( p_vout, "cannot open %s (%m)", psz_device );
|
||||
@ -504,7 +505,7 @@ static int OpenDisplay( vout_thread_t *p_vout )
|
||||
p_sys->p_display = XOpenDisplay( NULL );
|
||||
|
||||
/* Open /dev/null and map it */
|
||||
p_sys->i_null_fd = open( "/dev/zero", O_RDWR );
|
||||
p_sys->i_null_fd = utf8_open( "/dev/zero", O_RDWR );
|
||||
if( p_sys->i_null_fd == -1 )
|
||||
{
|
||||
msg_Err( p_vout, "cannot open /dev/zero (%m)" );
|
||||
|
Loading…
Reference in New Issue
Block a user