This is "if I call mvdstdProcessVideoFrame() and mvdstdRenderVideoFrame() no matter if it returns a frame or not".
But here I'm doing is that, as soon as I got a frame, don't call the next function and return it.
And if case 3 (no outputs) happen, consider it as kind of an error and ignore it...