]> git.sesse.net Git - vlc/commitdiff
return width on getWidth, not height
authorFilippo Carone <littlejohn@videolan.org>
Sun, 14 Dec 2008 16:09:59 +0000 (17:09 +0100)
committerFilippo Carone <littlejohn@videolan.org>
Sun, 14 Dec 2008 17:43:16 +0000 (18:43 +0100)
bindings/java/core/src/main/java/org/videolan/jvlc/Video.java

index 89a1d06976fe5d368f4a62df097db29da3f9fe73..8e9162f935c0b320284dfdba96806718ea085d44 100644 (file)
@@ -85,7 +85,7 @@ public class Video
         */
        public int getWidth(MediaPlayer media)  {
         libvlc_exception_t exception = new libvlc_exception_t();
-        return libvlc.libvlc_video_get_height(media.getInstance(), exception);
+        return libvlc.libvlc_video_get_width(media.getInstance(), exception);
        }
 
        /* (non-Javadoc)