Decoder behaviour model

Siber marchenkovadim at
Tue Nov 29 01:28:31 PST 2011

Ok, so now my decoder looks: if there is enough input data to decode so it
will decode it, if there isn't so it will save input data and wait for the
next part of data. But I can't understand what exactly should my chain
function return in following cases:
1. There is input data enough to decode not only one frame, but several
2. The input data is not enough to decode even one frame.

I think that in first case I should call gst_pad_push(src_pad,
decoded_buffer) function as many times as much frames I can decode using the
input buffer and then exit chain function returning
<some_value_i_don't_know_exactly> .

Thank you!

View this message in context:
Sent from the GStreamer-devel mailing list archive at

More information about the gstreamer-devel mailing list