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
aa734286
Commit
aa734286
authored
Oct 21, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Also test libvlc_playlist_clear and libvlc_playlist_add_extended
parent
8837d3d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
src/control/testapi.c
src/control/testapi.c
+11
-0
No files found.
src/control/testapi.c
View file @
aa734286
...
...
@@ -49,6 +49,7 @@ int main (int argc, char *argv[])
{
libvlc_instance_t
*
vlc
;
const
char
*
args
[
argc
+
3
];
int
id
;
alarm
(
30
);
/* Make sure "make check" does not get stuck */
...
...
@@ -63,6 +64,16 @@ int main (int argc, char *argv[])
vlc
=
libvlc_new
(
sizeof
(
args
)
/
sizeof
(
args
[
0
]),
args
,
&
ex
);
catch
();
libvlc_playlist_clear
(
vlc
,
&
ex
);
catch
();
id
=
libvlc_playlist_add_extended
(
vlc
,
"/dev/null"
,
"Test"
,
0
,
NULL
,
&
ex
);
catch
();
libvlc_playlist_clear
(
vlc
,
&
ex
);
catch
();
libvlc_destroy
(
vlc
,
&
ex
);
catch
();
return
0
;
...
...
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