Nemosoft Unv. wrote:
>  Hi,
>  
> > Maybe it wasn't your point, but it was mine.  With the timestamps the
> > application can easily decide which frames should be dropped to keep
> > audio and video in sync.
>  
>  Oh, in that respect you are right. But that is assuming you grab every
>  frame that comes along;

Yes.

>  but I was talking about what happens if the buffers
>  still get full;

Then your box is to slow for video capture.  Specifying the frame rate
you want capture might help in this case[1].  For bttv this would'nt
make a big difference, but with USB hardware which might have to
post-process video data (uncompress due to the limited bus bandwidth)
this should help a bit as you avoid processing data which will be
dropped by the application anyway ...

>  drop the last or the oldest frame? 

Whichever is less work for the driver, i.e. probably drop the last one.

  Gerd

[1] Hmm, no v4l2 ioctl for this yet.  Add one?

-- 
Gerd Knorr <[EMAIL PROTECTED]>  --  SuSE Labs, Au�enstelle Berlin



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

Reply via email to