platform/upstream/gstreamer.git
12 years agoxmptag: migrate to the _full version of the API and drop the _full postfix
Stefan Sauer [Wed, 12 Sep 2012 19:32:04 +0000 (21:32 +0200)]
xmptag: migrate to the _full version of the API and drop the _full postfix

Fix up all invocations.

12 years agocollectpads: remove gst_collect_pads_add_pad_full
Stefan Sauer [Wed, 12 Sep 2012 19:03:21 +0000 (21:03 +0200)]
collectpads: remove gst_collect_pads_add_pad_full

Rename gst_collect_pads_add_pad_full() to gst_collect_pads_add_pad() and fix all
invocations.

12 years agotests: port to the new GLib thread API
Mark Nauwelaerts [Wed, 12 Sep 2012 10:54:07 +0000 (12:54 +0200)]
tests: port to the new GLib thread API

12 years agotests: fix unit test
Wim Taymans [Wed, 12 Sep 2012 08:12:25 +0000 (10:12 +0200)]
tests: fix unit test

Add support for I422_10

12 years agovideo: Add support for 4:2:2 10 bit video.
Michael Smith [Wed, 12 Sep 2012 07:54:53 +0000 (09:54 +0200)]
video: Add support for 4:2:2 10 bit video.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=683838

12 years agotagdemux: also read tags if downstream activates us in pull mode right away
Tim-Philipp Müller [Tue, 11 Sep 2012 19:53:16 +0000 (20:53 +0100)]
tagdemux: also read tags if downstream activates us in pull mode right away

Fix reading of tags for the case filsrc ! footagdemux ! fooparse ! ..
where we would not read the tags because we never start our own
streaming thread.

https://bugzilla.gnome.org/show_bug.cgi?id=673185

12 years agoext, gst-libs: only activate in pull mode if upstream is seekable
Mark Nauwelaerts [Tue, 11 Sep 2012 15:36:36 +0000 (17:36 +0200)]
ext, gst-libs: only activate in pull mode if upstream is seekable

12 years agosubparse: Call default query handler
Edward Hervey [Tue, 11 Sep 2012 14:28:26 +0000 (16:28 +0200)]
subparse: Call default query handler

12 years agostreamsynchronizer: Don't wait on non-time streams
Edward Hervey [Tue, 11 Sep 2012 14:27:24 +0000 (16:27 +0200)]
streamsynchronizer: Don't wait on non-time streams

streams with non-TIME segments will not have timestamps ...
... and therefore will never unblock the other streams.

Fixes blocking issue when using playbin suburi feature

12 years agovideo-info: don't do alignment on the palette
Wim Taymans [Tue, 11 Sep 2012 10:53:01 +0000 (12:53 +0200)]
video-info: don't do alignment on the palette

Don't align the palette data. Fixes endless loop when trying to align
paletted formats.

12 years agovideoscale: improve handling of navigation events
Wim Taymans [Tue, 11 Sep 2012 08:56:43 +0000 (10:56 +0200)]
videoscale: improve handling of navigation events

Only make the navigation event writable when we need to change it.

12 years agotests: fix up libsabi test structure sizes for x86-64
Tim-Philipp Müller [Tue, 11 Sep 2012 00:43:37 +0000 (01:43 +0100)]
tests: fix up libsabi test structure sizes for x86-64

12 years agogdp: move gdp plugin to -bad
Tim-Philipp Müller [Tue, 11 Sep 2012 00:31:54 +0000 (01:31 +0100)]
gdp: move gdp plugin to -bad

It needs to be reworked for 1.0

12 years agowin32: add new ringbuffer API to exports file
Tim-Philipp Müller [Mon, 10 Sep 2012 20:20:17 +0000 (21:20 +0100)]
win32: add new ringbuffer API to exports file

12 years agotagdemux: operate in pull mode
Tim-Philipp Müller [Mon, 10 Sep 2012 15:13:34 +0000 (17:13 +0200)]
tagdemux: operate in pull mode

When we are operating in pull mode, we need to pull from upstream and push
downstream. Also make sure to push tags first.

12 years agovideo: add some padding
Mark Nauwelaerts [Mon, 10 Sep 2012 12:00:35 +0000 (14:00 +0200)]
video: add some padding

... and clean up some related resolved FIXMEs

12 years agovideoscale: remove defunct commented code
Mark Nauwelaerts [Mon, 10 Sep 2012 10:45:28 +0000 (12:45 +0200)]
videoscale: remove defunct commented code

12 years agotcp: adjust comment style
Mark Nauwelaerts [Mon, 10 Sep 2012 10:45:17 +0000 (12:45 +0200)]
tcp: adjust comment style

12 years agoaudiosrc: check for flushing state in provide_clock
Wim Taymans [Mon, 10 Sep 2012 10:12:48 +0000 (12:12 +0200)]
audiosrc: check for flushing state in provide_clock

Only provide a clock when we are not flushing, this means that we have posted a
PROVIDE_CLOCK message. We used to check if we were acquired but that doesn't
work anymore now that we do the negotiation async in the streaming thread: it's
possible that we are still negotiating when the pipeline asks us for a clock.

12 years agoringbuffer: add method to check the flushing state
Wim Taymans [Mon, 10 Sep 2012 10:12:26 +0000 (12:12 +0200)]
ringbuffer: add method to check the flushing state

12 years agogst-libs: restore original full padding
Mark Nauwelaerts [Mon, 10 Sep 2012 09:41:22 +0000 (11:41 +0200)]
gst-libs: restore original full padding

12 years agoringbuffer: add support for timestamps
Pontus Oldberg [Mon, 10 Sep 2012 09:26:38 +0000 (11:26 +0200)]
ringbuffer: add support for timestamps

Make it possible for subclasses to provide the timestamp (as an absolute time
against the pipeline clock) of the last read data.
Fix up alsa to provide the timestamp received from alsa. Because the alsa
timestamps are in monotonic time, we can only do this when the monotonic clock
has been selected as the pipeline clock.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=635256

12 years agoaudio{de,en}coder: use GstClockTime parameters where appropriate
Mark Nauwelaerts [Mon, 10 Sep 2012 09:20:34 +0000 (11:20 +0200)]
audio{de,en}coder: use GstClockTime parameters where appropriate

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=683672

12 years agoRemove some #define GLIB_DISABLE_DEPRECATION_WARNINGS that are no longer needed
Tim-Philipp Müller [Mon, 10 Sep 2012 00:26:57 +0000 (01:26 +0100)]
Remove some #define GLIB_DISABLE_DEPRECATION_WARNINGS that are no longer needed

12 years agoxvimagesink: port to new GLib thread API
Tim-Philipp Müller [Mon, 10 Sep 2012 00:26:20 +0000 (01:26 +0100)]
xvimagesink:  port to new GLib thread API

12 years agoappsrc: don't clear/free GCond twice
Tim-Philipp Müller [Mon, 10 Sep 2012 00:16:41 +0000 (01:16 +0100)]
appsrc: don't clear/free GCond twice

12 years agodiscoverer: port to new GLib thread API
Tim-Philipp Müller [Mon, 10 Sep 2012 00:10:33 +0000 (01:10 +0100)]
discoverer: port to new GLib thread API

12 years agoplayback: port to new GLib thread API
Tim-Philipp Müller [Mon, 10 Sep 2012 00:10:24 +0000 (01:10 +0100)]
playback: port to new GLib thread API

12 years agooggdemux: port to new GLib thread API
Tim-Philipp Müller [Mon, 10 Sep 2012 00:08:51 +0000 (01:08 +0100)]
oggdemux: port to new GLib thread API

12 years agoalsa: port to new GLib thread API
Tim-Philipp Müller [Mon, 10 Sep 2012 00:06:51 +0000 (01:06 +0100)]
alsa: port to new GLib thread API

12 years agoximagesink: port to the new GLib thread API
Tim-Philipp Müller [Mon, 10 Sep 2012 00:03:52 +0000 (01:03 +0100)]
ximagesink: port to the new GLib thread API

12 years agortsp: port to the new GLib thread API
Thibault Saunier [Sun, 9 Sep 2012 23:36:05 +0000 (20:36 -0300)]
rtsp: port to the new GLib thread API

12 years agovideo: port to the new GLib thread API
Thibault Saunier [Sun, 9 Sep 2012 23:34:56 +0000 (20:34 -0300)]
video: port to the new GLib thread API

12 years agoaudio: port to the new GLib thread API
Thibault Saunier [Sun, 9 Sep 2012 23:34:47 +0000 (20:34 -0300)]
audio: port to the new GLib thread API

12 years agoapp: port to the new GLib thread API
Thibault Saunier [Sun, 9 Sep 2012 23:34:35 +0000 (20:34 -0300)]
app: port to the new GLib thread API

12 years agovideo/x-3ivx -> video/mpeg, mpegversion=4
Tim-Philipp Müller [Sun, 9 Sep 2012 23:28:15 +0000 (00:28 +0100)]
video/x-3ivx -> video/mpeg, mpegversion=4

12 years agodiscoverer: extract audio depth correctly
Tim-Philipp Müller [Sun, 9 Sep 2012 20:11:20 +0000 (21:11 +0100)]
discoverer: extract audio depth correctly

But we should only do that if it comes straight from a
container or wavparse, not if it comes from a decoder,
otherwise it's probably not really meaningful.

12 years agodiscoverer: reflow some code to avoid gst-indent ping-pong
Tim-Philipp Müller [Sun, 9 Sep 2012 18:48:54 +0000 (19:48 +0100)]
discoverer: reflow some code to avoid gst-indent ping-pong

12 years agodocs: update plugin docs
Tim-Philipp Müller [Sun, 9 Sep 2012 17:48:55 +0000 (18:48 +0100)]
docs: update plugin docs

12 years agoRemove glib-compat-private.h stuff we don't need any more
Tim-Philipp Müller [Sun, 9 Sep 2012 17:36:49 +0000 (18:36 +0100)]
Remove glib-compat-private.h stuff we don't need any more

It's all been ported to the latest GLib API now.

12 years agoinstall-plugins: constify _install_*sync() details array arguments
Tim-Philipp Müller [Sun, 9 Sep 2012 17:29:40 +0000 (18:29 +0100)]
install-plugins: constify _install_*sync() details array arguments

12 years agowin32: update .def file for video overlay API additions
Tim-Philipp Müller [Sun, 9 Sep 2012 17:20:45 +0000 (18:20 +0100)]
win32: update .def file for video overlay API additions

12 years agogdp: dump bytes into debug log using GST_MEMDUMP
Tim-Philipp Müller [Sun, 9 Sep 2012 17:05:55 +0000 (18:05 +0100)]
gdp: dump bytes into debug log using GST_MEMDUMP

Instead of home-grown solution.

12 years agoaudiorate: default to tolerance = 40ms instead of 0
Tim-Philipp Müller [Sun, 9 Sep 2012 14:58:36 +0000 (15:58 +0100)]
audiorate: default to tolerance = 40ms instead of 0

People expect audiorate to fix things up and not make things worse
by default, so let's default to a similar tolerance as audiosinks
do. Should help with transcoding and the like, though one might
possible still want higher values then.

12 years agovideoconvert: fix up dither method enum GType name for consistency
Tim-Philipp Müller [Sun, 9 Sep 2012 14:12:14 +0000 (15:12 +0100)]
videoconvert: fix up dither method enum GType name for consistency

12 years agomulti{fd,socket}sink: rename client-handle-removed signal to client-{fd,socket}-removed
Tim-Philipp Müller [Sun, 9 Sep 2012 01:00:49 +0000 (02:00 +0100)]
multi{fd,socket}sink: rename client-handle-removed signal to client-{fd,socket}-removed

12 years agomultifdsink, multisocketsink: fix broken action signal setup
Tim-Philipp Müller [Sun, 9 Sep 2012 00:20:38 +0000 (01:20 +0100)]
multifdsink, multisocketsink: fix broken action signal setup

We can't just make a vfunc that takes a union of int
and pointer as argument, and then set up subclass-specific
action signals and signals that take int (in multifdsink's
case) or a GSocket * (in multisocketsink's case), and then
expect everything to Just Work. This blows up spectacularly
on PPC G4 for some reason.

Fixes multifdsink unit test on PPC, and fixes aborts in
multisocketunit test (now hangs in gst_pad_push - progress).

12 years agotests: fix socket leaks in multisocketsink unit test
Tim-Philipp Müller [Sat, 8 Sep 2012 23:18:16 +0000 (00:18 +0100)]
tests: fix socket leaks in multisocketsink unit test

12 years agolibvisual: fix crashes and invalid writes in totem
Tim-Philipp Müller [Sat, 8 Sep 2012 21:56:56 +0000 (22:56 +0100)]
libvisual: fix crashes and invalid writes in totem

This reverts part of "visual: enable commented out code again."
(commit 8222ba16c8f671dc03e24e7b60e3e703046e58c1).

The shader code does indeed look broken (or rather,
it makes assumptions that are not necessarily true here,
namly that pixel stride is 4, for example), which
makes totem very crashy and causes other weird behaviour.

Also see https://bugzilla.gnome.org/show_bug.cgi?id=683527

12 years agovideoencoder: only set invalid DTS equal to PTS for keyframe
Mark Nauwelaerts [Fri, 7 Sep 2012 15:41:27 +0000 (17:41 +0200)]
videoencoder: only set invalid DTS equal to PTS for keyframe

Also add a bit more debug.

See also https://bugzilla.gnome.org/show_bug.cgi?id=679443

12 years agotests: fix audioresample unit test for big-endian systems
Tim-Philipp Müller [Fri, 7 Sep 2012 00:39:38 +0000 (01:39 +0100)]
tests: fix audioresample unit test for big-endian systems

12 years agotests: fix audiorate unit test on big-endian systems
Tim-Philipp Müller [Fri, 7 Sep 2012 00:26:50 +0000 (01:26 +0100)]
tests: fix audiorate unit test on big-endian systems

12 years agotests: fix simple-launch-lines unit test on big-endian systems
Tim-Philipp Müller [Fri, 7 Sep 2012 00:23:07 +0000 (01:23 +0100)]
tests: fix simple-launch-lines unit test on big-endian systems

audiotestsrc only does native endianness.

12 years agortpbasepayload: error out if no CAPS event was received before buffers
Tim-Philipp Müller [Thu, 6 Sep 2012 17:16:54 +0000 (18:16 +0100)]
rtpbasepayload: error out if no CAPS event was received before buffers

Most payloaders set/send their own output format from the setcaps
function, so if we don't get input caps, things probably wont' work
right, even if the input format is fixed (as in the case of the mpeg-ts
payloader for example).

https://bugzilla.gnome.org/show_bug.cgi?id=683428

12 years agortpbasepayload: assume input caps are accepted if subclass has no set_caps vfunc
Tim-Philipp Müller [Thu, 6 Sep 2012 16:47:01 +0000 (17:47 +0100)]
rtpbasepayload: assume input caps are accepted if subclass has no set_caps vfunc

Not that anyone should ascribe too much meaning to these return
values in the age of sticky caps.

12 years agotests: playbin: do not leak uri strings
Mark Nauwelaerts [Thu, 6 Sep 2012 13:04:33 +0000 (15:04 +0200)]
tests: playbin: do not leak uri strings

12 years agostreamsynchronizer: do not leak EOS events
Mark Nauwelaerts [Thu, 6 Sep 2012 13:03:49 +0000 (15:03 +0200)]
streamsynchronizer: do not leak EOS events

12 years agoaudioconvert: plug leak
Mark Nauwelaerts [Thu, 6 Sep 2012 11:58:28 +0000 (13:58 +0200)]
audioconvert: plug leak

12 years agostreamsync: only remove DISCONT when needed
Wim Taymans [Thu, 6 Sep 2012 11:35:33 +0000 (13:35 +0200)]
streamsync: only remove DISCONT when needed

Check if the buffer is DISCONT before making a potentially expensive copy to
unset the DISCONT flag.

12 years agovideoencoder: plug some leaks
Mark Nauwelaerts [Thu, 6 Sep 2012 11:04:56 +0000 (13:04 +0200)]
videoencoder: plug some leaks

12 years agoaudioencoder: plug some leaks
Mark Nauwelaerts [Thu, 6 Sep 2012 10:15:59 +0000 (12:15 +0200)]
audioencoder: plug some leaks

12 years agostreamsynchronizer: use GAP event to trigger preroll
Mark Nauwelaerts [Wed, 5 Sep 2012 14:59:12 +0000 (16:59 +0200)]
streamsynchronizer: use GAP event to trigger preroll

... rather than an empty buffer

12 years agopango: add missing break
Mark Nauwelaerts [Wed, 5 Sep 2012 13:13:26 +0000 (15:13 +0200)]
pango: add missing break

12 years agortpbasedepay: indicate packet loss using GAP event
Mark Nauwelaerts [Wed, 5 Sep 2012 10:00:50 +0000 (12:00 +0200)]
rtpbasedepay: indicate packet loss using GAP event

12 years agopango: handle GAP event to update text position
Mark Nauwelaerts [Wed, 5 Sep 2012 09:42:05 +0000 (11:42 +0200)]
pango: handle GAP event to update text position

12 years agooggmux: remove dead code
Mark Nauwelaerts [Wed, 5 Sep 2012 09:41:44 +0000 (11:41 +0200)]
oggmux: remove dead code

12 years agooggdemux: send GAP event
Mark Nauwelaerts [Wed, 5 Sep 2012 09:41:35 +0000 (11:41 +0200)]
oggdemux: send GAP event

... in stead of old update newsegment event.

12 years agovideooverlaycomposition: add some _get_argb and _get_ayuv functions
Mark Nauwelaerts [Wed, 5 Sep 2012 07:46:16 +0000 (09:46 +0200)]
videooverlaycomposition: add some _get_argb and _get_ayuv functions

... that will handle automatic conversion to indicated format.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=683180

12 years agoupdate for basesink change
Wim Taymans [Tue, 4 Sep 2012 10:18:11 +0000 (12:18 +0200)]
update for basesink change

12 years agostreamsync: unblock gcond on flush-stop
Wim Taymans [Tue, 4 Sep 2012 09:09:50 +0000 (11:09 +0200)]
streamsync: unblock gcond on flush-stop

See https://bugzilla.gnome.org/show_bug.cgi?id=680441

12 years agoplaysink: unblock pads before releasing
Wim Taymans [Tue, 4 Sep 2012 08:03:25 +0000 (10:03 +0200)]
playsink: unblock pads before releasing

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679823

12 years agotests: make git ignore streamsynchronizer test binary
Tim-Philipp Müller [Mon, 3 Sep 2012 17:57:00 +0000 (18:57 +0100)]
tests: make git ignore streamsynchronizer test binary

12 years agovideo/x-xvid -> video/mpeg,mpegversion=4
Tim-Philipp Müller [Sun, 2 Sep 2012 21:32:12 +0000 (22:32 +0100)]
video/x-xvid -> video/mpeg,mpegversion=4

12 years agoOn a still-frame begin message, drain out the decoder and send it.
Jan Schmidt [Mon, 3 Sep 2012 06:19:09 +0000 (23:19 -0700)]
On a still-frame begin message, drain out the decoder and send it.

Fixes still frame handling on DVDs

12 years agoRevert "videodecoder: Send serialised events immediately, after we're pre-rolled."
Jan Schmidt [Mon, 3 Sep 2012 05:59:58 +0000 (22:59 -0700)]
Revert "videodecoder: Send serialised events immediately, after we're pre-rolled."

This reverts commit ef5316fbb0f6d5ffad7be18ed36903a89341c4de.

12 years agodocs: add design doc for text/x-raw format
Tim-Philipp Müller [Sun, 2 Sep 2012 02:39:51 +0000 (03:39 +0100)]
docs: add design doc for text/x-raw format

12 years agotext/plain + text/x-pango-markup -> text/x-raw
Tim-Philipp Müller [Sun, 2 Sep 2012 01:41:34 +0000 (02:41 +0100)]
text/plain + text/x-pango-markup -> text/x-raw

12 years agogst_message_new_duration() -> gst_message_new_duration_changed()
Tim-Philipp Müller [Sun, 2 Sep 2012 00:27:17 +0000 (01:27 +0100)]
gst_message_new_duration() -> gst_message_new_duration_changed()

12 years agoaudiodecoder: Handle GAP events in place of segment updates
Jan Schmidt [Fri, 31 Aug 2012 19:42:12 +0000 (12:42 -0700)]
audiodecoder: Handle GAP events in place of segment updates

Use them to trigger generation of an empty output buffer or
to send pending events downstream and trigger pre-roll

12 years agovideodecoder: Send serialised events immediately, after we're pre-rolled.
Jan Schmidt [Fri, 31 Aug 2012 19:40:36 +0000 (12:40 -0700)]
videodecoder: Send serialised events immediately, after we're pre-rolled.

Only hold back events until the first buffer is generated, then just
send them directly. Otherwise, important events like 'still-frame' are
held forever, waiting for a frame that'll never arrive.

12 years agocheck: Don't fail on GST_MESSAGE_WARNING
Edward Hervey [Thu, 30 Aug 2012 23:54:17 +0000 (16:54 -0700)]
check: Don't fail on GST_MESSAGE_WARNING

we will get some because some elements aren't present.

If the availability of those elements was critical, we will
eventually get an error message

12 years agoaudiovis: add more debug
Wim Taymans [Thu, 30 Aug 2012 18:22:32 +0000 (20:22 +0200)]
audiovis: add more debug

12 years agovideooverlaycomposition: also adjust docs and API defs to modified API
Mark Nauwelaerts [Thu, 30 Aug 2012 11:23:42 +0000 (13:23 +0200)]
videooverlaycomposition: also adjust docs and API defs to modified API

12 years agopango: adjust to modified video overlay composition API
Mark Nauwelaerts [Thu, 30 Aug 2012 10:09:47 +0000 (12:09 +0200)]
pango: adjust to modified video overlay composition API

12 years agovideooverlaycomposition: allow more formats for rectangle pixel data
Mark Nauwelaerts [Thu, 30 Aug 2012 10:09:27 +0000 (12:09 +0200)]
videooverlaycomposition: allow more formats for rectangle pixel data

... adding AYUV, and allowing for ARGB or RGBA endian-independent.

12 years agoencodebin: rename flags type name
Tim-Philipp Müller [Wed, 29 Aug 2012 18:23:57 +0000 (19:23 +0100)]
encodebin: rename flags type name

12 years agotheoradec: reset freed input and output states
Mark Nauwelaerts [Tue, 28 Aug 2012 12:19:19 +0000 (14:19 +0200)]
theoradec: reset freed input and output states

Conflicts:

ext/theora/gsttheoradec.c

12 years agovideodecoder: parsing loop must ensure for a current frame
Mark Nauwelaerts [Fri, 24 Aug 2012 20:12:48 +0000 (22:12 +0200)]
videodecoder: parsing loop must ensure for a current frame

12 years agovideooverlaycomposition: stricter check on input variables
Mark Nauwelaerts [Tue, 7 Aug 2012 11:25:03 +0000 (13:25 +0200)]
videooverlaycomposition: stricter check on input variables

12 years agoplaybin: automatically deinterlace interlaced content by default
Tim-Philipp Müller [Sun, 26 Aug 2012 21:25:32 +0000 (22:25 +0100)]
playbin: automatically deinterlace interlaced content by default

12 years agodocs: add docs for some of the video info macros
Tim-Philipp Müller [Fri, 24 Aug 2012 16:21:58 +0000 (17:21 +0100)]
docs: add docs for some of the video info macros

12 years agovideoencoder: allow 0 sized output frames
Wim Taymans [Fri, 24 Aug 2012 14:56:00 +0000 (16:56 +0200)]
videoencoder: allow 0 sized output frames

Allow 0 sized frames in gst_video_encoder_allocate_output_frame(). Theora
encodes repeat frames, for example, as 0 sized buffers.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=681196

12 years agoAutomatic update of common submodule
Stefan Sauer [Wed, 22 Aug 2012 11:29:51 +0000 (13:29 +0200)]
Automatic update of common submodule

From 668acee to 4f962f7

12 years agoconfigure: bump gtk-doc req to 1.12 (mar-2009)
Stefan Sauer [Wed, 22 Aug 2012 11:17:08 +0000 (13:17 +0200)]
configure: bump gtk-doc req to 1.12 (mar-2009)

This allows us to e.g. unconditionally use gtkdoc-rebase.

12 years agortp: fix buffer leak when gst_rtp_buffer_map() fails because of broken data
Tim-Philipp Müller [Wed, 22 Aug 2012 08:20:55 +0000 (09:20 +0100)]
rtp: fix buffer leak when gst_rtp_buffer_map() fails because of broken data

Makes libs/rtp unit test valgrind clean.

12 years agortp: Fix extension data support
Wim Taymans [Wed, 22 Aug 2012 07:46:38 +0000 (09:46 +0200)]
rtp: Fix extension data support

Allocate header, payload and padding in separate memory blocks in
gst_rtp_buffer_allocate().
don't use part of the payload data as storage for the extension data but store
it in a separate memory block that can be enlarged when needed.
Rework the one and two-byte header extension to make it reserve space for the
extra extension first.
Fix RTP unit test. Don't map the complete buffer or make assumptions on the
memory layout of the underlaying implementation. We can now always add extension
data because we have a separate memory block for it.

12 years agortp: fix extension length calculation
Wim Taymans [Tue, 21 Aug 2012 09:49:36 +0000 (11:49 +0200)]
rtp: fix extension length calculation

12 years agortp: remove unused field
Wim Taymans [Tue, 21 Aug 2012 09:48:33 +0000 (11:48 +0200)]
rtp: remove unused field

12 years agopango: fix bad unref and crashes with multiple text overlays
Tim-Philipp Müller [Tue, 21 Aug 2012 21:51:38 +0000 (22:51 +0100)]
pango: fix bad unref and crashes with multiple text overlays

gst_element_class_get_pad_template() does not return a ref,
so we mustn't unref the template returned. Fixes crashes
when switching back and forth between different types of
subtitle streams.

12 years agowin32: add new video align API to .def file
Tim-Philipp Müller [Tue, 21 Aug 2012 09:04:41 +0000 (10:04 +0100)]
win32: add new video align API to .def file