Commit 7a1aa171 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Use int32 for title event

parent 4dee55d3
......@@ -79,7 +79,7 @@ static void handle_changed_event(const libvlc_event_t* event, void *param)
BOOLEAN_TO_NPVARIANT(event->u.media_player_pausable_changed.new_pausable, npparam[0]);
break;
case libvlc_MediaPlayerTitleChanged:
DOUBLE_TO_NPVARIANT(event->u.media_player_title_changed.new_title, npparam[0]);
INT32_TO_NPVARIANT(event->u.media_player_title_changed.new_title, npparam[0]);
break;
case libvlc_MediaPlayerLengthChanged:
DOUBLE_TO_NPVARIANT(event->u.media_player_length_changed.new_length, npparam[0]);
......
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