From 1c53f2aa61c9a32b1feec031cda2534ecc592c19 Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Wed, 20 May 2009 23:12:17 -0700 Subject: [PATCH] test: Don't do the pause() test, this can't work. Basically pause() might play(). This may need some revamping. --- test/libvlc/media_player.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/libvlc/media_player.c b/test/libvlc/media_player.c index 2774fda14e..a14a038825 100644 --- a/test/libvlc/media_player.c +++ b/test/libvlc/media_player.c @@ -105,6 +105,9 @@ static void test_media_player_pause_stop(const char** argv, int argc) assert( state == libvlc_Playing || state == libvlc_Ended ); +#if 0 + /* This can't work because under some condition (short file, this is the case) this will be + * equivalent to a play() */ libvlc_media_player_pause (mi, &ex); catch(); @@ -120,7 +123,8 @@ static void test_media_player_pause_stop(const char** argv, int argc) assert( state == libvlc_Paused || state == libvlc_Ended ); catch(); - +#endif + libvlc_media_player_stop (mi, &ex); catch (); -- 2.39.5