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

Kevin DeKorte kdekorte at gmail.com
Thu Aug 27 21:07:26 CEST 2009


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

On 08/27/2009 12:55 PM, Reimar Döffinger wrote:
> On Thu, Aug 27, 2009 at 12:08:23PM -0600, Kevin DeKorte wrote:
>> On 08/27/2009 11:45 AM, Reimar Döffinger wrote:
>>> 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...
>>
>> Ok, that was helpful, I now reset vo_fullscreen to 1 after going in and
>> out of fullscreen mode and that seems to correct it.
> 
> I am working on splitting the fullscreen and aspect mode stuff into
> different variable/options/whatever.
> It might take some time to finish, but if it would add too much ugly code
> on your side it might make sense to not add support yet.
> As always, if it is bad to use or so feel free to tell me, sometimes
> it's just too hard but sometimes I just don't know what kind of issues
> those frontend coders have ;-)

Reimar,

Well I have it working in my code now... and it works well for the most
part. In fact I just committed it to gnome-mplayer svn...

1 minor issue... when using xv, panscan to 1 and then panscan back to 0
and this sometimes leaves artifacts on the screen where the video used
to be. I used to work around this in the code by keeping the drawing
area snapped to the video size, I no longer do that and give mplayer the
entire drawing area. So I can't cleanup these artifacts in my code
anymore cause I don't own the drawing space.

Let me know if you change how this works (ie the -fs requirement) I have
made this functionality optional (disabled by default). So I understand
this is a moving target at the moment.

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/

iEYEARECAAYFAkqW2W4ACgkQ6w2kMH0L1dH/QgCeItZiFIfXEwCoojCo5gCQwW2l
gBsAoIeaLgBVc6ulGsMIiyz8Aqr9getP
=cpWT
-----END PGP SIGNATURE-----


More information about the MPlayer-users mailing list