[vlc-devel] commit: return width on getWidth, not height (Filippo Carone )

git version control git at videolan.org
Sun Dec 14 18:43:34 CET 2008


vlc | branch: master | Filippo Carone <littlejohn at videolan.org> | Sun Dec 14 17:09:59 2008 +0100| [77cb7dbb76a42add5b84cb769181232cdacf0127] | committer: Filippo Carone 

return width on getWidth, not height

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=77cb7dbb76a42add5b84cb769181232cdacf0127
---

 .../src/main/java/org/videolan/jvlc/Video.java     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bindings/java/core/src/main/java/org/videolan/jvlc/Video.java b/bindings/java/core/src/main/java/org/videolan/jvlc/Video.java
index 89a1d06..8e9162f 100644
--- a/bindings/java/core/src/main/java/org/videolan/jvlc/Video.java
+++ b/bindings/java/core/src/main/java/org/videolan/jvlc/Video.java
@@ -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)




More information about the vlc-devel mailing list