Skip to content

Commit

Permalink
Change number of args for MediaInfoA_Open, fixes #25
Browse files Browse the repository at this point in the history
  • Loading branch information
sbraz committed Apr 16, 2016
1 parent be5082d commit 744b671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymediainfo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def parse(filename):
lib.MediaInfoA_Option(handle, b"CharSet", b"UTF-8")
lib.MediaInfoA_Option(None, b"Inform", b"XML")
lib.MediaInfoA_Option(None, b"Complete", b"1")
lib.MediaInfoA_Open(handle, filename.encode("utf8"), 0)
lib.MediaInfoA_Open(handle, filename.encode("utf8"))
lib.MediaInfo_Inform.restype = c_wchar_p
xml = lib.MediaInfo_Inform(handle, 0)
# Delete the handle
Expand Down

0 comments on commit 744b671

Please sign in to comment.