[vlc-commits] lib/media_player: Fix incorrect error message

Marvin Scholz git at videolan.org
Fri Oct 12 19:40:16 CEST 2018


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Fri Oct 12 19:38:45 2018 +0200| [84afce63c597a2826adec698a1de0bfbb4e5f764] | committer: Marvin Scholz

lib/media_player: Fix incorrect error message

The function libvlc_media_player_set_hwnd sets a hwnd, not an NSObject.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=84afce63c597a2826adec698a1de0bfbb4e5f764
---

 lib/media_player.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/media_player.c b/lib/media_player.c
index 9bf9ef983e..4f4cb70291 100644
--- a/lib/media_player.c
+++ b/lib/media_player.c
@@ -1269,7 +1269,7 @@ void libvlc_media_player_set_hwnd( libvlc_media_player_t *p_mi,
     var_SetInteger (p_mi, "drawable-hwnd", (uintptr_t)drawable);
 #else
     (void) drawable;
-    libvlc_printerr ("can't set nsobject: WIN32 build required");
+    libvlc_printerr ("can't set hwnd: WIN32 build required");
     assert(false);
     var_SetString (p_mi, "vout", "none");
     var_SetString (p_mi, "window", "none");



More information about the vlc-commits mailing list