mirror of https://github.com/FFmpeg/FFmpeg.git
Setting the v4l2 device parameters may influence video properties such as width, height and pixel format. This patch moves v4l2_set_parameters to be executed before fetching the video properties, avoiding errors such as (pal vs ntsc): The v4l2 frame is 829440 bytes, but 691200 bytes are expected Signed-off-by: Federico Simoncelli <fsimonce@redhat.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>pull/53/head
parent
05286b6a9c
commit
b1ad931233
1 changed files with 3 additions and 3 deletions
Loading…
Reference in new issue