Hi,
I would like to know what is the correct way to switch the current
video input during capture on a card with a single BT878 chip and 4
inputs 
(http://store.bluecherry.net/products/PV%252d143-%252d-4-port-video-capture-card-%2830FPS%29-%252d-OEM.html).
I tried doing it in two ways:
- using VIDIOC_S_INPUT to change the current input. While this works,
the next captured frame shows video from the old input in its top half
and video from the new input in the bottom half.
- I tried setting the input field to the new input and flags to
V4L2_BUF_FLAG_INPUT in the struct v4l2_buffer passed to VIDIOC_QBUF
when enqueuing buffers. However, when doing so, the ioctl fails
altogether, and I cannot enqueue any buffers with the
V4L2_BUF_FLAG_INPUT flag set.
Is there another way of doing it ? or is there a way to synchronise
the input change (when using VIDIOC_S_INPUT) so it happens in between
2 frames and produces a clean switch ?
Thanks
Gilles
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to