]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[media] s5p-mfc: use MFC_BUF_FLAG_EOS to identify last buffers in decoder capture...
authorAndrzej Hajda <a.hajda@samsung.com>
Wed, 7 Oct 2015 10:13:45 +0000 (07:13 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 20 Oct 2015 16:40:16 +0000 (14:40 -0200)
commit4d0b0ed636601691460adee0a953a03e4cdcbbe0
tree419cb493601f095c45b91ac12dd9e1f832469ae9
parent96c57776cd375ae19eff28f3c8dda4f42b6146e2
[media] s5p-mfc: use MFC_BUF_FLAG_EOS to identify last buffers in decoder capture queue

MFC driver never delivered EOS event to apps feeding constantly its capture
buffer with fresh buffers. The patch fixes it by marking last buffers
returned by MFC with MFC_BUF_FLAG_EOS flag and firing EOS event on
de-queuing such buffers.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/s5p-mfc/s5p_mfc.c
drivers/media/platform/s5p-mfc/s5p_mfc_dec.c