vp8enc: Use 0 as duration for the EOS "frame"

This commit is contained in:
Sebastian Dröge 2015-03-02 15:06:09 +01:00
parent 51ebca3c03
commit 379621fd0b

View file

@ -1888,7 +1888,7 @@ gst_vp8_enc_drain (GstVideoEncoder * video_encoder)
encoder->cfg.g_timebase.num * (GstClockTime) GST_SECOND,
encoder->cfg.g_timebase.den);
status = vpx_codec_encode (&encoder->encoder, NULL, pts, 1, flags, deadline);
status = vpx_codec_encode (&encoder->encoder, NULL, pts, 0, flags, deadline);
g_mutex_unlock (&encoder->encoder_lock);
if (status != 0) {