summaryrefslogtreecommitdiff
path: root/libavformat/nutdec.c
diff options
context:
space:
mode:
authorFederico Simoncelli <federico.simoncelli@gmail.com>2014-01-02 16:25:48 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-01-05 14:02:06 +0100
commitb1ad9312331759679a9c956233716a67ae681d89 (patch)
treec30372b317afa469534b834a8237d54d441060d7 /libavformat/nutdec.c
parent05286b6a9cc34bb5f4a9331df39b7c679b5d197d (diff)
v4l2: setting device parameters early
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>
Diffstat (limited to 'libavformat/nutdec.c')
0 files changed, 0 insertions, 0 deletions