mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-04 09:11:33 +02:00
Framebuffer: path from VLC config, need utf8_open
This commit is contained in:
parent
6a29221519
commit
7742fb3dff
@ -47,6 +47,7 @@
|
||||
#include <vlc_plugin.h>
|
||||
#include <vlc_vout_display.h>
|
||||
#include <vlc_picture_pool.h>
|
||||
#include <vlc_charset.h>
|
||||
|
||||
/*****************************************************************************
|
||||
* Module descriptor
|
||||
@ -493,7 +494,7 @@ static int OpenDisplay(vout_display_t *vd, bool force_resolution)
|
||||
return VLC_EGENERIC;
|
||||
}
|
||||
|
||||
sys->fd = open(psz_device, O_RDWR);
|
||||
sys->fd = utf8_open(psz_device, O_RDWR);
|
||||
if (sys->fd == -1) {
|
||||
msg_Err(vd, "cannot open %s (%m)", psz_device);
|
||||
free(psz_device);
|
||||
|
Loading…
Reference in New Issue
Block a user