/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <stdlib.h>
#include <vlc/vlc.h>
#include <vlc_input.h>
if( dvdnav_title_play( p_sys->dvdnav, 1 ) != DVDNAV_STATUS_OK )
{
msg_Err( p_demux, "cannot set title (can't decrypt DVD?)" );
- intf_UserFatal( p_demux, VLC_FALSE, _("Playback failure"),
+ intf_UserFatal( p_demux, VLC_FALSE, _("Playback failure"),
_("VLC cannot set the DVD's title. It possibly "
"cannot decrypt the entire disk.") );
dvdnav_close( p_sys->dvdnav );
if( (NULL != title_name) && ('\0' != title_name[0]) )
{
vlc_meta_t *p_meta = (vlc_meta_t*)va_arg( args, vlc_meta_t* );
- vlc_meta_SetTitle( p_meta, title_name );
+ vlc_meta_Set( p_meta, vlc_meta_Title, title_name );
return VLC_SUCCESS;
}
return VLC_EGENERIC;
* - ...
*/
DemuxBlock( p_demux, packet, i_len );
- if( p_sys->b_spu_change )
+ if( p_sys->b_spu_change )
{
ButtonUpdate( p_demux, VLC_FALSE );
p_sys->b_spu_change = VLC_FALSE;