summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_lookahead.c
diff options
context:
space:
mode:
Diffstat (limited to 'vp9/encoder/vp9_lookahead.c')
-rw-r--r--vp9/encoder/vp9_lookahead.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_lookahead.c b/vp9/encoder/vp9_lookahead.c
index a298f1c20..abe71e681 100644
--- a/vp9/encoder/vp9_lookahead.c
+++ b/vp9/encoder/vp9_lookahead.c
@@ -18,6 +18,9 @@
#include "vp9/encoder/vp9_extend.h"
#include "vp9/encoder/vp9_lookahead.h"
+// The max of past frames we want to keep in the queue.
+#define MAX_PRE_FRAMES 1
+
struct lookahead_ctx {
unsigned int max_sz; /* Absolute size of the queue */
unsigned int sz; /* Number of buffers currently in the queue */