[FFmpeg-devel] [PATCH 6/6] Implement v4l2 input size autodetection.

Luca Abeni lucabe72
Mon Apr 26 00:09:55 CEST 2010


On Sun, 2010-04-25 at 23:07 +0200, Stefano Sabatini wrote:
[...]
> > > +    if (!ap->width && !ap->height) {
> > 
> > This should be "||"
> 
> Not sure about what we should consider as "unspecified", I assume this
> only corresponds to the case 0x0, it seems to me that if at least one
> value is set to != 0 then the size should not be considered
> unspecified

Not sure what's the point is specifying "320x0" as a size...

Anyway, if you prefer "&&" for some reason, then feel free to commit.


			Luca




More information about the ffmpeg-devel mailing list