This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Geoff.Clements
Recipients Geoff.Clements
Date 2014-11-01.17:16:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1414862185.49.0.654024451078.issue22781@psf.upfronthosting.co.za>
In-reply-to
Content
I have used ctypes to create a binding to libdvdread but I am getting some bad values back from libdvdread when using python. I have used ctypeslib to generate the python bindings, i.e. h2xml and xml2py and, as far as I can tell, the bind is a faithful representation of the h files.

In order to demonstrate this I have created a small C program and a small Python3 program both doing the same thing. When run they should produce the same output but they do not. In order to run these you need a DVD inserted in a DVD drive, I've hard-coded the device path to the DVD drive as /dev/sr0 in both programs so this may need to be changed.
History
Date User Action Args
2014-11-01 17:16:25Geoff.Clementssetrecipients: + Geoff.Clements
2014-11-01 17:16:25Geoff.Clementssetmessageid: <1414862185.49.0.654024451078.issue22781@psf.upfronthosting.co.za>
2014-11-01 17:16:25Geoff.Clementslinkissue22781 messages
2014-11-01 17:16:25Geoff.Clementscreate