[gstreamer-bugs] [Bug 530962] [subparse] parses only every second line of TMPlayer subtitle

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun May 4 06:08:10 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=530962

  GStreamer | gst-plugins-base | Ver: 0.10.19




------- Comment #9 from Tomasz Sałaciński  2008-05-04 13:08 UTC -------
I've made a little change as you suggested, check the attachment. There is
little overhead right now (it can be noticed, but it works much faster).

It should work like this:

00:14:40:SUB1 long          <- 1
00:14:46:SUB2 short         <- 2
00:14:48:SUB3 normal        <- 3
00:14:51:SUB3 normal        <- 4

Let's say, maximum subtitle duration is hardcoded to 5 seconds (in some players
there is an option to change that, but we are talking about a library, not
player). So, the parser should display the sub no. 1 from 00:14:40 to 00:14:45.
Then one second of rest, then normally show the rest. Before returning the
subtitle, it should check for italics (beginning and trailing slash indicates
the text is italic. If there is slash only at the end, it shouldn't be
removed).

This is basically how should it work.

I need to know how to check if the file will pass tests, as you mentioned.
Should it just compile or what?


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=530962.




More information about the Gstreamer-bugs mailing list