On Tue, 2005-08-02 at 15:08 +0200, Dirk Meyer wrote:
> BTW, why do you have a Process in mplayer and not inherit from one? 

Because MPlayer class invokes MPlayer an arbitrary number of times.  In
the constructor it runs MPlayer to get a list of available filters and
input key names.  And it runs MPlayer whenever play() is called.  If I
subclassed Process, it basically wouldn't work at all, because the
command gets executed in Process's constructor.

Jason.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to