Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
6a292215
Commit
6a292215
authored
Oct 17, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dynamic overlay: paths from VLC variables, need utf8_open
parent
9f73b317
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/video_filter/dynamicoverlay/dynamicoverlay.c
modules/video_filter/dynamicoverlay/dynamicoverlay.c
+3
-2
No files found.
modules/video_filter/dynamicoverlay/dynamicoverlay.c
View file @
6a292215
...
...
@@ -34,6 +34,7 @@
#include <vlc_vout.h>
#include <vlc_filter.h>
#include <vlc_osd.h>
#include <vlc_charset.h>
#include <ctype.h>
#include <fcntl.h>
...
...
@@ -170,7 +171,7 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
vlc_mutex_lock
(
&
p_sys
->
lock
);
if
(
p_sys
->
i_inputfd
==
-
1
)
{
p_sys
->
i_inputfd
=
open
(
p_sys
->
psz_inputfile
,
O_RDONLY
|
O_NONBLOCK
);
p_sys
->
i_inputfd
=
utf8_
open
(
p_sys
->
psz_inputfile
,
O_RDONLY
|
O_NONBLOCK
);
if
(
p_sys
->
i_inputfd
==
-
1
)
{
msg_Warn
(
p_filter
,
"Failed to grab input file: %s (%m)"
,
...
...
@@ -185,7 +186,7 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
if
(
p_sys
->
i_outputfd
==
-
1
)
{
p_sys
->
i_outputfd
=
open
(
p_sys
->
psz_outputfile
,
p_sys
->
i_outputfd
=
utf8_
open
(
p_sys
->
psz_outputfile
,
O_WRONLY
|
O_NONBLOCK
);
if
(
p_sys
->
i_outputfd
==
-
1
)
{
...
...
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