[vlc-commits] Don't return Boolean from MediaPlayerTitleChanged
Jean-Baptiste Kempf
git at videolan.org
Mon Dec 29 22:04:13 CET 2014
npapi-vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Dec 29 22:02:27 2014 +0100| [4dee55d3dbf4dac1dfdc76f630fe6b2ee3995af2] | committer: Jean-Baptiste Kempf
Don't return Boolean from MediaPlayerTitleChanged
Close #13382
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=4dee55d3dbf4dac1dfdc76f630fe6b2ee3995af2
---
npapi/events.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/npapi/events.cpp b/npapi/events.cpp
index ae4c892..8ce22dc 100644
--- a/npapi/events.cpp
+++ b/npapi/events.cpp
@@ -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:
- BOOLEAN_TO_NPVARIANT(event->u.media_player_title_changed.new_title, npparam[0]);
+ DOUBLE_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]);
More information about the vlc-commits
mailing list