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
49347bf4
Commit
49347bf4
authored
Apr 01, 2008
by
Filippo Carone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test code cleanup
parent
1c5df1f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
+6
-10
src/control/testapi.c
src/control/testapi.c
+6
-10
No files found.
src/control/testapi.c
View file @
49347bf4
...
@@ -406,7 +406,6 @@ static void test_media_list_player_pause_stop(const char** argv, int argc)
...
@@ -406,7 +406,6 @@ static void test_media_list_player_pause_stop(const char** argv, int argc)
{
{
libvlc_instance_t
*
vlc
;
libvlc_instance_t
*
vlc
;
libvlc_media_t
*
md
;
libvlc_media_t
*
md
;
libvlc_media_player_t
*
mi
;
libvlc_media_list_t
*
ml
;
libvlc_media_list_t
*
ml
;
libvlc_media_list_player_t
*
mlp
;
libvlc_media_list_player_t
*
mlp
;
...
@@ -432,21 +431,18 @@ static void test_media_list_player_pause_stop(const char** argv, int argc)
...
@@ -432,21 +431,18 @@ static void test_media_list_player_pause_stop(const char** argv, int argc)
libvlc_media_list_player_set_media_list
(
mlp
,
ml
,
&
ex
);
libvlc_media_list_player_set_media_list
(
mlp
,
ml
,
&
ex
);
libvlc_media_list_player_play_item
(
mlp
,
md
,
&
ex
);
libvlc_media_list_player_play_item
(
mlp
,
md
,
&
ex
);
sleep
(
1
);
// play is asynchronous
/* FIXME: Do something clever */
sleep
(
1
);
assert
(
libvlc_media_player_get_state
(
mi
,
&
ex
)
==
libvlc_Playing
);
catch
();
catch
();
libvlc_media_player_pause
(
mi
,
&
ex
);
libvlc_media_list_player_pause
(
mlp
,
&
ex
);
assert
(
libvlc_media_player_get_state
(
mi
,
&
ex
)
==
libvlc_Paused
);
catch
();
catch
();
libvlc_media_
player_stop
(
mi
,
&
ex
);
libvlc_media_
list_player_stop
(
mlp
,
&
ex
);
catch
();
catch
();
libvlc_media_player_release
(
mi
);
libvlc_media_release
(
md
);
libvlc_media_list_player_release
(
mlp
);
catch
();
catch
();
libvlc_release
(
vlc
);
libvlc_release
(
vlc
);
...
...
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