[vlc-commits] commit: Fix libvlc_video_get_height and libvlc_video_get_width ( Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Tue Jun 22 17:51:30 CEST 2010
vlc/vlc-1.1 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Jun 22 17:50:38 2010 +0200| [9274d25e478e2ffdfb64f98911ebc5d494a1dbbf] | committer: Jean-Baptiste Kempf
Fix libvlc_video_get_height and libvlc_video_get_width
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=9274d25e478e2ffdfb64f98911ebc5d494a1dbbf
---
src/control/video.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/control/video.c b/src/control/video.c
index 171a3b5..862edcf 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;
}
More information about the vlc-commits
mailing list