[MPlayer-users] [SOLVED] Regression: Subtitles too high when playing through DVB

Philou philou at philou.org
Thu Apr 6 12:04:21 CEST 2006


Hello,

On Sat, 11 Mar 2006 01:54:55 +0100
Philou <philou at philou.org> wrote:

  | 
  |  Hello,
  | 
  | I've noticed that since a few months, subtitles played through DVB with the mplayer plugin
  | of my VDR box are too high on the screen.
  | 
  | You can have a look of a faulty mplayer version (few days old CVS) here:
  | 
  | http://philou.org/subtitles-too-high1.jpg
  | http://philou.org/subtitles-too-high2.jpg (same picture , a bit closer)
  | 
  | I've found out that with CVS version from 2005-09-24, subtitles location is ok
  | http://philou.org/subtitles-2005-09-24-ok.jpg
  | 
  | But with another mplayer CVS from 2005-12-22, problem still occurs.
  | 
  | Any idea ?
  | 
  | I'll do some dichotomy to find out the exact day where problem occured

Well, i actually did find out the exact day when the change occured :

On 2005-10-24, in libvo/sub.c :

diff -Nur /tmp/sub.c-2005-10-23 /tmp/sub.c-2005-10-24
--- /tmp/sub.c-2005-10-23	2006-04-06 10:12:02.000000000 +0200
+++ /tmp/sub.c-2005-10-24	2006-04-06 10:12:26.000000000 +0200
@@ -61,7 +61,7 @@
 int sub_utf8=0;
 int sub_pos=100;
 int sub_width_p=100;
-int sub_alignment=0; /* 0=top, 1=center, 2=bottom */
+int sub_alignment=2; /* 0=top, 1=center, 2=bottom */
 int sub_visibility=1;
 int sub_bg_color=0; /* subtitles background color */
 int sub_bg_alpha=0;

Well, this change is actually easily solved by adjusting -subpos value,
so everything is ok again ;)

Thanks,

Philippe




More information about the MPlayer-users mailing list