[vlc-devel] commit: test: Fix media_list_player test. ( Make sure we stop before releasing). (Pierre d'Herbemont )

git version control git at videolan.org
Thu Jan 7 14:12:07 CET 2010


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Jan  7 14:11:13 2010 +0100| [c71466a120671aebecc4b10105573777dccec888] | committer: Pierre d'Herbemont 

test: Fix media_list_player test. (Make sure we stop before releasing).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c71466a120671aebecc4b10105573777dccec888
---

 test/libvlc/media_list_player.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/test/libvlc/media_list_player.c b/test/libvlc/media_list_player.c
index dbc3306..cfb3656 100644
--- a/test/libvlc/media_list_player.c
+++ b/test/libvlc/media_list_player.c
@@ -221,6 +221,9 @@ static void test_media_list_player_previous(const char** argv, int argc)
     libvlc_media_list_player_previous (mlp, &ex);
     catch ();
 
+    libvlc_media_list_player_stop (mlp, &ex);
+    catch ();
+
     libvlc_media_list_player_release (mlp);
     catch ();
 




More information about the vlc-devel mailing list