[vlc-commits] commit: Fix inversion in libvlc_video_get_size() ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Wed Apr 21 18:14:39 CEST 2010
vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 21 19:13:44 2010 +0300| [c6b2a5776b45b829c43bdaf1a6393d15f8df784e] | committer: Rémi Denis-Courmont
Fix inversion in libvlc_video_get_size()
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=c6b2a5776b45b829c43bdaf1a6393d15f8df784e
---
src/control/video.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/control/video.c b/src/control/video.c
index aac2c65..171a3b5 100644
--- a/src/control/video.c
+++ b/src/control/video.c
@@ -162,8 +162,9 @@ int libvlc_video_get_size( libvlc_media_player_t *p_mi, unsigned num,
if (p_vout == NULL)
return -1;
- *px = p_vout->i_window_height;
- *py = p_vout->i_window_width;
+#warning Not thread-safe!
+ *px = p_vout->i_window_width;
+ *py = p_vout->i_window_height;
vlc_object_release (p_vout);
return 0;
}
More information about the vlc-commits
mailing list