ffplay: use start_time as next audio pts on flush when seeking is not supported
authorMarton Balint <cus@passwd.hu>
Sat, 13 Jul 2013 11:55:43 +0000 (13:55 +0200)
committerMarton Balint <cus@passwd.hu>
Sat, 20 Jul 2013 00:32:43 +0000 (02:32 +0200)
commit73b2043d727029ecde19c1d92bda8411f18b8e55
tree6ca56bba7b2566247907485bced48b3641e476eb
parentb383498ea8b891da0298c967c1b229a78eb99eff
ffplay: use start_time as next audio pts on flush when seeking is not supported

Theoretically using start_time should also work if seeking is available and we
could determine that the next packet after a flush packet is the first packet
of a stream, but I could not think of an easy and clean way to do that, that is
why I sticked to the no seeking available condition for now.

Fixes ticket #2647.

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