Commit [dae016]  Maximize  Restore  History

* ./src/css.c: when the ReadTitleKey ioctl failed, reopen the device before

falling back to the title method.

Note: on my drive, this fixes the "ioctl_ReadTitleKey failed" error
many users have been reporting. Please test!

Note 2: I could not find any other way to reset the drive after a failed
ReadTitleKey ioctl than closing and opening the device again. If
I don't do that, read() fails with an Input/output error after a
while (but not immediately).

* ALL: libdvdcss builds with -ansi -pedantic. Yeah I like that :-)
* ./src/css.c: renamed a few functions so that they make more sense, added
debug messages here and there, fixed typos and speling.
* ./src/error.c: moved _dvdcss_error and _dvdcss_debug here.
* ./src/device.c: moved device reading functions from libdvdcss.c to here.
* ./src/device.c: errors from dvdcss_read are now properly handled; partial
reads still aren't though.
* ./src/libdvdcss.c: default verbosity is now 0, a library should not be
intrusive by default.
* ./test/csstest.c: additional error check.
* ./configure.in: removed the crap boolean_t detection.

git-svn-id: svn://svn.videolan.org/libdvdcss/trunk@55 30c17a76-0bd4-0310-897a-eec9a65a02be

sam sam 2002-08-09

changed Makefile.in
changed aclocal.m4
changed configure
changed configure.in
changed debian/Makefile.in
changed src/Makefile.am
changed src/Makefile.in
changed src/bsdi_ioctl.c
changed src/common.h
changed src/config.h.in
changed src/css.c
changed src/css.h
changed src/dvdcss/Makefile.in
added src/error.c
changed src/libdvdcss.c
copied (with changes) src/libdvdcss.c -> src/device.c
changed src/libdvdcss.h
copied (with changes) src/libdvdcss.h -> src/device.h
changed test/Makefile.in
changed test/csstest.c
Makefile.in Diff Switch to side-by-side view
Loading...
aclocal.m4 Diff Switch to side-by-side view
Loading...
configure Diff Switch to side-by-side view
Loading...
configure.in Diff Switch to side-by-side view
Loading...
debian/Makefile.in Diff Switch to side-by-side view
Loading...
src/Makefile.am Diff Switch to side-by-side view
Loading...
src/Makefile.in Diff Switch to side-by-side view
Loading...
src/bsdi_ioctl.c Diff Switch to side-by-side view
Loading...
src/common.h Diff Switch to side-by-side view
Loading...
src/config.h.in Diff Switch to side-by-side view
Loading...
src/css.c Diff Switch to side-by-side view
Loading...
src/css.h Diff Switch to side-by-side view
Loading...
src/dvdcss/Makefile.in Diff Switch to side-by-side view
Loading...
src/error.c Diff Switch to side-by-side view
Loading...
src/libdvdcss.c Diff Switch to side-by-side view
Loading...
src/libdvdcss.c to src/device.c Diff Switch to side-by-side view
Loading...
src/libdvdcss.h Diff Switch to side-by-side view
Loading...
src/libdvdcss.h to src/device.h Diff Switch to side-by-side view
Loading...
test/Makefile.in Diff Switch to side-by-side view
Loading...
test/csstest.c Diff Switch to side-by-side view
Loading...

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks