core: remove looping in update_video(), modify command handling a bit
commit00c2bafb0ac25a9c5ce845f49f6718b06ff03bbe
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Tue, 14 Dec 2010 23:02:14 +0000 (15 01:02 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Thu, 16 Dec 2010 18:04:34 +0000 (16 20:04 +0200)
treec2b63829cb03d422cac1138edf1f8aa24e6ab34e
parentde3be1d9cafaa35b540e33a5f042804bef8e97d8
core: remove looping in update_video(), modify command handling a bit

Let higher-level code call update_video() again instead of looping
inside it until there's a frame ready to show. Change the conditions
for running user commands somewhat. Overall effect shouldn't be that
big. Now other commands can be executed after a seek before a video
frame is decoded; in this case the seek target time may be used as the
"current position".
mp_core.h
mplayer.c