[Bug 775965] ttmlparse: Collect buffers until detecting complete xml document

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Dec 12 12:48:44 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=775965

--- Comment #8 from Seungha Yang <sh.yang at lge.com> ---
(In reply to Sebastian Dröge (slomo) from comment #7)
> Is that going to make anything easier? In general, sure... but I'm not sure
> how well baseparse fits for how ttmlparse works.

converting baseclass to baseparse seems to be reasonable to me.

- Because nobody guarantee that input buffers are complete xml document, make
use of basepasrse's buffer gathering logic can make the code simple, I think.
- One feature of ttml is xml document can be demuxed (?) into multiple buffer,
but it also be covered by baseparse's API. 
- One left tricky thing is setting PTS on buffer based on input buffer's PTS
and duration, but it's a challenge for both current ttmlparse based and
baseparse based.

I'll take a look at the structure more.

-- 
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