[vlc-devel] [PATCH v5 06/24] libvlc: read the mouse coordinates according to the original video size

Steve Lhomme robux4 at ycbcr.xyz
Mon Aug 24 09:41:47 CEST 2020


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

diff --git a/lib/video.c b/lib/video.c
index e06adf143b4..ab289433b3f 100644
--- a/lib/video.c
+++ b/lib/video.c
@@ -184,7 +184,7 @@ int libvlc_video_get_cursor( libvlc_media_player_t *mp, unsigned num,
     if (p_vout == NULL)
         return -1;
 
-    var_GetCoords (p_vout, "mouse-moved", px, py);
+    var_GetCoords (p_vout, "video-mouse-moved", px, py);
     vout_Release(p_vout);
     return 0;
 }
-- 
2.26.2



More information about the vlc-devel mailing list