[vlc-commits] commit: python-vlc: get_size requires a parameter (Olivier Aubert )
git at videolan.org
git at videolan.org
Thu Nov 18 18:45:30 CET 2010
vlc/python | branch: master | Olivier Aubert <olivier.aubert at liris.cnrs.fr> | Thu Nov 18 18:18:45 2010 +0100| [38183ac1c670c7c8c1aa8bea452a2696534f4f80] | committer: Olivier Aubert
python-vlc: get_size requires a parameter
> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=38183ac1c670c7c8c1aa8bea452a2696534f4f80
---
footer.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/footer.py b/footer.py
index 77c909f..b27a7ad 100644
--- a/footer.py
+++ b/footer.py
@@ -78,7 +78,7 @@ if __name__ == '__main__':
print "Position:", player.get_position()
print "FPS:", player.get_fps()
print "Rate:", player.get_rate()
- print "Video size: (%d, %d)" % player.video_get_size()
+ print "Video size: (%d, %d)" % player.video_get_size(0)
print "Scale:", player.video_get_scale()
print "Aspect ratio:", player.video_get_aspect_ratio()
except Exception:
More information about the vlc-commits
mailing list