On 2012-01-04 09:29:45 +0100, Luca Barbato wrote:
> On 31/12/11 18:50, Janne Grunau wrote:
> >On 2011-12-29 17:29:17 +0100, Luca Barbato wrote:
> >>
> >>+    if (fmt.fmt.pix.field == V4L2_FIELD_INTERLACED) {
> >>+        av_log(ctx, AV_LOG_DEBUG, "The V4L2 driver using the interlaced 
> >>mode");
> >>+        s->interlaced = 1;
> >>+    }
> >
> >I still think it would be a good idea to check if one of the strange
> >interlaced modes V4L2 supports is returned. I don't trust all drivers
> >to use something sane with V4L2_FIELD_ANY.
> 
> What should we do in that case?

abort^W print something. that will make debugging this much easier
if it happens.

I'm ok with pushing it now and I'll prepare a patch for it

Janne
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to