Le 2014-10-02 09:39, Philipp Zabel a écrit :
Yes, that is exactly what I had in mind. I'd like to get to a clear description in what order to correctly set up a codec for streaming and some clarification about what should happen in error conditions, such as selecting incompatible output&capture formats, trying to decode a 4:2:2 JPEG into a 4:2:0 YUV buffer, or filling P-frames at the beginning of the stream into a H.264 decoder. And then there is the issue of stream end and the EOS signal.
Ah, now I get why you wanted to split the JPEG decoder from the others. I think it relates to the topic I wanted to bring. We basically need a mechanism to enumerate format after the output device format has been set. Otherwise, we need to do a lot of trial and error if we try to negotiate an capture format.
Nicolas