linux_dsm_epyc7002/drivers/media/platform/vicodec
Hans Verkuil 76eb24fc23 media: vicodec: reset last_src/dst_buf based on the IS_OUTPUT
When start_streaming was called both last_src_buf and last_dst_buf
pointers were set to NULL, but this depends on whether the capture
or output queue starts streaming.

When decoding with resolution changes in between the capture queue
has to restart streaming whenever a resolution change occurs. And
that would reset last_src_buf as well, which causes a problem if
the decoder was stopped by the application. Since last_src_buf
is now NULL, the LAST flag is never set for the last capture
buffer.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-03-20 05:59:41 -04:00
..
codec-fwht.c media: vicodec: avoid clang frame size warning 2019-03-19 14:00:32 -04:00
codec-fwht.h media: vicodec: Add a flag for I-frames in fwht header 2019-02-18 15:36:23 -05:00
codec-v4l2-fwht.c media: vicodec: Add a flag for I-frames in fwht header 2019-02-18 15:36:23 -05:00
codec-v4l2-fwht.h media: vicodec: Separate fwht header from the frame data 2019-01-25 19:05:10 -02:00
Kconfig media: vicodec: Drop unneeded symbol dependency 2018-09-24 09:13:13 -04:00
Makefile media: vicodec: split off v4l2 specific parts for the codec 2018-08-31 08:29:13 -04:00
vicodec-core.c media: vicodec: reset last_src/dst_buf based on the IS_OUTPUT 2019-03-20 05:59:41 -04:00