[MPlayer-dev-eng] multiple instances and window-resizing

Andre Kuehne andre.kuehne at gmx.net
Mon Aug 2 12:51:32 CEST 2004


On Sun, Aug 01, 2004 at 01:50:46PM +0200, Alexander Strasser wrote:
> On Sat, Jul 31, 2004 at 12:16:06PM +0900, Attila Kinali wrote:
> > On Sun, May 23, 2004 at 05:46:01PM -0400, Anthony DiSante wrote:
> > > First, if I launch gmplayer by double-clicking a video file in my file 
> > > manager, then gmplayer stays open when the video finishes.  However, if I 
> > > then try to view another video file, a second instance of gmplayer is 
> > > started, and gives an error because the first instance still has the video 
> > > device locked.  So, my request is, could gmplayer be made to use an 
> > > existing instance if it exists, rather than starting a second?  And/or, 
> > > could it be made to exit when a video finishes, or at least release the 
> > > video device?
> > 
> > Theoreticaly yes, ie by disabling xv (i assume you are using xv as you
> > didnt gave enough information) on pause and rendering the current picture with
> > plain x11 so it would still be there. Then any other player could use
> > xv. A concurent use of two xv instances is not possible unless the
> > hardware and the driver (ie the one from XF86/X.org) supports it.
> > 
> > Practicaly it's too complicated and it's advantages dont justify it.
> I think you slightly misunderstood the request. He wants to be able to
> play another movie automagically in the same MPlayer instance and/or
> an option to tell MPlayer with GUI to exit after the movie finished.
> I think both of it should be possible, but i don't have time for it.
> At least not now.

in the meantime: alias gmplayer="killall -q gmplayer ; gmplayer"
maybe a little plump. but hey, with *nix you better like playing rough :)

-- 
     _   _
_/\_| |_( )_
Andre Kuehne




More information about the MPlayer-dev-eng mailing list