ffplay: eliminate pictq_prev_picture
authorMarton Balint <cus@passwd.hu>
Wed, 27 Nov 2013 23:13:38 +0000 (00:13 +0100)
committerMarton Balint <cus@passwd.hu>
Tue, 24 Jun 2014 19:59:20 +0000 (21:59 +0200)
commit9dd97aa3d337b6a7e3f693a1fbe04cdc30885ac4
tree15af5d64bfb2d3c7b3d814aff40fad6cd1a46f06
parentf364101144f1181ced8e2753c63731dfcaaec4f5
ffplay: eliminate pictq_prev_picture

Instead of directly rolling back the frame queue, keep the last displayed
picture in the queue and use a boolean variable to keep track if it is
displayed or not. This makes the code cleaner because it removes the
complicated logic in pictq_prev_picture.

There should be no change in functionality.

Signed-off-by: Marton Balint <cus@passwd.hu>
ffplay.c