projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02fc41f
)
qtwrapper: Decode audio until all input data is consumed
author
Martin Storsjo
<martin@martin.st>
Thu, 2 Sep 2010 20:31:23 +0000
(23:31 +0300)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Mon, 30 May 2011 06:46:11 +0000
(08:46 +0200)
The special return value is returned from our buffer callback
when all input data has been consumed.
sys/qtwrapper/audiodecoders.c
patch
|
blob
|
history
diff --git
a/sys/qtwrapper/audiodecoders.c
b/sys/qtwrapper/audiodecoders.c
index d7791d04fd97b3b6c461e0c20700f781ee0a9563..5a29c47df009ee1fd883bf172bd46b58a345204a 100644
(file)
--- a/
sys/qtwrapper/audiodecoders.c
+++ b/
sys/qtwrapper/audiodecoders.c
@@
-865,7
+865,7
@@
qtwrapper_audio_decoder_chain (GstPad * pad, GstBuffer * buf)
GST_DEBUG_OBJECT (qtwrapper,
"Read %d bytes, could have read up to %d bytes", realbytes, savedbytes);
- } while (
realbytes == savedbytes
);
+ } while (
status != NO_MORE_INPUT_DATA
);
beach:
gst_buffer_unref (buf);