Commit graph

32 commits

Author SHA1 Message Date
Thiago Santos
80e531a3c7 kate: Run gst-indent on .c files
kate plugin has some indentation problems, run gst-indent on them
and fix it
2010-06-07 07:38:33 -03:00
Руслан Ижбулатов
5f25780b02 Fix printf format strings for gcc 4.5
Done on Windows/MinGW.

Fixes #617146
2010-04-29 10:17:56 +02:00
Tim-Philipp Müller
95a307c904 kate: fix yet another compiler warning 2010-03-24 00:27:34 +00:00
Benjamin Otte
b7655bbd2e Add -Wredundant-decls flag
and fix warnings from it
2010-03-22 12:05:59 +01: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
334714bbc0 katedec: don't escape special characters
Don't escape special characters, as we'll send the buffer as
text/plain rather than text/x-pango-markup; this avoids e.g.
quotes from appearing as " in the rendered subtitles.

See bug #600929.
2010-02-07 10:27:58 +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
cbba9c62af kate: Lower tiger's rank to NONE again
It's not well tested yet and doesn't handle segments and text/video
synchronization properly yet. Autoplugging it will cause failures.
2009-11-06 09:16:18 +01:00
Tim-Philipp Müller
f6acdfde66 kate: printf format fixes 2009-11-05 21:51:07 +00: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
23e07bc197 kate: Change ranks of katedec and tiger to PRIMARY to be autoplugged 2009-11-03 14:51:04 +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
Tim-Philipp Müller
ead987e47d kate: fix typo in Makefile.am
GST_PLUGIN_BASE_LIBS should be GST_PLUGINS_BASE_LIBS. Fixes #593683.
2009-08-31 16:08:05 +01:00
Tim-Philipp Müller
20a4c32a0b kateenc: error out if category has not been set and check for obviously wrong values 2009-08-11 12:42:28 +01:00
Tim-Philipp Müller
24217ee31a kate: some minor clean-ups
Print flow return as string in log message; if we check the return
value of gst_buffer_new_and_alloc() we should use the _try() function
that might actually return NULL. Post error message when returning
GST_FLOW_ERROR. Use portable GLib macros to print 64-bit integers.
Don't use 0LL, that's also not portable (and unneeded here).
2009-08-08 12:49:01 +01:00
Tim-Philipp Müller
a20d86f1f5 kate: break up macros into multiple lines 2009-07-25 12:19:07 +01:00
Vincent Penquerc'h
aaed93e126 kate: use GST_ELEMENT_ERROR for error reporting
See #525743.
2009-07-25 12:13:40 +01:00
Vincent Penquerc'h
65b873df34 kate: fix time conversion from DVD style timestamps. 2009-07-21 12:57:31 +01:00
Tim-Philipp Müller
af54a9afba kate: use new GST_TAG_SUBITLE_CODEC tag instead of GST_TAG_CODEC 2009-07-21 01:06:19 +01:00
Tim-Philipp Müller
ced14a1ff7 katedec: only put primary language tag in GST_TAG_LANGUAGE
Only put primary language into GST_TAG_LANGUAGE, and convert to lower case,
ie. only use "en" of "en_GB". This is per our tag documentation and hence
what apps expect. Also add example to kateenc property description so people
know a language code is wanted here.
2009-07-21 01:02:06 +01:00
Tim-Philipp Müller
b04587f4f7 katedec: add comment why we dont' support application/x-kate here for now 2009-07-21 00:04:28 +01:00
Vincent Penquerc'h
7ae5022cee katedec: create SPU format images from suitable background images
Make katedec fabricate dvd-style subpictures for subtitle overlay
bitmaps, for easier playbin2 integration (#588638).
2009-07-21 00:01:17 +01:00
ogg.k.ogg.k
265b75ca38 kate: fix some minor memory leaks
Makes 'make check-valgrind' work for the kate unit test (#525743)
2009-07-20 23:45:47 +01:00
Vincent Penquerc'h
a7c64556ff kateenc: also recognise the new recommended 'SUB' category
Move the check for 'simple' subtitles category to a separate routine
and add in the new recommended SUB category (#525743).
2009-07-20 13:25:11 +01:00
Vincent Penquerc'h
9db1323d31 kateenc: keep bitmap/palette/region around when on the spot encoding is not possible due to an unknown end time
Fixes valgrind unitialized value report. See #525743.
2009-07-20 11:59:40 +01:00
Tim-Philipp Müller
4728d7f18e kate: add some FIXMEs 2009-07-19 23:35:05 +01:00
Tim-Philipp Müller
faf2d04696 katedec: demote to GST_RANK_NONE for now
There are still some autoplugging issues to sort out, and it needs
some testing.
2009-07-19 23:32:07 +01:00
Tim-Philipp Müller
3f347c7edd kate: make sure to free some more stuff 2009-07-19 23:16:07 +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
71e6bbd19f kate: remove local kate typefinder, use the one in -base 2009-07-19 16:04:33 +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