Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
cb2a5b49
Commit
cb2a5b49
authored
Jun 05, 2009
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: Use vlc's msleep. Only portable and working implementation we have.
Pointed by Remi.
parent
c073cceb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
test/libvlc/media_list_player.c
test/libvlc/media_list_player.c
+7
-3
No files found.
test/libvlc/media_list_player.c
View file @
cb2a5b49
...
...
@@ -23,6 +23,10 @@
#include "test.h"
// For msleep
#include <vlc_common.h>
#include <vlc_mtime.h>
static
void
media_list_add_file_path
(
libvlc_instance_t
*
vlc
,
libvlc_media_list_t
*
ml
,
const
char
*
file_path
)
{
libvlc_media_t
*
md
=
libvlc_media_new
(
vlc
,
file_path
,
&
ex
);
...
...
@@ -73,7 +77,7 @@ static void test_media_list_player_next(const char** argv, int argc)
libvlc_media_release
(
md
);
u
sleep
(
100000
);
m
sleep
(
100000
);
libvlc_media_list_player_next
(
mlp
,
&
ex
);
catch
();
...
...
@@ -81,7 +85,7 @@ static void test_media_list_player_next(const char** argv, int argc)
libvlc_media_list_player_pause
(
mlp
,
&
ex
);
catch
();
u
sleep
(
100000
);
m
sleep
(
100000
);
libvlc_media_list_player_next
(
mlp
,
&
ex
);
catch
();
...
...
@@ -89,7 +93,7 @@ static void test_media_list_player_next(const char** argv, int argc)
libvlc_media_list_player_stop
(
mlp
,
&
ex
);
catch
();
u
sleep
(
100000
);
m
sleep
(
100000
);
libvlc_media_list_player_next
(
mlp
,
&
ex
);
catch
();
...
...
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