Skip to content

Commit

Permalink
media: venus: venc_ctrls: Change default header mode
Browse files Browse the repository at this point in the history
It is observed that on Venus v1 the default header-mode is producing
a bitstream which is not playble. Change the default header-mode to
joined with 1st frame.

Fixes: 002c22b ("media: venus: venc: set inband mode property to FW.")
Cc: [email protected] # v5.12
Signed-off-by: Stanimir Varbanov <[email protected]>
Tested-by: Bryan O'Donoghue <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
Stanimir Varbanov authored and mchehab committed Apr 6, 2021
1 parent 3215887 commit 39a6b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/platform/qcom/venus/venc_ctrls.c
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ int venc_ctrl_init(struct venus_inst *inst)
V4L2_MPEG_VIDEO_HEADER_MODE_JOINED_WITH_1ST_FRAME,
~((1 << V4L2_MPEG_VIDEO_HEADER_MODE_SEPARATE) |
(1 << V4L2_MPEG_VIDEO_HEADER_MODE_JOINED_WITH_1ST_FRAME)),
V4L2_MPEG_VIDEO_HEADER_MODE_SEPARATE);
V4L2_MPEG_VIDEO_HEADER_MODE_JOINED_WITH_1ST_FRAME);

v4l2_ctrl_new_std_menu(&inst->ctrl_handler, &venc_ctrl_ops,
V4L2_CID_MPEG_VIDEO_MULTI_SLICE_MODE,
Expand Down

0 comments on commit 39a6b91

Please sign in to comment.