log ("Testing play and pause of %s\n", file);
- libvlc_exception_init (&ex);
vlc = libvlc_new (argc, argv);
assert (vlc != NULL);
log ("Testing pause and stop of %s\n", file);
- libvlc_exception_init (&ex);
vlc = libvlc_new (argc, argv);
assert (vlc != NULL);
libvlc_state_t state;
do {
state = libvlc_media_player_get_state (mi);
- catch ();
} while( state != libvlc_Playing &&
state != libvlc_Error &&
state != libvlc_Ended );