mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-04 16:52:40 +08:00
[mpi] : Add a block timeout control command.
When retrieving frames current API only allows to define wether the API should block without any timeout or not block at all. This allows to specify a block timeout via the MPP_SET_OUTPUT_BLOCK_TIMEOUT control operation. Change-Id: Id35ad3d48f72881184009f830c406c3a655e1a90 Signed-off-by: LongChair <LongChair@hotmail.com> Signed-off-by: Randy Li <randy.li@rock-chips.com>
This commit is contained in:
@@ -75,7 +75,9 @@ typedef enum {
|
||||
MPP_CMD_BASE = CMD_MODULE_MPP,
|
||||
MPP_ENABLE_DEINTERLACE,
|
||||
MPP_SET_INPUT_BLOCK,
|
||||
MPP_SET_INTPUT_BLOCK_TIMEOUT,
|
||||
MPP_SET_OUTPUT_BLOCK,
|
||||
MPP_SET_OUTPUT_BLOCK_TIMEOUT,
|
||||
MPP_CMD_END,
|
||||
|
||||
MPP_CODEC_CMD_BASE = CMD_MODULE_CODEC,
|
||||
|
Reference in New Issue
Block a user