From: Pierre d'Herbemont Date: Thu, 21 May 2009 06:12:17 +0000 (-0700) Subject: test: Don't do the pause() test, this can't work. X-Git-Tag: 1.1.0-ff~5854 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=1c53f2aa61c9a32b1feec031cda2534ecc592c19;p=vlc test: Don't do the pause() test, this can't work. Basically pause() might play(). This may need some revamping. --- 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 ();