gstreamer/gst
Kipp Cannon 4c52f4e625 audioresample: Don't emit DISCONT buffers if no discontinuity happened
audioresample is derived from GstBaseTransform, and one of
GstBaseTransform's traits is that if the derived element does not
produce an output buffer from some input buffer then the first output
buffer after that gets flaged as a discontinuity, whether or not the
buffer actually is discontinuous from the output buffer that preceded
it. When downsampling, the audioresample element requires more than
one input sample for each output sample, and if the ratio of input to
output sample rates is high enough and the input buffers short enough
it can come to pass that the resampler does not receive enough samples
on its input to produce any output.  Currently the resampler returns
GST_BASE_TRANSFORM_FLOW_DROPPED from the transform() method in this case,
causing the next buffer to be flagged as a discontinuity. If subsequent
elements in the pipeline reset themselves on disconts, this can cause
clicks and other undesireable behaviour.

Fixes bug #665004.
2011-11-28 18:03:22 +01:00
..
adder various: fix pad template leaks 2011-11-28 13:09:02 +00:00
app docs: fixup appsrc/sink api docs 2011-05-23 15:02:27 +03:00
audioconvert various: fix pad template leaks 2011-11-28 13:09:02 +00:00
audiorate various: fix pad template leaks 2011-11-28 13:09:02 +00:00
audioresample audioresample: Don't emit DISCONT buffers if no discontinuity happened 2011-11-28 18:03:22 +01:00
audiotestsrc various: fix pad template leaks 2011-11-28 13:09:02 +00:00
encoding various: fix pad template leaks 2011-11-28 13:09:02 +00:00
ffmpegcolorspace various: fix pad template leaks 2011-11-28 13:09:02 +00:00
gdp various: fix pad template leaks 2011-11-28 13:09:02 +00:00
playback various: fix pad template leaks 2011-11-28 13:09:02 +00:00
subparse various: fix pad template leaks 2011-11-28 13:09:02 +00:00
tcp various: fix pad template leaks 2011-11-28 13:09:02 +00:00
typefind typefind: typefind UTF-16 and UTF-32 2011-11-28 15:58:29 +00:00
videorate various: fix pad template leaks 2011-11-28 13:09:02 +00:00
videoscale various: fix pad template leaks 2011-11-28 13:09:02 +00:00
videotestsrc various: fix pad template leaks 2011-11-28 13:09:02 +00:00
volume volume: fix sample depth typo 2011-08-05 13:37:05 +02:00
Makefile.am build: build plugin and example directories in parallel if make -jN is used 2010-03-29 00:26:59 +01:00