From 9274d25e478e2ffdfb64f98911ebc5d494a1dbbf Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Tue, 22 Jun 2010 17:50:38 +0200 Subject: [PATCH] Fix libvlc_video_get_height and libvlc_video_get_width --- src/control/video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/control/video.c b/src/control/video.c index 171a3b5693..862edcfba9 100644 --- a/src/control/video.c +++ b/src/control/video.c @@ -173,7 +173,7 @@ int libvlc_video_get_height( libvlc_media_player_t *p_mi ) { unsigned height, width; - if (libvlc_video_get_size (p_mi, 0, &height, &width)) + if (libvlc_video_get_size (p_mi, 0, &width, &height)) return 0; return height; } @@ -182,7 +182,7 @@ int libvlc_video_get_width( libvlc_media_player_t *p_mi ) { unsigned height, width; - if (libvlc_video_get_size (p_mi, 0, &height, &width)) + if (libvlc_video_get_size (p_mi, 0, &width, &height)) return 0; return width; } -- 2.11.4.GIT