Automatic Video Window Placement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



On Thu, Mar 18, 2010 at 06:22:02PM -0700, James Board wrote:
> > > That isn't exactly true.? twm can and does
> > auto-place windows with
> > > many other applications.
> > 
> > Not video players, I'm sure...
> 
> You're sure?  ffplay is a simple video player based on ffmpeg, which is the same code that mplayer uses.  ffplay can correctly place windows on the screen.  mplayer can't. 

-vo sdl will probably behave the same way as FFplay

> > It can.? It just doesn't.? That's how TWM
> > works.? If you don't like it,
> > use another window manager.?
> 
> That isn't how twm works.  TWM automatically places windows on many other applications.  It's just mplayer that has problems. The bug is in mplayer, not twm.  I'm willing to fix the bug.  All I want out of this thread is some help in where to look in the mplayer code.

I've never seen twm place a Window automatically, but my experience is a bit outdated.
Window creation code is in libvo/x11_common.c, for example vo_x11_create_smooth_window
around line 1067.


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux