Message230453
| 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:25 | Geoff.Clements | set | recipients:
+ Geoff.Clements |
| 2014年11月01日 17:16:25 | Geoff.Clements | set | messageid: <1414862185.49.0.654024451078.issue22781@psf.upfronthosting.co.za> |
| 2014年11月01日 17:16:25 | Geoff.Clements | link | issue22781 messages |
| 2014年11月01日 17:16:25 | Geoff.Clements | create |
|