[PATCH 03/17] [media] s5p-mfc: set B-frames as 2 while encoding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <avnd.kiran@xxxxxxxxxxx>
---
 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux