[Ffmpeg-devel] [PATCH] grabbing with V4L

Luca Abeni lucabe72
Tue Feb 21 12:28:17 CET 2006

Hi Flavio,

On Mon, 2006-02-20 at 13:26 -0300, Flavio Pimentel Duarte wrote:
> > Does the attached patch (your patch + some useless code removal) work
> > for you?
>  	The patch you sent me did not work.
Ops... Sorry about the mistake.

>  	I had to add just one line to make it work. The modified patch is 
> attached.
Of course that line is needed... I am wondering why it was working for
me without that line.

Anyway, I think this patch is ok: it simplifies grab.c (removing some
duplicate code), does not cause any regression here, and works for you
too (where the original grab.c does not work).

So, in my opinion it should be applied. Is anyone against it?

>  	I also have one question: how do I force ffmpeg to use v4l instead 
> v4l2 ? Is there an option for it ? In my tests I had to compile ffmpeg 
> using '--disable-v4l2' option, otherwise it uses v4l2.
Sorry, you currently have to disable v4l2 at configure time.
I'll send a patch for ffmpeg.c as soon as I'll find some time (maybe

Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !

 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 Hai dei virus sul tuo PC ma non sai come eliminarli? Allora impara subito come rimuovere ogni tipo di virus - clicca qui
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3211&d=21-2

More information about the ffmpeg-devel mailing list