[media] s5p-mfc: separate encoder parameters for h264 and mpeg4
This patch fixes a bug which caused overwriting h264 codec parameters by mpeg4 parameters during V4L2 control setting. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
fc906b6d18
commit
ac5f867fbf
@ -438,7 +438,7 @@ struct s5p_mfc_enc_params {
|
|||||||
u32 rc_framerate_num;
|
u32 rc_framerate_num;
|
||||||
u32 rc_framerate_denom;
|
u32 rc_framerate_denom;
|
||||||
|
|
||||||
union {
|
struct {
|
||||||
struct s5p_mfc_h264_enc_params h264;
|
struct s5p_mfc_h264_enc_params h264;
|
||||||
struct s5p_mfc_mpeg4_enc_params mpeg4;
|
struct s5p_mfc_mpeg4_enc_params mpeg4;
|
||||||
} codec;
|
} codec;
|
||||||
|
Reference in New Issue
Block a user