qtwrapper: Decode audio until all input data is consumed

The special return value is returned from our buffer callback
when all input data has been consumed.
This commit is contained in:
Martin Storsjo 2010-09-02 23:31:23 +03:00 committed by Sebastian Dröge
parent 02fc41fde5
commit d536b73e25

View file

@ -865,7 +865,7 @@ qtwrapper_audio_decoder_chain (GstPad * pad, GstBuffer * buf)
GST_DEBUG_OBJECT (qtwrapper, GST_DEBUG_OBJECT (qtwrapper,
"Read %d bytes, could have read up to %d bytes", realbytes, savedbytes); "Read %d bytes, could have read up to %d bytes", realbytes, savedbytes);
} while (realbytes == savedbytes); } while (status != NO_MORE_INPUT_DATA);
beach: beach:
gst_buffer_unref (buf); gst_buffer_unref (buf);