avformat/lavfi: force probesize to cover at least 30 frames
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 28 Feb 2013 19:24:05 +0000 (20:24 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 28 Feb 2013 19:28:59 +0000 (20:28 +0100)
commitb56e029bdc9a68ed9decc7d3ad77e15aa5f4071d
tree021329b468e566bd874cc66c8d613a26aa3259da
parent33240dfa9acad976ed60dbddaf08e441d029b53b
avformat/lavfi: force probesize to cover at least 30 frames

This ensures that fps and other values are estimated correctly,
the probesize also is intended to limit disk/protocol reads which
does not apply to lavfi inputs at all.

Fixes Ticket1051

Something similar could be usefull to other input devices

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavdevice/lavfi.c