Re: still problems to capture odd/even fields

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

> >                               //if (lastFieldType == V4L2_BUF_FLAG_BOTFIELD) {
> >                               //      lastFieldType = vid_buf[bufNr].flags = V4L2_BUF_FLAG_TOPFIELD;
> >                               //} else {
> >                               //      lastFieldType = vid_buf[bufNr].flags = V4L2_BUF_FLAG_BOTFIELD;
> >                               //}
> 
> Why this is commented?
> 
> >                               vid_buf[bufNr].flags = 0x00;
> 
> *Ahem*.  That will kill the flags field filled in before ...
> 
>   Gerd

Sorry, this was a test version. The lines above were uncommented and
   vid_buf[bufNr].flags = 0x00;
was commented out.

It is still not working. I just get TOPFIELDs. If I use bttv-0.8.36
and a patched 2.4.17-Kernel I just get BOTFIELDs.

Also, if I set V4L2_FMT_FLAG_TOPFIELD and V4L2_FMT_FLAG_BOTFIELD in
vid_fmt.fmt.pix.fmt.flags the are unset after the next VIDIOC_G_FMT
call.


Greetings
  Bernd





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux