From 83a47cdd0e2be9e50be787e9f082d80984972293 Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Tue, 2 Oct 2012 20:51:29 +0200 Subject: vp8enc: set DECODE_ONLY flag on invisible AltRef frames https://bugzilla.gnome.org/show_bug.cgi?id=654216 --- ext/vpx/gstvp8enc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/vpx/gstvp8enc.c b/ext/vpx/gstvp8enc.c index f645e5a8d..443ba32ce 100644 --- a/ext/vpx/gstvp8enc.c +++ b/ext/vpx/gstvp8enc.c @@ -1975,6 +1975,7 @@ gst_vp8_enc_pre_push (GstVideoEncoder * video_encoder, encoder->keyframe_distance++; } + GST_BUFFER_FLAG_SET (buf, GST_BUFFER_FLAG_DECODE_ONLY); GST_BUFFER_TIMESTAMP (buf) = GST_BUFFER_TIMESTAMP (frame->output_buffer); GST_BUFFER_DURATION (buf) = 0; GST_BUFFER_OFFSET_END (buf) = -- cgit v1.2.3