GNOME Bugzilla – Bug 751182
identity: allow dropping buffers with specified flags
Last modified: 2015-11-13 15:59:29 UTC
Just a feature request for the identity element. I want to be able to drop corrupt frames in the identity element. Corrupt frames would be frames flagged as: corrupt, decode only or delta unit. The pipeline would be something like: gst-launch rtspsrc location=... ! decodebin ! identity drop-corrupt-frames= true ! glimagesink Patch comming next.
Created attachment 305626 [details] [review] add drop-corrupt-frames This does the trick. May be there's another way to this, but I found it useful.
I'm now thinking that may be it would be more generic to have something like: identity drop-buffers-flag=flag|flag|flag Which would be more generic.
Created attachment 305630 [details] [review] add drop-buffer-flags This is now more generic. You can now drop buffers with the given flags.
I like it, would make it easy to drop non-keyframes.
Could this one make it to 1.6 or too late already?
Sorry for asking again, will this one make it to 1.6?
I would like to push this change. Does anyone have any objection ?
Created attachment 315355 [details] [review] Adds a new property to drop buffers with the specified flags Added gtk-doc blurb for the new property and a 'Since: 1.8' marker
commit 2c238705a13566e1191ccf557d396528c27795fc Author: Aleix Conchillo Flaqué <aleix@oblong.com> Date: Thu Jun 18 13:56:53 2015 -0700 identity: add drop-buffer-flags property New property drop-buffer-flags that will discard buffers that have the given flags set. https://bugzilla.gnome.org/show_bug.cgi?id=751182