imagefreeze: add a num-buffers property
authorAntonio Ospite <antonio.ospite@collabora.com>
Wed, 13 Mar 2019 12:03:44 +0000 (13:03 +0100)
committerAntonio Ospite <antonio.ospite@collabora.com>
Thu, 14 Mar 2019 08:12:28 +0000 (09:12 +0100)
commit8c26e33f2003629b765af92f0d2ddf516959c597
tree4b2a89876696529a44d74a761aac78cc72f053e6
parentfcd568dd56d8d6926eac019b57207722b871f80c
imagefreeze: add a num-buffers property

The imagefreeze element can be handy for benchmarking downstream
elements because it re-uses the same buffer memory and introduces less
overhead compared to always creating new frames with videotestsrc.

However it's not possible to make imagefreeze send EOS when using
gst-launch-1.0.

Add a num-buffers property to make it look more like a source in the
above scenario.
gst/imagefreeze/gstimagefreeze.c
gst/imagefreeze/gstimagefreeze.h