mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-04 08:46:24 +08:00
[h264d_dpb]: Fix h264 video flicker issue
When the poc of the idr frame is 0, the subsequent frames with poc<0 are discarded, which will cause the screen to flicker. Add parameters in mpp as switches for immediate output of idr frames. Change-Id: I522334dd1e81fc6aeeb60e71404f3a7071a5ecae Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
This commit is contained in:
@@ -100,6 +100,7 @@ typedef enum {
|
||||
MPP_DEC_SET_DISABLE_ERROR, /* When set it will disable sw/hw error (H.264 / H.265) */
|
||||
MPP_DEC_SET_IMMEDIATE_OUT,
|
||||
MPP_DEC_SET_ENABLE_DEINTERLACE, /* MPP enable deinterlace by default. Vpuapi can disable it */
|
||||
MPP_DEC_SET_DISABLE_FAST_PLAY, /* disable idr output immediately */
|
||||
|
||||
MPP_DEC_CMD_QUERY = CMD_MODULE_CODEC | CMD_CTX_ID_DEC | CMD_DEC_QUERY,
|
||||
/* query decoder runtime information for decode stage */
|
||||
|
Reference in New Issue
Block a user