Commit 0584253f authored by Felix Paul Kühne's avatar Felix Paul Kühne

libvlc: raise a title changed event if the title changes

parent 71b243f4
......@@ -366,6 +366,12 @@ input_event_changed( vlc_object_t * p_this, char const * psz_cmd,
event.u.media_player_vout.new_count = i_vout;
libvlc_event_send( p_mi->p_event_manager, &event );
}
else if ( newval.i_int == INPUT_EVENT_TITLE )
{
event.type = libvlc_MediaPlayerTitleChanged;
event.u.media_player_title_changed.new_title = var_GetInteger( p_input, "title" );
libvlc_event_send( p_mi->p_event_manager, &event );
}
return VLC_SUCCESS;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment