summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksij Rempel <bug-track@fisher-privat.net>2012-10-02 20:51:29 +0200
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2012-10-23 16:14:43 +0100
commit83a47cdd0e2be9e50be787e9f082d80984972293 (patch)
tree7e04f926e770d230164352fbe07ac1c976f5b5d6
parent7275860bdda5785b76ece8bc7c1dd9d01fcf0f5c (diff)
vp8enc: set DECODE_ONLY flag on invisible AltRef frames
https://bugzilla.gnome.org/show_bug.cgi?id=654216
-rw-r--r--ext/vpx/gstvp8enc.c1
1 files changed, 1 insertions, 0 deletions
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) =