Moved play-and-pause logic at the right place.
authorLaurent Aimar <fenrir@videolan.org>
Mon, 14 Sep 2009 20:51:06 +0000 (22:51 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 14 Sep 2009 21:26:47 +0000 (23:26 +0200)
commit9c0d4a4300b629d971286dc90b9d04302afea5bd
tree40fba2fd03cedf40052170505f8ba90397d1081f
parentf6a57b9b1eb87f023983c485a779c97ee55c92b7
Moved play-and-pause logic at the right place.

The pause must be done when the fifo of the decoder gets empty otherwise
the pause occurs too soon (especially with large caching).
src/input/input.c