Duncan Haldane wrote:
Here's my problem: The 2.4.19 changes break hot-unplugging code that uses the old interface.I think
But they are also present in the 2.4.18
kernels used by RedHat 7.x
Is there any way the preprocessor could detect
the changed interface? (or RedHat patching)
(I didnt see any #define V4L_VERSION xxxx
in videodev.h)
#if defined(video_devdata)
should work. It was introduced in the patch that redesigned the interface.
Careful though... the new interface was broken (and incompatible with the current interface) in kernels that had a video_generic_ioctl() function. IIRC only a few 2.4.19-pre kernels were affected but I can't say that for certain.
--
Mark McClelland
[EMAIL PROTECTED]
--
video4linux-list mailing list
Unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/video4linux-list
