need_data
Description:
Signal that the source needs more data.
In the callback or from another thread you should call push-buffer or end-of-stream.
length
is just a hint and when it is set to -1, any number of bytes can be pushed into appsrc
.
You can call push-buffer multiple times until the enough-data signal is fired.
Parameters:
length |
the amount of bytes needed. |