[prev in list] [next in list] [prev in thread] [next in thread]
List: xine-devel
Subject: [xine-devel] Re: [PATCH] Subtitle format
From: "Sylvain \"Skarsnik\" Colinet" <scolinet () gmail ! com>
Date: 2004-10-28 14:33:14
Message-ID: 903bdef204102807336695f19f () mail ! gmail ! com
[Download RAW message or body]
On Mon, 18 Oct 2004 23:08:59 +0200, Sylvain Colinet <scolinet@gmail.com> wrote:
> So I actually work on both mplayer and xine source code for add very
> specials features on subtitle. I see that xine subtitle parser is the
> same as mplayer, so I update the xine file because this one is quite
> old.
>
> Fix dunnot what format
> add mpl2 format
>
> I haven't subtitle file to test but the changes I made a very simple.
>
>
>
Arf i make a big mistake
so here a small patch :
--- demux_sputext.c 2004-10-28 16:28:31.000000000 +0200
+++ src/libsputext/demux_sputext.c 2004-10-28 16:29:03.000000000 +0200
@@ -1128,13 +1128,12 @@
xprintf (this->stream->xine, XINE_VERBOSITY_DEBUG, "subrip 0.9
subtitle format detected\n");
return FORMAT_SUBRIP09;
}
- }
-
if (sscanf (line, "[%d][%d]", &i, &i) == 2) {
this->uses_time = 1;
xprintf (this->stream->xine, XINE_VERBOSITY_DEBUG, "mpl2
subtitle format detected\n");
return FORMAT_MPL2;
}
+ }
return FORMAT_UNKNOWN; /* too many bad lines */
}
--
Sylvain "Skarsnik" Colinet
Victory was near but the power of the ring couldn't be undone
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
xine-devel mailing list
xine-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xine-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic