mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
media: ionvideo: fix adaptiveEosFlushSeek bug
PD#152800: init inovideo queue when flush Change-Id: I3fdf24407586ef191905a37cfad1957dab2c9f6c Signed-off-by: kunpeng.tang <kunpeng.tang@amlogic.com>
This commit is contained in:
committed by
Jianxin Pan
parent
442caae23c
commit
56136d1572
@@ -504,6 +504,10 @@ static int vidioc_streamoff(struct file *file, void *priv, enum v4l2_buf_type i)
|
||||
* Typical driver might need to wait here until dma engine stops.
|
||||
* In this case we can abort imiedetly, so it's just a noop.
|
||||
*/
|
||||
v4l2q_init(&dev->input_queue, IONVIDEO_POOL_SIZE + 1,
|
||||
&dev->ionvideo_input_queue[0]);
|
||||
v4l2q_init(&dev->output_queue, IONVIDEO_POOL_SIZE + 1,
|
||||
&dev->ionvideo_output_queue[0]);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user