I'm running on SW mode, And my machine is core i7 Intel.
(If i do not add that code everything works perfectly, apart from the lag...)
Any help is appreciated - i do not understand why this returns as "unsupported".
EDIT: After all of the recommended changes to reduce latency (apart from extra params i'm having trouble to use) the frame latency got from 12 to 3. What i need is latency of 1. (And i encode H264 that way using a different lib, which i know for sure that it was not encoded with any latency requirement)
With mentioned settings there should be no latency in frames, i.e. decoder outputs the frame right after it is decoded. I suspect that your input stream doesn't really have zero latency as you expect. You may check with some stream analyzing tool if there are B frames in the stream and what is the value of max_dec_frame_buffering. Another suggestion - you can generate a low-latency stream using Media SDK encoder via sample_videoconf (you can find it under samples folder of MSDK 3.0 Beta) and then decode this stream to check latency.