[MPlayer-dev-eng] Bug with the switch_ratio command

Ingo Brückl ib at wupperonline.de
Mon Jul 29 10:26:09 CEST 2013


compn wrote on Sun, 28 Jul 2013 16:11:23 -0400:

> On Sun, 28 Jul 2013 19:26:53 +0200, Hans-Dieter Kosch wrote:
>>Ingo Brückl wrote:
>>> When playing an (probably anamorphic widescreen) DVD, the "switch_ratio -1"
>>> command doesn't reset to correct movie aspect, but to raw anamorphic aspect
>>> ratio.
>>>
>>Can you provide an example to reproduce?

> heres a mpeg with aspect
> http://samples.mplayerhq.hu/MPEG-VOB/mpeg2-ES/detect.m2v
> 480:480 video with aspect of 4:3 (640:480)

Yes, that's one.

> Movie-Aspect is 1.00:1 - prescaling to correct movie aspect.
> VO: [directx] 480x480 => 480x480 Planar YV12

> i think ingo might have wanted switch_ratio -1 to go back to the
> original aspect ?

Yep. The original aspect is/was 1.33:1.

> was -1 ever supposed to work? -1 is not listed in the docs

Well, I don't know, but shouldn't it? At least it is handled as "special
value" in command.c:

  if (cmd->nargs == 0 || cmd->args[0].v.f == -1)

Ingo


More information about the MPlayer-dev-eng mailing list