GNOME Bugzilla – Bug 755453
jpegenc: add "snapshot" property
Last modified: 2018-01-31 17:52:04 UTC
Created attachment 311926 [details] [review] add snapshot property (v1) Add the same handy snapshot property like it is done in pngenc.
Maybe moving num-buffers property from fakesink to basesink would be better?
Nice, we have this for pngenc, why don't include same for jpegenc?
Ok, why not. Thanks for the patch! commit ba86a1d99cabf331be5f1460289b013c5bea5aa8 (HEAD -> master) Author: Matthieu Crapet <mcrapet@gmail.com> Date: Wed Sep 23 10:01:32 2015 +0200 jpegenc: add snapshot property Like pngenc, automatically send an EOS message. Example of bin: appsrc ! jpegenc snapshot=true ! filesink location=out.jpg This is especially useful for limited/slow hardware. Otherwise calling gst_video_convert_sample() is a better option (internally uses videoconvert and videoscale). https://bugzilla.gnome.org/show_bug.cgi?id=755453