audioresample: after a reset, recalculate the ouput size
authorWim Taymans <wtaymans@redhat.com>
Tue, 19 Jul 2016 16:20:57 +0000 (18:20 +0200)
committerWim Taymans <wtaymans@redhat.com>
Tue, 19 Jul 2016 16:20:57 +0000 (18:20 +0200)
commitc1cb395f66ec54a67ce0d85bf2e253e5d385a205
tree97f8f4a1aaf962d5c22c685016fc24b3fe378324
parent92786741df3f5a81e24da4449a8aa60ed790973b
audioresample: after a reset, recalculate the ouput size

After we reset the resampler, there is no history anymore in the resampler
and the previously calculated output size is no longer valid.
Recalculate the new output size after a reset to make sure we don't try
to convert too much.
gst/audioresample/gstaudioresample.c