summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Furniss <[email protected]>2016-12-05 23:53:40 +0000
committerLeo Liu <[email protected]>2016-12-05 19:39:47 -0500
commit5338fb34d6af656adaf0c80d57b5a6168f81d3e1 (patch)
treeb2f762cfa82aed002ac4390deaef6296b62096bf
parent2a38a5b2b28aa6e2c5c005bf5a2bfeae11623f22 (diff)
st/omx/enc Raise default encode level
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=91281 Signed-off-by: Andy Furniss <[email protected]> Reviewed-by: Christian König <[email protected]>
-rw-r--r--src/gallium/state_trackers/omx/vid_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/omx/vid_enc.c b/src/gallium/state_trackers/omx/vid_enc.c
index 0d7ab28fb37..07f67999649 100644
--- a/src/gallium/state_trackers/omx/vid_enc.c
+++ b/src/gallium/state_trackers/omx/vid_enc.c
@@ -246,7 +246,7 @@ static OMX_ERRORTYPE vid_enc_Constructor(OMX_COMPONENTTYPE *comp, OMX_STRING nam
priv->quant.nQpB = OMX_VID_ENC_QUANT_B_FRAMES_DEFAULT;
priv->profile_level.eProfile = OMX_VIDEO_AVCProfileBaseline;
- priv->profile_level.eLevel = OMX_VIDEO_AVCLevel42;
+ priv->profile_level.eLevel = OMX_VIDEO_AVCLevel51;
priv->force_pic_type.IntraRefreshVOP = OMX_FALSE;
priv->frame_num = 0;