Hi, I have started implementing use of the Quick Sync video decoder through the Media SDK and stumbled upon something that for me is a problem.
The DecodeFrameAsync call consumes two frames the first time it is called after instantiation, when I’m feeding it more than one frame of encoded data at once. In this particular case I’m feeding it two complete GOPs of H.264 data, and in all the subsequent calls it only consumes one frame. I have only tested this with the software implementation.
Our current decoder solution never consumes more than one frame in a decoder call, even when feed a large chunk of data with many frames in it (and then like the Media SDK signals how much of the encoded data was consumed). Various applications uses this decoder with code based on this assumption/interface, and I would thus like to keep this as it is.
Is there a way for me to configure the Media SDK decoder to never consume more than one frame in one call to DecodeFrameAsync?