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

Kevin DeKorte kdekorte at gmail.com
Thu Aug 27 19:27:12 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

Reimar,

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

ERROR: Failed to get value of property 'panscan'.


Example:

Have a wide screen video and then set gnome-mplayer to a more squareish
ratio (I then have black bars on top and bottom). I can use w/e keys to
adjust the panscan and get an image that has smaller black bars. Go
fullscreen and the video seems to lose the ability to adjust the
panscan. And rather than having upper and lower blackbars it fills the
- -wid window. May have something to do with the container window being
fullscreen. If I just use the window managers maximize function, I don't
have this issue. Although the window is not truly fullscreen at this point.

Thanks,

Kevin

- -- 
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkqWwfAACgkQ6w2kMH0L1dFT0gCghH36nRrTcyvCHMaB89N8TaHt
UpkAn29G4MvhwiMwuMHyrpEEvL6htagn
=UNjF
-----END PGP SIGNATURE-----


More information about the MPlayer-users mailing list