mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
vp8enc: Use 0 as duration for the EOS "frame"
This commit is contained in:
parent
51ebca3c03
commit
379621fd0b
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue