diff options
| author | Boris Brezillon <[email protected]> | 2019-08-16 13:01:29 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-08-19 13:27:44 -0300 |
| commit | 6c2eb77bf5667c0755f5a9a408f02f949925256d (patch) | |
| tree | 3945c94288a7793f722e24f527a67e7b0a57e016 /tools/perf/scripts/python | |
| parent | 341772b82a3b83e7a7a2c0605c8c728e81b38319 (diff) | |
media: hantro: Move copy_metadata() before doing a decode operation
Some decoders use intra slice/frame references. The capture buffer
pointed by these references might be new and thus have invalid
timestamp which prevents the decoder logic from retrieving the
vb2_buffer object based on the output buf timestamp.
Copy all metadata (including the timestamp) before starting the decode
operation.
Suggested-by: Jonas Karlman <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Tested-by: Philipp Zabel <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions