Is it possible the following patch in driver/v4l.c file? It handles the case were yuv is supported by a driver implementing offscreen image but doing it without overlay (the overlay flag is not set). In that case, the stop method of the offscreen image must be called because some device on the video card is converting and scaling yuv to rgb and blitting directly to the frame buffer continuously. *************** *** 495,501 **** if (-1 == ioctl(V4L_FD, VIDIOCCAPTURE, &zero)) perror("ioctl VIDIOCCAPTURE(0)"); pPPriv->VideoOn = VIDEO_RECLIP; ! } } else { /* video stop - turn off and free everything */ if (VIDEO_YUV == pPPriv->VideoOn) { --- 495,504 ---- if (-1 == ioctl(V4L_FD, VIDIOCCAPTURE, &zero)) perror("ioctl VIDIOCCAPTURE(0)"); pPPriv->VideoOn = VIDEO_RECLIP; ! } else if (VIDEO_YUV == pPPriv->VideoOn && ! (pPPriv->myfmt->flags & VIDEO_OVERLAID_IMAGES) == 0) { ! pPPriv->myfmt->stop(pPPriv->surface); ! } } else { /* video stop - turn off and free everything */ if (VIDEO_YUV == pPPriv->VideoOn) {
Egbert: Any idea who can review the patch ?
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
That patch doesn't seem to be related to current code, so I'm going to assume this was fixed at some point in the past 5 years. If not, you should email Mauro Carvalho Chehab <mchehab@redhat.com>
http://cgit.freedesktop.org/xorg/driver/xf86-video-v4l/commit/?id=f7e6dcee73fe7bd95a1f9ae34018dbf4f2412f00
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.