Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
65bc1a4e
Commit
65bc1a4e
authored
Oct 21, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Put timeout to the testsuite
parent
508d87e6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
src/control/core.c
src/control/core.c
+3
-0
src/control/testapi.c
src/control/testapi.c
+6
-3
No files found.
src/control/core.c
View file @
65bc1a4e
...
@@ -84,6 +84,9 @@ libvlc_instance_t * libvlc_new( int argc, const char *const *argv,
...
@@ -84,6 +84,9 @@ libvlc_instance_t * libvlc_new( int argc, const char *const *argv,
{
{
libvlc_instance_t
*
p_new
;
libvlc_instance_t
*
p_new
;
for
(
int
i
=
0
;
i
<
argc
;
i
++
)
printf
(
"%d: %s
\n
"
,
i
,
argv
[
i
]);
libvlc_int_t
*
p_libvlc_int
=
libvlc_InternalCreate
();
libvlc_int_t
*
p_libvlc_int
=
libvlc_InternalCreate
();
if
(
!
p_libvlc_int
)
RAISENULL
(
"VLC initialization failed"
);
if
(
!
p_libvlc_int
)
RAISENULL
(
"VLC initialization failed"
);
...
...
src/control/testapi.c
View file @
65bc1a4e
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <unistd.h>
static
libvlc_exception_t
ex
;
static
libvlc_exception_t
ex
;
...
@@ -49,9 +50,11 @@ int main (int argc, char *argv[])
...
@@ -49,9 +50,11 @@ int main (int argc, char *argv[])
libvlc_instance_t
*
vlc
;
libvlc_instance_t
*
vlc
;
const
char
*
args
[
argc
+
3
];
const
char
*
args
[
argc
+
3
];
args
[
0
]
=
"-I"
;
alarm
(
30
);
/* Make sure "make check" does not get stuck */
args
[
1
]
=
"dummy"
;
args
[
2
]
=
"-vvv"
;
args
[
0
]
=
"-vvv"
;
args
[
1
]
=
"-I"
;
args
[
2
]
=
"-dummy"
;
args
[
3
]
=
"--plugin-path=.."
;
args
[
3
]
=
"--plugin-path=.."
;
for
(
int
i
=
1
;
i
<
argc
;
i
++
)
for
(
int
i
=
1
;
i
<
argc
;
i
++
)
args
[
i
+
3
]
=
argv
[
i
];
args
[
i
+
3
]
=
argv
[
i
];
...
...
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