video_output: rework the logical flow of DisplayPicture()
It should make the code more readable.
The new code should be strictly equivalent to the code it replaces.
Now there are 2 rendering sections:
- when we use the next picture
- when we redisplay the current picture
Edited by Steve Lhomme