Vincent Penquerc'h
bcaf5890aa
adder: send a flush event before trying to get the stream lock
...
This avoids hanging when the streaming thread is busy in _chain
waiting for preroll.
https://bugzilla.gnome.org/show_bug.cgi?id=666379
2011-12-16 17:36:02 +00:00
Vincent Penquerc'h
229377fb6b
oggdemux: assume live stream if byte size cannot be determined
...
This prevents trying to seek and failing, then ending up unable
to stream because we can't get back at the headers.
A more robust way would be to find a good place to reinject the
headers when a seek fails, but I can't seem to get this to work.
2011-12-16 15:29:21 +00:00
Thiago Santos
d798cc1b8d
tag: exif: do not include \0 in size passed to g_convert
...
When using g_convert, we should only pass the length
of the string content (without the \0) as g_convert will
only parse the real contents when changing formats. Including
the \0 causes it to add another \0, increasing the string
size when not needed.
For example, when writting a North geo location ref entry, that should
be a string with a single N letter, it would write:
"N\0\0", causing the string to have size 3, instead of 2 as expected.
In our case, we can pass -1 and let g_convert calculate the strlen as
we don't use the length anywhere else.
This fixes jifmux's tests on gst-plugins-bad.
2011-12-15 12:08:51 -03:00
Vincent Penquerc'h
a3c5abf97f
adder: port to GstCollectPads2
2011-12-14 18:26:07 +00:00
Christian Fredrik Kalager Schaller
0d552ae53d
Fix 666168, add missing allow-None to encodebin APIs
2011-12-14 17:34:55 +00:00
Mark Nauwelaerts
60d5d08fbb
decodebin2: tweak chain topology description
...
... to also properly indicate chain's endpad if no elements are in the
chain (due to the endpad being a raw demuxer pad, or one setup without
decoders since uridecodebin or higher up decided not to need those).
2011-12-14 17:53:38 +01:00
Tim-Philipp Müller
d5ae24fe91
encoding-profile: add some missing allow-none g-i annotations
...
Fix gst_encoding_container_profile_new() annotations.
https://bugzilla.gnome.org/show_bug.cgi?id=666096
2011-12-14 12:28:26 +00:00
Stefan Sauer
d0a5cb8c01
riff-media: port GST_BUFFER_DATA to 0.11 in conditional code branch
2011-12-14 11:31:31 +01:00
Vincent Penquerc'h
12be1e6fc5
baseaudiosink: fix late buffer leak
2011-12-13 12:55:45 +00:00
Sebastian Dröge
cd11d68716
subtitleoverlay: Refactor code to check if a property exists on an element
2011-12-13 13:31:03 +01:00
Sebastian Dröge
87a4cbd0e3
subtitleoverlay: Refactor autoplugging code and select overlay element by rank too
...
Previously we always used textoverlay for rendering the output of
a parser, now the same code as for the renderers is used and the
element with the highest rank is used.
Fixes bug #663822 .
2011-12-13 13:31:03 +01:00
Sebastian Dröge
739de5fbf9
glib-compat: Add license boilerplate for LGPL
2011-12-13 00:03:28 +00:00
Christian Fredrik Kalager Schaller
0046224d35
Update file locations for 0.11
2011-12-12 17:27:10 +00:00
Tim-Philipp Müller
bd3f0e8b25
po: update translations
2011-12-12 13:02:01 +00:00
Tim-Philipp Müller
cab753cf7b
Require gobject-introspection >= 1.31.1
...
Same as core.
2011-12-12 12:59:44 +00:00
Tim-Philipp Müller
6bec783380
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
gst-plugins-base.spec.in
po/LINGUAS
po/cs.po
po/eo.po
po/es.po
po/gl.po
po/lv.po
po/sr.po
2011-12-12 12:40:17 +00:00
Tim-Philipp Müller
ee93a0c31c
po: update translations
2011-12-11 17:20:45 +00:00
Wim Taymans
59d5ad42b0
rtsp: use rtpbin
2011-12-09 19:22:21 +01:00
Wim Taymans
6be9a67148
rtp: add INIT macros
2011-12-09 19:22:21 +01:00
Christian Fredrik Kalager Schaller
0b4eee2392
Add latest header file to spec file
2011-12-09 15:39:12 +00:00
Tim-Philipp Müller
06f51b9a96
tests: disable composition tests in video unit test for now
2011-12-09 15:06:51 +00:00
Tim-Philipp Müller
54c5cd8c3f
rtpbuffer: add GST_RTP_BUFFER_INIT to initialize RTP buffers on the stack
...
Fixes build of -good.
2011-12-09 15:03:41 +00:00
Tim-Philipp Müller
b950b930ae
Merge remote-tracking branch 'origin/master' into 0.11
2011-12-09 12:08:37 +00:00
Tim-Philipp Müller
debe9caa36
typefindfunctions: only typefind text with a BOM as text/utf16 or text/utf32
...
We added the utf typefinder because the mp3 typefinder was a tad
overzealous when it came to typefinding things as mp3, and replaced
it with even more overzealous utf16/32 typefinders.
Fixes unit test.
2011-12-09 01:33:58 +00:00
Tim-Philipp Müller
e286db3ce6
Revert "tests: fix audiocdsrc for changed preroll behaviour"
...
This reverts commit 2c9d442d51
.
Behaviour changed again, so revert this.
2011-12-08 01:21:18 +00:00
Tim-Philipp Müller
fb6d09055a
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
ext/alsa/gstalsadeviceprobe.c
ext/alsa/gstalsamixer.c
ext/pango/gsttextoverlay.c
ext/pango/gsttextoverlay.h
gst-libs/gst/audio/gstaudiobasesink.c
gst-libs/gst/audio/gstaudioringbuffer.c
gst-libs/gst/audio/gstaudiosrc.c
gst-libs/gst/video/Makefile.am
gst-libs/gst/video/video.c
gst/encoding/gststreamcombiner.c
gst/encoding/gststreamsplitter.c
gst/playback/gstplaybasebin.c
gst/playback/gststreamsynchronizer.c
gst/playback/gstsubtitleoverlay.c
gst/playback/gsturidecodebin.c
sys/xvimage/xvimagesink.c
tests/examples/Makefile.am
win32/common/libgstvideo.def
Video overlay composition disabled for now, needs
porting to buffer meta.
2011-12-08 01:19:03 +00:00
Tim-Philipp Müller
91bbfbd819
video: make composition_blend() return a boolean
...
Not that anyone will ever check that, and it's not clear what
they're supposed to do if it fails, but at least it's there.
2011-12-07 18:45:28 +00:00
Tim-Philipp Müller
6757afc0bc
docs: add new API to docs
2011-12-07 18:38:06 +00:00
Tim-Philipp Müller
5037b39883
video: add seqnum getters for overlay compositions and rectangles
...
API: gst_video_overlay_composition_get_seqnum()
API: gst_video_overlay_rectangle_get_seqnum()
2011-12-07 17:57:08 +00:00
Thibault Saunier
39c5015ed0
video: support any type of video in _parse_caps
...
Slight change in semantics for convenience. Shouldn't cause any
problems since this function is usually only used on pre-filtered
caps and not random caps, and it's hard to imagine a situation
where someone would want to rely on the previous behaviour.
2011-12-07 15:51:14 +00:00
Tim-Philipp Müller
99c7a51908
videorate: don't leak previous buffer when shutting down
...
Implement stop vfunc after port to basetransform, so we
can clean up properly. Fixes make elements/videorate.valgrind
2011-12-06 21:57:32 +00:00
Tim-Philipp Müller
b58b8b1ba5
tests: fix calculation of last pixel offset in video unit test
...
And check the right buffer (pix2) in one case.
2011-12-06 20:31:54 +00:00
Tim-Philipp Müller
d59648a47f
examples: fix build of fft example
...
Should link against our own libgstfft-0.10.
2011-12-06 15:01:05 +00:00
Tim-Philipp Müller
61d0ab1faa
video: fix leak in gst_video_format_new_template_caps()
...
g_value_reset() is not the same as g_value_unset()
2011-12-06 14:55:54 +00:00
Wim Taymans
f096b8a8d8
ringbuffer: remove old _full version
2011-12-06 15:06:12 +01:00
Wim Taymans
9e97260c9f
fix for basesrc changes
2011-12-06 13:59:11 +01:00
Thibault Saunier
8728023f00
subtitleoverlay: add suport for hardware accelerated videos
...
Don't plug converters for non-raw video.
2011-12-06 12:44:24 +00:00
Stefan Sauer
43aa0a8aca
controller: port to GstValueArray removal API change
2011-12-06 08:37:32 +01:00
Wim Taymans
b53c02417c
Revert "videoconvert: We can handle GST_VIDEO_META_API"
...
This reverts commit bd539753eb
.
Adding the supported metadata to the query does nothing at this stage. Proposing
allocation parameters and supported metadata for upstream should use the
propose_allocation vmethod.
2011-12-05 20:33:41 +01:00
Edward Hervey
ea0ed511f8
rtp: Initialize GstRTPBuffer before usage
2011-12-05 18:42:24 +01:00
Edward Hervey
bd539753eb
videoconvert: We can handle GST_VIDEO_META_API
2011-12-05 18:30:50 +01:00
Edward Hervey
94230af7a3
rtp: Don't forget to initialize GstRTPBuffer
2011-12-05 18:30:37 +01:00
Tim-Philipp Müller
7d20a7bdb9
video: don't use deprecated GStaticMutex with newer glib versions
2011-12-05 15:48:07 +00:00
Tim-Philipp Müller
8b8dd06de4
examples: dist fft sub-directory
2011-12-05 15:37:04 +00:00
Thibault Saunier
785e006de9
textoverlay: unpremultiply text image
...
The GstVideoOverlayComposition only supports unpremultiplied ARGB
(for now anyway, support for pre-multiplied alpha is planned.)
2011-12-05 15:37:04 +00:00
Thibault Saunier
cbcf1e0b46
textoverlay: Attach OverlayComposition to buffers when needed
...
Add video/x-surface support in the caps
We should then attach it whenever the sink supports it, but this
is working for the time being
2011-12-05 15:37:04 +00:00
Thibault Saunier
2a687b6dfb
textoverlay: Make the text_image data a buffer
...
This way we won't free data that would be attached to some buffer.
2011-12-05 15:37:03 +00:00
Thibault Saunier
a741c0cf11
textoverlay: Sync the caps with the new supported formats
...
Thanks to the use of the new video composition library, we gain support to
more colospaces and formats, let's state it.
2011-12-05 15:37:03 +00:00
Thibault Saunier
a018c187a0
textoverlay: Make use of the new video blending utility
2011-12-05 15:37:03 +00:00
Tim-Philipp Müller
00d6ffd9f5
tests: add basic unit test for video overlay composition and rectangles
2011-12-05 15:37:02 +00:00