fakesrc, identity, fakesink: do not generate last-message updates by default
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 8 Feb 2012 23:47:40 +0000 (23:47 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 9 Feb 2012 00:14:34 +0000 (00:14 +0000)
commit41841899c7b3d62f10229d32f975deba69918650
tree7ac5493d38c1e7f0ff807f19de6a6cd92c649b46
parent7ab1d62c2485838bc2c7d09709716262258b468c
fakesrc, identity, fakesink: do not generate last-message updates by default

Default to not creating lots of overhead by doing a couple of
g_strdup_printf()/g_free() per buffer or event just to generate
a last-message update that rarely anyone listens to. This means
that you need to enable silent=true explicitly in order to get
last-message dumps in gst-launch -v now. On the upside, people
won't inadvertently end up benchmarking g_strdup_printf()
performance instead of gstreamer data handling performance any
more.

Maybe the silent property should be renamed to enable-last-message
or something like that?
plugins/elements/gstfakesink.c
plugins/elements/gstfakesrc.c
plugins/elements/gstidentity.c