return 1; // BOOM!
argv[argc] = NULL;
- libvlc_exception_t ex, dummy;
+ libvlc_exception_t ex;
libvlc_exception_init (&ex);
- libvlc_exception_init (&dummy);
/* Initialize libvlc */
libvlc_instance_t *vlc = libvlc_new (argc, argv, &ex);
#endif
if (libvlc_add_intf (vlc, NULL) == 0)
{
- libvlc_playlist_play (vlc, -1, 0, NULL, &dummy);
+ libvlc_playlist_play (vlc, -1, 0, NULL);
libvlc_wait (vlc);
}
libvlc_release (vlc);
argc = parse_cmdline (psz_cmdline, &argv);
#endif
- libvlc_exception_t ex, dummy;
+ libvlc_exception_t ex;
libvlc_exception_init (&ex);
- libvlc_exception_init (&dummy);
/* Initialize libvlc */
libvlc_instance_t *vlc;
{
libvlc_add_intf (vlc, "globalhotkeys,none");
libvlc_add_intf (vlc, NULL);
- libvlc_playlist_play (vlc, -1, 0, NULL, &dummy);
+ libvlc_playlist_play (vlc, -1, 0, NULL);
libvlc_wait (vlc);
libvlc_release (vlc);
}
ret = libvlc_exception_raised (&ex);
libvlc_exception_clear (&ex);
- libvlc_exception_clear (&dummy);
for (int i = 0; i < argc; i++)
free (argv[i]);
* played
* \param i_options the number of options to add to the item
* \param ppsz_options the options to add to the item
- * \param p_e an initialized exception pointer
*/
VLC_DEPRECATED_API void libvlc_playlist_play( libvlc_instance_t*, int, int,
- char **, libvlc_exception_t * );
+ char ** );
/** @}*/
#include <assert.h>
void libvlc_playlist_play( libvlc_instance_t *p_instance, int i_id,
- int i_options, char **ppsz_options,
- libvlc_exception_t *p_e )
+ int i_options, char **ppsz_options )
{
playlist_t *pl = libvlc_priv (p_instance->p_libvlc_int)->p_playlist;
VLC_UNUSED(i_id); VLC_UNUSED(i_options); VLC_UNUSED(ppsz_options);
- VLC_UNUSED(p_e);
assert( pl );
if( pl->items.i_size == 0 )