dvbsuboverlay: Implement subtitle queueing and syncing with video
authorMart Raudsepp <mart.raudsepp@collabora.co.uk>
Wed, 1 Dec 2010 04:01:15 +0000 (06:01 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Wed, 8 Dec 2010 15:30:10 +0000 (16:30 +0100)
commit3d09a3b18ab52e72c4c73b2b2e8dc7033d6c8b36
treeca90d138230a1d042056d93778ecf53f26eae109
parent41c82583f50512cc1a41b05afc5045ceb1f5f4bb
dvbsuboverlay: Implement subtitle queueing and syncing with video

Push incoming subtitle pages in a FIFO queue (pending_subtitles)
and dequeue the head when it's time to show it (when video running
time reaches the subtitle page running time).
Keep the subtitle page, that is supposed to be blended on top of video
currently, in a separate object variable (current_subtitle). As a
next step we can then pre-render current_subtitle to a better to blend
format.
gst/dvbsuboverlay/gstdvbsuboverlay.c
gst/dvbsuboverlay/gstdvbsuboverlay.h