Steven Ellis ([EMAIL PROTECTED]):
> OK Got TVTime kinda working on my saa7134 Fly Video 3000 card. One
> issue is the CVS was missing the newzealand tuner settings. There is a
> CVS patch in the bug repository for adding them back in.
Based on two user reports, there is an annoying issue with the saa7134
driver. Until the VIDIOCSFBUF/S_FBUF is setup with a valid framebuffer,
capture does not work. Since tvtime does not support overlay mode, we
don't set up the framebuffer.
To get around this, I tried to fake the call and just do this before
capturing:
if( !fbuf.width ) {
/* Just set some fake settings. */
fbuf.width = 1024;
fbuf.height = 768;
fbuf.depth = 16;
fbuf.bytesperline = 0;
fbuf.base = 0;
}
if( ioctl( vidin->grab_fd, VIDIOCSFBUF, &fbuf ) < 0 ) {
This apparently does not work, and furthermore, the call fails when
you're not root:
> videoinput: Can't set framebuffer settings, which I don't need anyway:
> Operation not permitted
Another comment, I tried to do a survey about the
VIDEO_WINDOW_INTERLACE flag in the video_window struct I get from
VIDIOCGWIN, but the v4l1-compat.c in the latest v4l2 does not set the
flags value of the struct at all. My experiment failed and I'm going to
remove my printf, but maybe the flags should be set to something
anyway..
Thanks,
-Billy
--
Billy Biggs
[EMAIL PROTECTED]
--
video4linux-list mailing list
Unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list