1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-04 09:11:33 +02:00

test: Don't do the pause() test, this can't work.

Basically pause() might play(). This may need some revamping.
This commit is contained in:
Pierre d'Herbemont 2009-05-20 23:12:17 -07:00
parent 3ff6ba0b53
commit 1c53f2aa61

View File

@ -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 ();