[MPlayer-dev-eng] [PATCH] Pause after command

Oded Shimon ods15 at ods15.dyndns.org
Sun Oct 31 22:25:39 CET 2004


On Sunday 31 October 2004 23:15, Reimar Döffinger wrote:
> IMHO this is risky because it can cause unpredictable behaviour.
I don't see how, maybe it does, I know pretty little about MPlayer source.. 
saw about 0.1% of it... :)

> Also, most functions will not work before the stream is unpaused again.
> What exactly should this do in which cases?
I don't see how, there is almost an entire main loop inbetween:

while() {
  stuff;
  pause-loop;
  very-very-little-stuff-here;
  key/command-parser;
  more-stuff;
}

(ONE while loop = ONE video frame)

all of "more-stuff" and "stuff" are run before the pause is reached, 
Practically all the functions there are to run have been run already until 
the player pauses.
I don't see whats dangerous here... Could you enlighten me?

- ods15




More information about the MPlayer-dev-eng mailing list