[MPlayer-users] Slave command "panscan" doesn't work with frontends.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Aug 27 19:45:46 CEST 2009


On Thu, Aug 27, 2009 at 11:27:12AM -0600, Kevin DeKorte wrote:
> On 08/27/2009 06:07 AM, Reimar Döffinger wrote:
> > 
> > MPlayer SVN with -vo gl and -vo xv now supports -wid with -fs where
> > MPlayer handles aspect and panscan on its own.
> > This probably will need some additional support from SMPlayer though.
> > I'd be happy to know if this feature is helpful and works well for
> > frontend developers.
> 
> I have this now supported in gnome-mplayer in my working tree, I had to
> add the -fs option to my mplayer command line and hook the w and e keys
> to alter the panscan setting and a minor change to my widget layout
> code. However, I have one problem that I can't seem to figure out.
> 
> When I take my player fullscreen, by using gtk_window_fullscreen (not
> the window that mplayer is drawing to, but the window that contains the
> widget (gtk_plug) that I am drawing to). So as far as the widget that
> mplayer is drawing to knows, it is just getting really big. Once I do
> that, the panscan option quits working and I if I try to get the
> property I get this message

Uh, the "problem" is that your frontend sends the fullscreen command on
to MPlayer, for whatever reason. This then causes MPlayer to return back
to the old -wid without -fs behaviour...
Maybe it is just a really bad idea to do this via -fs I have to admit,
but code-wise (in MPlayer code) that just fits perfectly...


More information about the MPlayer-users mailing list