Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
b1b5d541
Commit
b1b5d541
authored
Oct 17, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PVR: path from VLC config, need utf8_open()
parent
3e3a32b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/access/pvr.c
modules/access/pvr.c
+3
-2
No files found.
modules/access/pvr.c
View file @
b1b5d541
...
...
@@ -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)."
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment