[vlc-commits] Add some fields to Event union

Olivier Aubert git at videolan.org
Sat Sep 5 23:09:57 CEST 2015


vlc/python | branch: master | Olivier Aubert <contact at olivieraubert.net> | Sat Sep  5 23:04:08 2015 +0200| [036d918cf42b56b90aa6bcf9e7aa890568dcfc0b] | committer: Olivier Aubert

Add some fields to Event union

> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=036d918cf42b56b90aa6bcf9e7aa890568dcfc0b
---

 header.py |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/header.py b/header.py
index 377526c..f608046 100755
--- a/header.py
+++ b/header.py
@@ -540,12 +540,15 @@ class EventUnion(ctypes.Union):
         ('new_status',   ctypes.c_int     ),
         ('media',        ctypes.c_void_p  ),
         ('new_state',    ctypes.c_uint    ),
-        # Media instance
+        # FIXME: Media instance
+        ('new_cache', ctypes.c_float   ),
         ('new_position', ctypes.c_float   ),
         ('new_time',     ctypes.c_longlong),
         ('new_title',    ctypes.c_int     ),
         ('new_seekable', ctypes.c_longlong),
         ('new_pausable', ctypes.c_longlong),
+        ('new_scrambled', ctypes.c_longlong),
+        ('new_count', ctypes.c_longlong),
         # FIXME: Skipped MediaList and MediaListView...
         ('filename',     ctypes.c_char_p  ),
         ('new_length',   ctypes.c_longlong),



More information about the vlc-commits mailing list