set default number of B-frames as 2 while encoding
for better compression. This User can however change
this setting using V4L2_CID_MPEG_VIDEO_B_FRAMES.

Signed-off-by: Kiran AVND <[email protected]>
---
 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c 
b/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c
index cd1b2a2..f7a6f68 100644
--- a/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c
+++ b/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c
@@ -280,7 +280,7 @@ static struct mfc_control controls[] = {
                .minimum = 0,
                .maximum = 2,
                .step = 1,
-               .default_value = 0,
+               .default_value = 2,
        },
        {
                .id = V4L2_CID_MPEG_VIDEO_H264_PROFILE,
-- 
1.7.3.rc2

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to