commit | 8eead25cbdf911e17cff321903bd3397bc6ea22c | [log] [tgz] |
---|---|---|
author | Dafna Hirschfeld <dafna3@gmail.com> | Wed Mar 06 16:13:28 2019 -0500 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Mon Mar 25 13:41:38 2019 -0400 |
tree | d0057eacb5bd532031fb4df8ff851acb1b68dd99 | |
parent | f902796a51a849ad2fc6671817d7b60156dc7559 [diff] |
media: vicodec: bugfix - call v4l2_m2m_buf_copy_metadata also if decoding fails The function 'v4l2_m2m_buf_copy_metadata' should be called even if decoding/encoding ends with status VB2_BUF_STATE_ERROR, so that the metadata is copied from the source buffer to the dest buffer. Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>