gst/debug/rndbuffersize.c: Bring rndbuffersize element into a state that doesn't...
authorTim-Philipp Müller <tim@centricular.net>
Fri, 25 Apr 2008 19:34:31 +0000 (19:34 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 25 Apr 2008 19:34:31 +0000 (19:34 +0000)
commita66d502e0a291a94ec0de9585f300d5ff78c8da9
treea7d3c8c8656c89229882d741621ddeb4e339ad22
parent7387f2cce405c39653c3a4a67e0050d0ecf63a1e
gst/debug/rndbuffersize.c: Bring rndbuffersize element into a state that doesn't require us to move it to -bad immedi...

Original commit message from CVS:
* gst/debug/rndbuffersize.c: (DEFAULT_SEED), (DEFAULT_MIN),
(DEFAULT_MAX), (src_template), (sink_template),
(gst_rnd_buffer_size_base_init), (gst_rnd_buffer_size_class_init),
(gst_rnd_buffer_size_init), (gst_rnd_buffer_size_activate),
(gst_rnd_buffer_size_loop), (gst_rnd_buffer_size_plugin_init):
Bring rndbuffersize element into a state that doesn't require us
to move it to -bad immediately. For one, fix up default min/max
values so that the element actuall works using the default values.
Also, don't ignore flow return values and do some kind of minimal
eos logic. Allow min=max to pull fixed-sized buffers. Bunch of
other gratuitious clean-ups.
ChangeLog
gst/debug/rndbuffersize.c