GNOME Bugzilla – Bug 792783
omxvideoenc: drop late input frames
Last modified: 2018-01-22 17:05:52 UTC
.
Created attachment 367217 [details] [review] omxvideoenc: drop late input frames Make use of the new GstVideoEncoder QoS API to drop late input frames. This may help a live pipeline to catch up if it's being late and all frames end up being dropped at the sink.
Review of attachment 367217 [details] [review]: Is there a way to disable this ? Does the base class adds QoS boolean property?
Hrm, I thought there was a blocker bug about this. I think there should be a property and it should be FALSE by default.
And it is, so all good :)
Yes, this code should be no-op until user sets qos=true on the encoder. See https://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=7950a4614c7dce57c7505503ba3d78495f9344c4
Review of attachment 367217 [details] [review]: Ok, no more comments then ;-P
commit 0c5bbbb6ca5ff9c262e8a45f0b7f6be9ed4e4213 (HEAD -> master) Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Date: Fri Sep 22 16:02:40 2017 +0200 omxvideoenc: drop late input frames if QoS is enabled Make use of the new GstVideoEncoder QoS API to drop late input frames. This may help a live pipeline to catch up if it's being late and all frames end up being dropped at the sink. https://bugzilla.gnome.org/show_bug.cgi?id=792783