Commit graph

18 commits

Author SHA1 Message Date
Vincent Penquerc'h
0b790b663c kate: ensure the kate pad does not shoot ahead of the video pad
Sync both pads by waiting in the kate chain function.
Do not reset our internal segment from segment updates, in order
to be able to map video running time to kate running time, to
give libtiger the timestamp it expects. This allows us to use
running time to sync to video, which is The Right Way.

https://bugzilla.gnome.org/show_bug.cgi?id=600929
2011-01-14 00:28:41 +00:00
Vincent Penquerc'h
73923c4a6e tiger: outline text by default, to make it easier to read
https://bugzilla.gnome.org/show_bug.cgi?id=638527
2011-01-02 19:44:22 +00:00
Tim-Philipp Müller
992c05f840 kate: fix caps and string leaks and some minor clean-ups
Don't leak source caps. Use GST_PTR_FORMAT to log caps, so
we don't need to leak strings from gst_caps_to_string().
No need to use GST_DEBUG_FUNCPTR for vfuncs where the base
class will never look them up (like property getters/setters).
Don't use g_return_*_if_fail() for things that aren't directly
programming errors (by the application developer).

Fixes kate unit test under valgrind.
2011-01-02 13:57:58 +00:00
Vincent Penquerc'h
857e3dda46 tiger: fallback on headers in caps to initialize if headers are absent
When Totem switches streams, tiger will be reset, and start receiving
buffers from the middle of the stream, without being sent headers.
If this happens, try to get headers from the caps.

https://bugzilla.gnome.org/show_bug.cgi?id=638004
2010-12-26 21:47:53 +00:00
Vincent Penquerc'h
74d82c4c1e kate: if seeking with GST_SEEK_TYPE_CUR, flush everything
We don't know how to calculate the target, so be safe.

https://bugzilla.gnome.org/show_bug.cgi?id=600929
2010-12-25 17:21:41 +00:00
Tim-Philipp Müller
5dac64b20a tiger: move #if #else bits outside of macro
Some compilers/preprocessors don't like if/else/endif preprocessor
directives in the middle of macros.
2010-12-25 16:44:03 +00:00
Vincent Penquerc'h
8574e8f991 kate: add segment tracking, and various other improvements
https://bugzilla.gnome.org/show_bug.cgi?id=600929
2010-12-25 16:59:22 +01:00
Stefan Kost
0387a89cad various (ext): add missing G_PARAM_STATIC_STRINGS flags
Canonicalize property names as needed.
2010-10-19 17:13:26 +03:00
Tim-Philipp Müller
95a307c904 kate: fix yet another compiler warning 2010-03-24 00:27:34 +00:00
Benjamin Otte
775c7584fd gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 22:46:41 +01:00
Vincent Penquerc'h
dfd5b4c99f kate: rename the tiger overlay element's sink pad to 'subtitle_sink'
As this is what playbin2 expects. See bug #600929.
2010-02-07 10:20:50 +01:00
Sebastian Dröge
fcdad69e7f tiger: Make sure that tiger is not autoplugged by decodebin2
It's not really a decoder...
2009-11-03 15:08:02 +01:00
Sebastian Dröge
773a8bfb6c tiger: Change name of the subtitle sink template and classification
This will make sure that subtitleoverlay can work with tiger.
2009-11-03 14:51:04 +01:00
Vincent Penquerc'h
aaed93e126 kate: use GST_ELEMENT_ERROR for error reporting
See #525743.
2009-07-25 12:13:40 +01:00
Tim-Philipp Müller
4728d7f18e kate: add some FIXMEs 2009-07-19 23:35:05 +01:00
Tim-Philipp Müller
71efbb1e73 kate: fix up for additional subtitle/x-kate media type 2009-07-19 22:29:19 +01:00
Tim-Philipp Müller
ce0d40b634 kate: change media type to subtitle/x-kate and update define accordingly 2009-07-19 16:04:32 +01:00
Vincent Penquerc'h
e88984ccbd add new Kate plugin, for Kate overlay streams
katedec: Kate decoder (text only)
kateenc: Kate encoder (text and DVD SPU only)
katetag: Kate tagger
kateparse: Kate parser
tiger: Kate renderer using the Tiger rendering library

Fixes #525743.
2009-07-19 16:04:32 +01:00