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



_______________________________________________
Video4linux-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list

Reply via email to