audio-converter: improve processing loop
authorWim Taymans <wtaymans@redhat.com>
Tue, 12 Jan 2016 10:37:17 +0000 (11:37 +0100)
committerWim Taymans <wtaymans@redhat.com>
Tue, 12 Jan 2016 10:37:17 +0000 (11:37 +0100)
commit8a8b12189e9f3e7c7c37ab9f8cfdcd1d837ae723
treebe64c51bee587f21f7aae12ca278b618714b85c0
parent20f6af651b61010cf1eef89bdf8f5347fcd4e9df
audio-converter: improve processing loop

Process as many samples as we can from the input and return the number
of processed samples from the chain. This simplifies some code.
Fix the IN_WRITABLE handling, don't overwrite the flags.
gst-libs/gst/audio/audio-converter.c