[gstreamer-bugs] [Bug 343281] [subparse] support for JACOSub subtitles

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon May 29 02:44:10 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=343281
 GStreamer | gst-plugins-base | Ver: HEAD CVS





------- Comment #1 from Joni Valtanen  2006-05-29 09:44 UTC -------
Created an attachment (id=66407)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=66407&action=view)
JACOsub support for GStreamer

It works but there might be unnessessary string copying etc.

How it works:
1. Puts line to buffer with time.
2. Gets new line
3.0 Checks if next line is same time than previous
3.1 If time is not same? Returns buffered line and go to 1.
3.2 If time is same? Copy only text to buffer.
4. Go to 1.

Same time in two subtitles is speciality of subtitle format. There is also
newline, directive and tag cases implemented.

TODO:
-Get time from lines like: @0007000 @0008000  Subtitle....
-Better format detect. When ever  gst_sub_parse_data_format_autodetect is
fixed.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list