David Schleef
6786f8c7bf
kateenc: Don't error on empty input buffers
2012-01-22 15:49:44 -08:00
Edward Hervey
f70a623418
Merge remote-tracking branch 'origin/master' into 0.11-premerge
...
Conflicts:
docs/libs/Makefile.am
ext/kate/gstkatetiger.c
ext/opus/gstopusdec.c
ext/xvid/gstxvidenc.c
gst-libs/gst/basecamerabinsrc/Makefile.am
gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.c
gst-libs/gst/basecamerabinsrc/gstbasecamerasrc.h
gst-libs/gst/video/gstbasevideocodec.c
gst-libs/gst/video/gstbasevideocodec.h
gst-libs/gst/video/gstbasevideodecoder.c
gst-libs/gst/video/gstbasevideoencoder.c
gst/asfmux/gstasfmux.c
gst/audiovisualizers/gstwavescope.c
gst/camerabin2/gstcamerabin2.c
gst/debugutils/gstcompare.c
gst/frei0r/gstfrei0rmixer.c
gst/mpegpsmux/mpegpsmux.c
gst/mpegtsmux/mpegtsmux.c
gst/mxf/mxfmux.c
gst/videomeasure/gstvideomeasure_ssim.c
gst/videoparsers/gsth264parse.c
gst/videoparsers/gstmpeg4videoparse.c
2011-12-30 11:41:17 +01:00
Tim-Philipp Müller
7ca4ba9491
katetiger: don't unref NULL buffer
2011-12-15 18:14:24 +00:00
Vincent Penquerc'h
8973c6c6b8
tiger: advertise all the new YUV formats we can now use
2011-12-12 20:01:17 +00:00
Vincent Penquerc'h
83182044af
tiger: replace the new YUV blitting code with the newer overlay code
2011-12-12 19:34:32 +00:00
Tim-Philipp Müller
135239605f
kate: fix set-but-not-used-variable compiler warning
...
gstkatetiger.c:1156:15: error: variable 'height' set but not used
gstkatetiger.c:1156:8: error: variable 'width' set but not used
2011-11-29 09:22:38 +00:00
Tim-Philipp Müller
f585848d4b
Merge remote-tracking branch 'origin/master' into 0.11
2011-11-28 23:20:58 +00:00
Vincent Penquerc'h
9eb79984a8
kate: support for rendering on several YUV formats
...
This speeds up rendering a fair bit by not requiring colorspace
conversion, whether there is anything to overlay or not.
The blending code was nicked from textoverlay. I would think
this might be a helpful thing to put in, say, libgstvideo at
some point.
https://bugzilla.gnome.org/show_bug.cgi?id=660528
2011-11-28 15:28:39 +00:00
Vincent Penquerc'h
7521b597f4
various: fix pad template ref leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:08:27 +00:00
Wim Taymans
dbdaa23742
Merge branch 'master' into 0.11
...
Conflicts:
gst/colorspace/colorspace.c
2011-11-09 12:19:04 +01:00
Vincent Penquerc'h
ab27c0da8e
tiger: add a 'silent' property to skip rendering
...
https://bugzilla.gnome.org/show_bug.cgi?id=662857
2011-11-07 12:14:57 +00:00
Tim-Philipp Müller
c186b74296
kate, bayer, tsdemux: update for caps and taglist API changes
2011-10-31 14:51:01 +00:00
Wim Taymans
9ca3734e52
make elements compile again
2011-10-28 15:16:43 +02:00
Wim Taymans
a9fc805e36
kate: port to 0.11
2011-10-08 14:22:58 +02:00
Vincent Penquerc'h
fa3d661083
kate: avoid rendering when we know there is nothing to render
...
https://bugzilla.gnome.org/show_bug.cgi?id=660528
2011-10-03 10:38:43 +02:00
Vincent Penquerc'h
12bb47343d
kate: fix race condition on PAUSED->READY state change
...
https://bugzilla.gnome.org/show_bug.cgi?id=660630
2011-10-03 10:36:35 +02:00
Vincent Penquerc'h
70be630427
kate: forward return code from setting src pad caps
...
https://bugzilla.gnome.org/show_bug.cgi?id=659606
2011-09-21 13:59:54 +02:00
Vincent Penquerc'h
c8bda2ed76
kate: flush on seek, and ensure we cancel any waiting buffer
...
This is what pango textoverlay does, and I've had that condition
variable get stuck once.
https://bugzilla.gnome.org/show_bug.cgi?id=658940
2011-09-19 09:35:24 +02:00
Stefan Sauer
e21c4abc50
kateparse: fix crap in object macros
2011-09-07 15:50:42 +02:00
Tim-Philipp Müller
dc3db053b5
kate: make gst_kate_util_is_utf8_string() inline to fix compiler warning with older libkate versions
...
gstkateutil.c:230:1: error: 'gst_kate_util_is_utf8_string' defined but not used
2011-08-24 16:54:31 +01:00
Vincent Penquerc'h
d1a6ca2203
kate: pass on timed event metadata as tags when we can
...
Metadata attached to other objects that may be used in this
event are not passed, as is binary metadata.
2011-08-23 10:34:48 +02:00
Vincent Penquerc'h
1ed91ad1db
kate: do not consider an empty SPU to be a fatal error
...
Instead, just encode nothing and go on.
https://bugzilla.gnome.org/show_bug.cgi?id=657091
2011-08-23 10:16:30 +02:00
Vincent Penquerc'h
46cfb5fa4f
kate: do not clear out high bits from display area
...
http://dvd.sourceforge.net/spu_notes does not mention that high bits
are to be masked, and not clearing them makes a sample work, where
clearing them yielded left > right.
History from the dvdspu plugin, from where this code was copied,
does not shed any light, as tracing this code's origin shows
the same bitmasks being there in 2007 when it was imported.
https://bugzilla.gnome.org/show_bug.cgi?id=657091
2011-08-23 10:16:22 +02:00
David Schleef
6a259e2a0d
kateenc: Fix uninitialized error
2011-08-03 13:39:34 -07:00
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
4b56970d58
kate: reenable the sending of a message for tags
...
https://bugzilla.gnome.org/show_bug.cgi?id=638412
2011-01-02 13:34:53 +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
2a2c76cdbd
tiger: Give tiger primary rank
2010-12-25 17:00:22 +01: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
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