Commit cb6d304e authored by Olivier Aubert's avatar Olivier Aubert

python-ctypes: fix mediacontrol_new_from_instance invocation

parent ff72174d
......@@ -72,7 +72,7 @@ class MediaControl:
if p and isinstance(p[0], Instance):
e=MediaControlException()
return mediacontrol_new_from_instance(p[0])
return mediacontrol_new_from_instance(p[0], e)
else:
e=MediaControlException()
return mediacontrol_new(len(p), p, e)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment