vp8enc: set DECODE_ONLY flag on invisible AltRef frames

https://bugzilla.gnome.org/show_bug.cgi?id=654216
This commit is contained in:
Oleksij Rempel 2012-10-02 20:51:29 +02:00 committed by Tim-Philipp Müller
parent 7275860bdd
commit 83a47cdd0e

View file

@ -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) =