Hans Verkuil wrote:
> On Friday 19 October 2007 21:52:15 Duncan Webb wrote:
>> Hans Verkuil wrote:
>>> On Friday 19 October 2007 19:30:59 Duncan Webb wrote:
>>>> Hans Verkuil wrote:

> The old IVTV_IOC_S_GOP_END has been removed. Instead use the new 
> VIDIOC_ENCODER_CMD and VIDIOC_TRY_ENCODER_CMD ioctls if you want this 
> feature. See the v4l2 spec for more details.

Still having a little bit of a problem with VIDIOC_ENCODER_CMD, does
this need to be called just before the stream off command, replace it
(as I think is correct) or as with IVTV_IOC_S_GOP_END before reading begins?


The VIDIOC_STREAMOFF command is also giving me some errors. When I call
VIDIOC_STREAMOFF with V4L2_BUF_TYPE_VIDEO_CAPTURE it returns  EINVAL, ie:

enum v4l2_buf_type buf_type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
if (fd, VIDIOC_STREAMOFF, &buf_type) < 0) {
  fwprintf(stderr, L"VIDIOC_STREAMOFF failed: %s\n", strerror(errno));
}
resulting in:
VIDIOC_STREAMOFF failed: Invalid argument

I'm not sure what I'm doing incorrectly, as it used to work even okay.


Thanks
Duncan


_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to