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
d8a9f942
Commit
d8a9f942
authored
Aug 19, 2007
by
Søren Bøg
Committed by
Jean-Paul Saman
Apr 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Overlay - Updated test program
Overlay - Updated test program
parent
75c7e26e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
extras/misc/overlay-test.c
extras/misc/overlay-test.c
+19
-1
No files found.
extras/misc/overlay-test.c
View file @
d8a9f942
...
...
@@ -27,6 +27,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <errno.h>
#include <string.h>
#include <math.h>
...
...
@@ -235,9 +236,26 @@ int main( int i_argc, char *ppsz_argv[] ) {
DataCreate
();
printf
(
" done
\n
"
);
printf
(
"Making FIFOs..."
);
if
(
mkfifo
(
ppsz_argv
[
1
],
S_IRWXU
)
)
{
if
(
errno
!=
EEXIST
)
{
printf
(
" failed
\n
"
);
exit
(
-
1
);
}
printf
(
" input already exists..."
);
}
if
(
mkfifo
(
ppsz_argv
[
2
],
S_IRWXU
)
)
{
if
(
errno
!=
EEXIST
)
{
printf
(
" failed
\n
"
);
exit
(
-
1
);
}
printf
(
" output already exists..."
);
}
printf
(
" done
\n
"
);
printf
(
"Please make sure vlc is running.
\n
"
"You should append parameters similar to the following:
\n
"
"--sub-filter overlay
--overlay-input %s --overlay-output %s
\n
"
,
"--sub-filter overlay
{input=%s,output=%s}
\n
"
,
ppsz_argv
[
1
],
ppsz_argv
[
2
]
);
printf
(
"Opening FIFOs..."
);
...
...
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