libvlc_media_list_player_stop (mlp, &ex);
catch ();
+ while (libvlc_media_list_player_is_playing (mlp, &ex))
+ catch() ;
+
libvlc_media_list_player_release (mlp);
catch ();
libvlc_media_list_player_stop (mlp, &ex);
catch ();
+ while (libvlc_media_list_player_is_playing (mlp, &ex))
+ catch() ;
+
libvlc_media_list_player_previous (mlp, &ex);
catch ();
libvlc_media_list_player_stop (mlp, &ex);
catch ();
+ while (libvlc_media_list_player_is_playing (mlp, &ex))
+ catch() ;
+
libvlc_media_list_player_release (mlp);
catch ();
libvlc_media_list_player_stop (mlp, &ex);
catch ();
+ while (libvlc_media_list_player_is_playing (mlp, &ex))
+ catch() ;
+
libvlc_media_list_player_next (mlp, &ex);
catch ();
libvlc_media_list_player_stop (mlp, &ex);
catch ();
+ while (libvlc_media_list_player_is_playing (mlp, &ex))
+ catch() ;
+
libvlc_media_list_player_release (mlp);
catch ();
libvlc_media_list_player_stop (mlp, &ex);
catch ();
+ while (libvlc_media_list_player_is_playing (mlp, &ex))
+ catch() ;
+
libvlc_media_release (md);
libvlc_media_list_player_release (mlp);
libvlc_media_list_player_stop (mlp, &ex);
catch ();
+ while (libvlc_media_list_player_is_playing (mlp, &ex))
+ catch() ;
+
libvlc_media_release (md);
catch ();
libvlc_media_list_player_stop (mlp, &ex);
catch ();
+ while (libvlc_media_list_player_is_playing (mlp, &ex))
+ catch() ;
+
// Test looping playback mode
log ("Testing media player playback option - Loop\n");
libvlc_media_list_player_set_playback_mode(mlp, libvlc_playback_mode_loop, &ex);
libvlc_media_list_player_stop (mlp, &ex);
catch ();
+ while (libvlc_media_list_player_is_playing (mlp, &ex))
+ catch() ;
+
// Test repeat playback mode
log ("Testing media player playback option - Repeat\n");
libvlc_media_list_player_set_playback_mode(mlp, libvlc_playback_mode_repeat, &ex);
libvlc_media_list_player_stop (mlp, &ex);
catch ();
+ while (libvlc_media_list_player_is_playing (mlp, &ex))
+ catch() ;
+
libvlc_media_list_player_release (mlp);
catch ();