if (!p_input_item)
{
- libvlc_exception_raise( p_e, "No input item given" );
+ libvlc_exception_raise( p_e );
+ libvlc_printerr( "No input item given" );
return NULL;
}
p_md = malloc( sizeof(libvlc_media_t) );
if( !p_md )
{
- libvlc_exception_raise( p_e, "Not enough memory" );
+ libvlc_exception_raise( p_e );
+ libvlc_printerr( "Not enough memory" );
return NULL;
}
if (!p_input_item)
{
- libvlc_exception_raise( p_e, "Can't create md's input_item" );
+ libvlc_exception_raise( p_e );
+ libvlc_printerr( "Not enough memory" );
return NULL;
}
if (!p_input_item)
{
- libvlc_exception_raise( p_e, "Can't create md's input_item" );
+ libvlc_exception_raise( p_e );
+ libvlc_printerr( "Not enough memory" );
return NULL;
}
if( !p_md || !p_md->p_input_item)
{
- libvlc_exception_raise( p_e, "No input item" );
+ libvlc_exception_raise( p_e );
+ libvlc_printerr( "No input item" );
return -1;
}
if( !p_md || !p_md->p_input_item)
{
- libvlc_exception_raise( p_e, "No input item" );
+ libvlc_exception_raise( p_e );
+ libvlc_printerr( "No input item" );
return false;
}