Commit 77cb7dbb authored by Filippo Carone's avatar Filippo Carone

return width on getWidth, not height

parent 5ba06d3f
......@@ -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)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment