mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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:
parent
02fc41fde5
commit
d536b73e25
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue