Commit 1c53f2aa authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

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

Basically pause() might play(). This may need some revamping.
parent 3ff6ba0b
...@@ -105,6 +105,9 @@ static void test_media_player_pause_stop(const char** argv, int argc) ...@@ -105,6 +105,9 @@ static void test_media_player_pause_stop(const char** argv, int argc)
assert( state == libvlc_Playing || state == libvlc_Ended ); 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); libvlc_media_player_pause (mi, &ex);
catch(); catch();
...@@ -120,7 +123,8 @@ static void test_media_player_pause_stop(const char** argv, int argc) ...@@ -120,7 +123,8 @@ static void test_media_player_pause_stop(const char** argv, int argc)
assert( state == libvlc_Paused || state == libvlc_Ended ); assert( state == libvlc_Paused || state == libvlc_Ended );
catch(); catch();
#endif
libvlc_media_player_stop (mi, &ex); libvlc_media_player_stop (mi, &ex);
catch (); catch ();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment