[MPlayer-dev-eng] mplayer 1.4.0 release

Erik Auerswald auerswal at unix-ag.uni-kl.de
Sun Apr 14 14:33:57 EEST 2019


Hi,

On 4/14/19 11:08, Reimar Döffinger wrote:
> On Sun, Apr 14, 2019 at 10:42:19AM +0200, Reimar Döffinger wrote:
>> On Wed, Apr 03, 2019 at 09:25:12PM +0200, Erik Auerswald wrote:
>>> Testing on my older notebook still running Ubuntu 14.04 I do not see
>>> the same problems with -vo xv, but similar one when changing the
>>> window size (but not in fullscreen mode).
>>
>> How do you manage to do that?
>> MPlayer sets PAspect window hint, you are not supposed to be able to
>> resize the window in a way that needs black borders, and vo_xv was not
>> designed to handle that case...
>> Due to that I am not even able to test on my systems...
> 
> The consequences are a bit unclear to me, and as this has always
> worked like this I am not sure we should change it, but below
> might work for adding support for this.
> 
> --- a/libvo/x11_common.c
> +++ b/libvo/x11_common.c
> @@ -2358,7 +2358,7 @@ void vo_xv_draw_colorkey(  int32_t x,  int32_t y,
> 
>     /* draw black bars if needed */
>     /* TODO! move this to vo_x11_clearwindow_part() */
> -  if ( vo_fs )
> +  if ( aspect_scaling() )
>     {
>       XSetForeground( mDisplay, vo_gc, 0 );
>       /* making non-overlap fills, requires 8 checks instead of 4 */

I have lightly tested this on my less problematic Ubuntu 14.04 system,
it does seem to resolve the issue there. :-)

I have then tried it on the Ubuntu 18.04 system with just the internal
screen, which worked fine, too.

But when using an external monitor with different aspect ratio, in
fullscreen the black borders are not completely black, but partly
contain the former background (or they are transparent in those places).

Again, all this does work with MPlayer 1.3.0 and vo xv.

Thanks,
Erik


More information about the MPlayer-dev-eng mailing list