[MPlayer-users] [PATCH] Make "Lord of the Rings" (Region 2 DVD) "Elvish" subtitles work, and maybe others too

Linards Ticmanis ticmanis at gmx.de
Mon Jun 16 05:42:07 CEST 2003


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

The point of this is to treat "Menu ID" just like "start display", at
least for now. This way the "Elvish" sentences in the FOTR DVD get
subtitled in English (or German on this DVD) like they should be.
Otherwise even when you select the "full" subtitles, those are not
shown, and when you select the "for Elvish only" subtitles, nothing ever
appears.

- --

Linards Ticmanis

 The Master said, "The business of laying on the colors follows the
preparation of the plain ground."

Index: spudec.c
===================================================================
RCS file: /cvsroot/mplayer/main/spudec.c,v
retrieving revision 1.41
diff -u -r1.41 spudec.c
- --- spudec.c    23 Feb 2003 22:05:35 -0000      1.41
+++ spudec.c    16 Jun 2003 03:35:53 -0000
@@ -370,9 +370,9 @@
       case 0x00:
        /* Menu ID, 1 byte */
        mp_msg(MSGT_SPUDEC,MSGL_DBG2,"Menu ID\n");
- -        /* shouldn't a Menu ID type force display start? */
- -       //this->start_pts = pts100 + date;
- -       //this->end_pts = UINT_MAX;
+       start_pts = pts100 + date;
+       end_pts = UINT_MAX;
+       display = 1;
        break;
       case 0x01:
        /* Start display */


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+7TyOpXWZ5wbYWboRAsxiAJ44Rw0l9rmOZpIRlBrpOnM8nnU+ewCgzbGQ
Pw50wy7AQdpsU9Nk68Qi18c=
=+1g5
-----END PGP SIGNATURE-----



More information about the MPlayer-users mailing list