[vlc-commits] Fix typo in tracks_get override.
Olivier Aubert
git at videolan.org
Fri Oct 7 12:11:33 CEST 2016
vlc/python | branch: master | Olivier Aubert <contact at olivieraubert.net> | Fri Oct 7 11:48:15 2016 +0200| [2e5ce260c4399e5c2879554a6095b7e4ed378e4a] | committer: Olivier Aubert
Fix typo in tracks_get override.
Fixes #16
> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=2e5ce260c4399e5c2879554a6095b7e4ed378e4a
---
generator/override.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/generator/override.py b/generator/override.py
index 309d7f9..1ca540d 100644
--- a/generator/override.py
+++ b/generator/override.py
@@ -173,7 +173,7 @@ class Media:
"""
mediaTrack_pp = ctypes.POINTER(MediaTrack)()
n = libvlc_media_tracks_get(self, ctypes.byref(mediaTrack_pp))
- info = ctypes.cast(ctypes.mediaTrack_pp, ctypes.POINTER(ctypes.POINTER(MediaTrack) * n))
+ info = ctypes.cast(mediaTrack_pp, ctypes.POINTER(ctypes.POINTER(MediaTrack) * n))
return info
class MediaList:
More information about the vlc-commits
mailing list