diff options
author | Federico Simoncelli <[email protected]> | 2014-01-02 16:25:48 +0100 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2014-01-05 14:02:06 +0100 |
commit | b1ad9312331759679a9c956233716a67ae681d89 (patch) | |
tree | c30372b317afa469534b834a8237d54d441060d7 /doc/examples/muxing.c | |
parent | 05286b6a9cc34bb5f4a9331df39b7c679b5d197d (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 <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'doc/examples/muxing.c')
0 files changed, 0 insertions, 0 deletions