summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/omx/vid_enc.h
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2014-05-30 15:57:29 -0400
committerChristian König <[email protected]>2014-06-04 17:24:42 +0200
commit3642ee846a0eadd8c0554c66dc8d9114307f9d34 (patch)
treecc3486c920121d25d6ea8c8fbc72c535038a65aa /src/gallium/state_trackers/omx/vid_enc.h
parente074f8200e5c1e1921550c4159edbd644bc94f70 (diff)
st/omx/enc: enable b frames
Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/omx/vid_enc.h')
-rw-r--r--src/gallium/state_trackers/omx/vid_enc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/omx/vid_enc.h b/src/gallium/state_trackers/omx/vid_enc.h
index a49f249c792..47e4b963d89 100644
--- a/src/gallium/state_trackers/omx/vid_enc.h
+++ b/src/gallium/state_trackers/omx/vid_enc.h
@@ -60,7 +60,7 @@
#define OMX_VID_ENC_SCALING_WIDTH_DEFAULT 0xffffffff
#define OMX_VID_ENC_SCALING_HEIGHT_DEFAULT 0xffffffff
#define OMX_VID_ENC_IDR_PERIOD_DEFAULT 1000
-#define OMX_VID_ENC_P_PERIOD_DEFAULT 1
+#define OMX_VID_ENC_P_PERIOD_DEFAULT 3
#define OMX_VID_ENC_NUM_SCALING_BUFFERS 4