From bad25634bfa62d20a5fac38e95f5a75b99a49bb2 Mon Sep 17 00:00:00 2001 From: SeungBeom Kim Date: Sun, 26 Aug 2012 22:34:08 -0700 Subject: [PATCH] exynos_omx: multi_thread: Fix the bug of video recording I-frame interval. Before Fix, OpenGOP Recording. (Return the I-Frame after each 10 frame.) After Fix, Return the I-Frame after each 30 frame. (Stagefright has set the I-frame interval 30 frame.) Change-Id: I6089bdb5ae1b0cf2d999233f39a97c64884b6bb9 Signed-off-by: SeungBeom Kim --- .../video/exynos5/mfc_v4l2/enc/src/ExynosVideoEncoder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/enc/src/ExynosVideoEncoder.c b/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/enc/src/ExynosVideoEncoder.c index 2273f60..1263672 100644 --- a/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/enc/src/ExynosVideoEncoder.c +++ b/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/enc/src/ExynosVideoEncoder.c @@ -402,9 +402,9 @@ static ExynosVideoErrorType MFC_Encoder_Set_EncParam ( /* doesn't have to be set */ ext_ctrl[31].id = V4L2_CID_MPEG_VIDEO_GOP_CLOSURE; - ext_ctrl[31].value = 0; + ext_ctrl[31].value = 1; ext_ctrl[32].id = V4L2_CID_MPEG_VIDEO_H264_I_PERIOD; - ext_ctrl[32].value = 10; + ext_ctrl[32].value = 0; ext_ctrl[33].id = V4L2_CID_MPEG_VIDEO_VBV_SIZE; ext_ctrl[33].value = 0; ext_ctrl[34].id = V4L2_CID_MPEG_VIDEO_HEADER_MODE; -- 2.20.1