android_kernel_xiaomi_sm8450/drivers/media
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
..
cec media: cec: fill in cec chardev kobject to ease debugging 2019-03-19 13:19:49 -04:00
common media: videobuf2: Return error after allocation failure 2019-03-19 14:03:55 -04:00
dvb-core media: dvb-core: fix several typos 2019-03-01 09:28:08 -05:00
dvb-frontends media: si2165: fix a missing check of return value 2019-03-19 16:47:20 -04:00
firewire media: firewire: Fix app_info parameter type in avc_ca{,_app}_info 2018-12-05 05:34:33 -05:00
i2c media: i2c: adv748x: select V4L2_FWNODE 2019-03-19 16:35:09 -04:00
mmc media: siano: use GFP_DMA only for smssdio 2018-05-15 08:04:42 -04:00
pci media: cx23885: check allocation return 2019-03-19 16:45:08 -04:00
platform media: vicodec: reset last_src/dst_buf based on the IS_OUTPUT 2019-03-20 05:59:41 -04:00
radio media: wl128x: Fix an error code in fm_download_firmware() 2019-03-19 16:38:37 -04:00
rc media: serial_ir: Fix use-after-free in serial_ir_init_module 2019-03-19 16:46:20 -04:00
spi media: cxd2880-spi: fix two memory leaks of dvb_spi 2019-01-16 11:44:29 -05:00
tuners media: tuners: fix several typos 2019-03-01 09:40:29 -05:00
usb media: em28xx-input: make const array addr_list static 2019-03-19 16:53:18 -04:00
v4l2-core media: strscpy() returns a negative value on failure unlike strlcpy(). 2019-03-19 16:33:46 -04:00
Kconfig media: Add a Kconfig option for the Request API 2018-12-05 13:07:43 -05:00
Makefile media: media-request: implement media requests 2018-08-31 11:04:51 -04:00
media-device.c media: Add a Kconfig option for the Request API 2018-12-05 13:07:43 -05:00
media-devnode.c media: media-devnode: fill in media chardev kobject to ease debugging 2019-03-19 13:21:16 -04:00
media-entity.c media: replace WARN_ON in __media_pipeline_start() 2019-03-19 14:01:08 -04:00
media-request.c media: media-request: fix epoll() by calling poll_wait first 2019-02-18 14:45:33 -05:00