DescriptionV4L2VDA: Fix format initialization order.
The correct order of initialization is to set up both input and output
formats before starting streaming, as the device may have limitations on
supported output formats. Supported output formats may depend on the input
format, so we set input format first and then query available output
formats for it.
Moreover, since format cannot be changed after buffers are requested
for a queue, we need to de facto set both formats up before allocation.
BUG=430638
TEST=video playback on affected platforms
Committed: https://crrev.com/c5c56aed4d336726d6059dcb0a40101459d3703a
Cr-Commit-Position: refs/heads/master@{#310259}
Patch Set 1 #
Total comments: 6
Patch Set 2 : #
Messages
Total messages: 15 (4 generated)
|