Decoder behaviour model
marchenkovadim at mail.ru
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
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Decoder-behaviour-model-tp4022986p4118516.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel