platform/upstream/gst-plugins-base.git
12 years agoGST_TYPE_DATE -> G_TYPE_DATE
Tim-Philipp Müller [Thu, 12 Jan 2012 23:35:44 +0000 (23:35 +0000)]
GST_TYPE_DATE -> G_TYPE_DATE

12 years agodiscoverer: fix up for GstTagList != GstStructure
Tim-Philipp Müller [Thu, 12 Jan 2012 23:25:22 +0000 (23:25 +0000)]
discoverer: fix up for GstTagList != GstStructure

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Thu, 12 Jan 2012 23:21:17 +0000 (23:21 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11

Conflicts:
gst-libs/gst/pbutils/gstdiscoverer-types.c
gst-libs/gst/pbutils/gstdiscoverer.c
tests/check/Makefile.am

12 years agotests: discoverer test is now valgrind clean
Tim-Philipp Müller [Thu, 12 Jan 2012 17:31:44 +0000 (17:31 +0000)]
tests: discoverer test is now valgrind clean

12 years agotheoraparse: fix array leak
Vincent Penquerc'h [Thu, 12 Jan 2012 16:24:01 +0000 (16:24 +0000)]
theoraparse: fix array leak

12 years agodiscoverer: fix structure leak
Vincent Penquerc'h [Thu, 12 Jan 2012 14:26:05 +0000 (14:26 +0000)]
discoverer: fix structure leak

I hit the 'misc' one, but let's also make sure the topology
one get freed as well, though I do not know if this can happen
twice.

12 years agoplaysinkconvertbin: release extra ref on converter elements
Mark Nauwelaerts [Thu, 12 Jan 2012 12:57:18 +0000 (13:57 +0100)]
playsinkconvertbin: release extra ref on converter elements

12 years agoAdd missing DEFAULT_INCLUDES on androgenizer call
Reynaldo H. Verdejo Pinochet [Wed, 11 Jan 2012 23:47:00 +0000 (20:47 -0300)]
Add missing DEFAULT_INCLUDES on androgenizer call

Fix building of the libgstvideo module on Android by adding the
missing and needed $(DEFAULT_INCLUDES) to CFLAGS for the
androgenizer call on gst-libs/gst/video/Makefile.am

Before this change, building was failing due to gst-plugins-base/
and gst-plugins-base/gst-libs/gst/video being left out of the
include path.

12 years agooggdemux: fix push mode chain leak
Vincent Penquerc'h [Wed, 11 Jan 2012 16:17:42 +0000 (16:17 +0000)]
oggdemux: fix push mode chain leak

When I first implemented push mode seeking, I removed the chain
freeing there as it could be used later. The current code does not
seem to do that though, so I'm restoring the previous freeing,
which plugs the leak while apparently not reintroducing use of
freed data with chained and normal files, both with gst-launch
playbin2 and Totem.

12 years agodiscoverer: fix leaks caused by some base class dtors not being called
Vincent Penquerc'h [Wed, 11 Jan 2012 12:52:17 +0000 (12:52 +0000)]
discoverer: fix leaks caused by some base class dtors not being called

12 years agodiscoverer: fix caps and discoverer object ref leaks
Vincent Penquerc'h [Wed, 11 Jan 2012 12:16:28 +0000 (12:16 +0000)]
discoverer: fix caps and discoverer object ref leaks

12 years agodiscoverer: add a few consts where appropriate
Vincent Penquerc'h [Wed, 11 Jan 2012 11:55:59 +0000 (11:55 +0000)]
discoverer: add a few consts where appropriate

12 years agodiscoverer: fix pad leak
Vincent Penquerc'h [Wed, 11 Jan 2012 11:55:36 +0000 (11:55 +0000)]
discoverer: fix pad leak

12 years agoaudio: More UNPOSITION flag sanity checks
Sebastian Dröge [Wed, 11 Jan 2012 09:49:49 +0000 (10:49 +0100)]
audio: More UNPOSITION flag sanity checks

..and turn the GST_WARNING() into a g_warning(). This is a programming
error and should be fixed.

12 years agoaudio: Add validity check for the UNPOSITIONED audio flag
Sebastian Dröge [Wed, 11 Jan 2012 09:44:37 +0000 (10:44 +0100)]
audio: Add validity check for the UNPOSITIONED audio flag

Also reset the flag when parsing caps.

12 years agoRevert "oggmux: fix pad leak"
Vincent Penquerc'h [Tue, 10 Jan 2012 19:01:11 +0000 (19:01 +0000)]
Revert "oggmux: fix pad leak"

This reverts commit 5df30c1b905edce16f2258e414a0a4afb540d0f1.

I must have dreamt the Valgrind logs, reverting this reintroduces
no leak, and gets rid of the test failures it introduced :S

12 years agodiscoverer: use GST_TYPE_TAG_LIST for tag lists
Tim-Philipp Müller [Tue, 10 Jan 2012 18:27:19 +0000 (18:27 +0000)]
discoverer: use GST_TYPE_TAG_LIST for tag lists

They may not be structures in 0.11/1.0.

12 years agodiscoverer: fix potential tag list leaks
Tim-Philipp Müller [Tue, 10 Jan 2012 18:07:19 +0000 (18:07 +0000)]
discoverer: fix potential tag list leaks

Not that I have ever seen these in practice, but if they
can't happen we may just as well just assign the new tag
list. Merge properly to be on the safe side, and also
avoid a useless tag list copy in the normal case where
there is no tag list yet.

12 years agodiscoverer: fix potential caps leak
Tim-Philipp Müller [Tue, 10 Jan 2012 17:48:44 +0000 (17:48 +0000)]
discoverer: fix potential caps leak

in last else chunk.

12 years agooggstream: fix tag list leak
Vincent Penquerc'h [Tue, 10 Jan 2012 16:57:04 +0000 (16:57 +0000)]
oggstream: fix tag list leak

12 years agooggdemux: fix pad leak
Vincent Penquerc'h [Tue, 10 Jan 2012 16:51:09 +0000 (16:51 +0000)]
oggdemux: fix pad leak

12 years agooggdemux: fix hang on small truncated files
Vincent Penquerc'h [Tue, 10 Jan 2012 16:14:29 +0000 (16:14 +0000)]
oggdemux: fix hang on small truncated files

A first hang was happening when trying to locate a page backwards,
where we'd sync forever on the same page.
With that fixed, a second hang would happen after preparing an EOS
event, but with no chain created yet to send it to, the pipeline
would stay idle forever.
An element error is now emitted for this case.

12 years agooggmux: fix pad leak
Vincent Penquerc'h [Tue, 10 Jan 2012 14:35:31 +0000 (14:35 +0000)]
oggmux: fix pad leak

12 years agostreamsynchronizer: Don't unref the parent in the event function
Sebastian Dröge [Tue, 10 Jan 2012 14:59:27 +0000 (15:59 +0100)]
streamsynchronizer: Don't unref the parent in the event function

12 years agoMerge branch 'master' into 0.11
Sebastian Dröge [Tue, 10 Jan 2012 12:15:12 +0000 (13:15 +0100)]
Merge branch 'master' into 0.11

Conflicts:
gst-libs/gst/app/gstappsrc.c
gst-libs/gst/audio/multichannel.h
gst-libs/gst/video/videooverlay.c
gst/playback/gstplaysink.c
gst/playback/gststreamsynchronizer.c
tests/check/Makefile.am
win32/common/libgstvideo.def

12 years agowin32: Add the new audio symbols to the list of exported symbols
Sebastian Dröge [Tue, 10 Jan 2012 11:57:27 +0000 (12:57 +0100)]
win32: Add the new audio symbols to the list of exported symbols

12 years agoaudiometa: Improve GstAudioDownmixMeta to be actually usable
Sebastian Dröge [Tue, 10 Jan 2012 11:46:05 +0000 (12:46 +0100)]
audiometa: Improve GstAudioDownmixMeta to be actually usable

This now has a two-dimensional array of coefficients
as required and also stores the source and destination
channel positions.

12 years agoaudio: Don't crash if NULL positions are passed to gst_audio_info_set_format()
Sebastian Dröge [Tue, 10 Jan 2012 11:02:56 +0000 (12:02 +0100)]
audio: Don't crash if NULL positions are passed to gst_audio_info_set_format()

12 years agoaudiobasesink: Fix infinite recursion by chaining up to the correct parent class...
Sebastian Dröge [Mon, 9 Jan 2012 13:19:54 +0000 (14:19 +0100)]
audiobasesink: Fix infinite recursion by chaining up to the correct parent class vfunc

12 years agoplayback: document DEINTERLACE flag
Mark Nauwelaerts [Mon, 9 Jan 2012 11:31:02 +0000 (12:31 +0100)]
playback: document DEINTERLACE flag

12 years agoaudio: Don't check for channel positions in valid order when converting to a channel...
Sebastian Dröge [Mon, 9 Jan 2012 07:24:23 +0000 (08:24 +0100)]
audio: Don't check for channel positions in valid order when converting to a channel mask

12 years agortspconnection: make hostname lookup more thread-safe
Tim-Philipp Müller [Sat, 7 Jan 2012 20:12:17 +0000 (20:12 +0000)]
rtspconnection: make hostname lookup more thread-safe

Don't write IP number string to return into a static
array which is shared amongst all threads (note: of
course a copy is returned).

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

12 years agodiscoverer: make is_subtitle_caps thread-safe
Tim-Philipp Müller [Sat, 7 Jan 2012 19:39:42 +0000 (19:39 +0000)]
discoverer: make is_subtitle_caps thread-safe

12 years agotests: add ogg test file and some proper unit tests for discoverer
Tim-Philipp Müller [Sat, 7 Jan 2012 16:43:26 +0000 (16:43 +0000)]
tests: add ogg test file and some proper unit tests for discoverer

Leaks when re-used, so blacklisted for valgrind for now.

12 years agowin32: .def file should be sorted for make check-exports
Tim-Philipp Müller [Sat, 7 Jan 2012 14:44:51 +0000 (14:44 +0000)]
win32: .def file should be sorted for make check-exports

12 years agovorbisdec: use right channel variable even more
Mark Nauwelaerts [Fri, 6 Jan 2012 15:15:40 +0000 (16:15 +0100)]
vorbisdec: use right channel variable even more

12 years agoaudioresample: fix debug message format specifier
Mark Nauwelaerts [Fri, 6 Jan 2012 15:13:35 +0000 (16:13 +0100)]
audioresample: fix debug message format specifier

12 years agoRevert "decodebin2: Try harder to get initial topology caps"
Edward Hervey [Fri, 6 Jan 2012 14:40:06 +0000 (15:40 +0100)]
Revert "decodebin2: Try harder to get initial topology caps"

This reverts commit 6b3e3544d41ce0bc42c3597b3eb2130719379917.

I really shouldn't put WIP commits in my main branch ...

12 years agotests: Remove dead header include
Edward Hervey [Fri, 6 Jan 2012 14:16:00 +0000 (15:16 +0100)]
tests: Remove dead header include

12 years agoaudio: Fix size check
Edward Hervey [Fri, 6 Jan 2012 14:14:59 +0000 (15:14 +0100)]
audio: Fix size check

We fail (and return) if the size is *NOT* a multiple of samples.

12 years agodecodebin2: Try harder to get initial topology caps
Edward Hervey [Thu, 5 Jan 2012 07:29:43 +0000 (08:29 +0100)]
decodebin2: Try harder to get initial topology caps

Since caps are no longer 'shared' between two pads (but forwarded from
source pad to sink pad) we end up with the first chain pad not having
specified caps (i.e. typefind:src).

This solves the issues by getting the pad's peer caps.

It is not optimal since it will (for most demuxers) return the pad
template caps, which might contain non-fixed caps (ex : with
qtdemux "video/quicktime; video/mj2; audio/x-m4a; application/x-3gp")

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

12 years agoFix playbin2 -> playbin in Makefile
Christian Fredrik Kalager Schaller [Fri, 6 Jan 2012 12:06:00 +0000 (12:06 +0000)]
Fix playbin2 -> playbin in Makefile

12 years agovideo: overlays may now have premultiplied alpha
Vincent Penquerc'h [Wed, 14 Dec 2011 14:14:47 +0000 (14:14 +0000)]
video: overlays may now have premultiplied alpha

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

12 years agoFix various unlikely, but still potential memoryleaks in error code paths
Havard Graff [Tue, 1 Nov 2011 16:57:59 +0000 (17:57 +0100)]
Fix various unlikely, but still potential memoryleaks in error code paths

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

12 years agoappsrc: implement get_caps vfunc
Havard Graff [Sat, 22 Oct 2011 14:41:23 +0000 (16:41 +0200)]
appsrc: implement get_caps vfunc

This allows downstream elements to query what caps are available.

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

12 years agoaudio: expose API to convert channel array to a mask
Wim Taymans [Thu, 5 Jan 2012 12:59:32 +0000 (13:59 +0100)]
audio: expose API to convert channel array to a mask

12 years agotools: avoid unportable vararg macro construct in gst-discoverer
Tim-Philipp Müller [Thu, 5 Jan 2012 12:23:08 +0000 (12:23 +0000)]
tools: avoid unportable vararg macro construct in gst-discoverer

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

12 years agovorbisdec: use right channel variable
Wim Taymans [Thu, 5 Jan 2012 11:32:06 +0000 (12:32 +0100)]
vorbisdec: use right channel variable

12 years agoriff: don't use NULL arrays
Wim Taymans [Thu, 5 Jan 2012 11:31:51 +0000 (12:31 +0100)]
riff: don't use NULL arrays

12 years agobuild: Run platform check for platform specific configuration.
Idar Tollefsen [Sun, 1 Jan 2012 19:44:08 +0000 (20:44 +0100)]
build: Run platform check for platform specific configuration.

12 years agortcpbuffer: prevent overflow of 16bit header length.
Pascal Buhler [Wed, 12 Oct 2011 09:28:10 +0000 (11:28 +0200)]
rtcpbuffer: prevent overflow of 16bit header length.

RTCP header can be  (2^16 + 1) * 4 bytes long, so when validating a bogus
packet it was possible to get a 16bit overflow resulting in a length of 0.
This would put the gst_rtcp_buffer_validate_data function in a endless loop.

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

12 years agovideotestsrc: keep the calculation fixed-point
Havard Graff [Sat, 24 Sep 2011 12:05:42 +0000 (14:05 +0200)]
videotestsrc: keep the calculation fixed-point

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

12 years agopango: changes includes from brackets to quotes for local files
Idar Tollefsen [Thu, 4 Aug 2011 09:30:05 +0000 (11:30 +0200)]
pango: changes includes from brackets to quotes for local files

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

12 years agoaudio: Improve/fix handling of NONE layouts
Sebastian Dröge [Wed, 4 Jan 2012 13:48:33 +0000 (14:48 +0100)]
audio: Improve/fix handling of NONE layouts

12 years agoaudio: Add support again for more than 64 channels with NONE layouts
Sebastian Dröge [Wed, 4 Jan 2012 13:35:48 +0000 (14:35 +0100)]
audio: Add support again for more than 64 channels with NONE layouts

12 years agoaudiotestsrc: Fix channel-mask handling
Sebastian Dröge [Wed, 4 Jan 2012 09:26:47 +0000 (10:26 +0100)]
audiotestsrc: Fix channel-mask handling

12 years agoaudioconvert: Fix channel-mask handling
Sebastian Dröge [Wed, 4 Jan 2012 09:26:33 +0000 (10:26 +0100)]
audioconvert: Fix channel-mask handling

12 years agoaudio: Fix GST_AUDIO_CHANNEL_POSITION_MASK macro
Sebastian Dröge [Wed, 4 Jan 2012 08:54:56 +0000 (09:54 +0100)]
audio: Fix GST_AUDIO_CHANNEL_POSITION_MASK macro

12 years agoogg: Update for the libgstriff API changes
Sebastian Dröge [Sat, 31 Dec 2011 13:32:45 +0000 (14:32 +0100)]
ogg: Update for the libgstriff API changes

Still needs to handle the raw audio channel reordering.

12 years agogst: Add new layout field to all raw audio caps
Sebastian Dröge [Sat, 31 Dec 2011 13:31:08 +0000 (14:31 +0100)]
gst: Add new layout field to all raw audio caps

12 years agoext: Add new layout field to the raw audio caps
Sebastian Dröge [Sat, 31 Dec 2011 13:25:09 +0000 (14:25 +0100)]
ext: Add new layout field to the raw audio caps

12 years agogst: Add new layout field to the raw audio caps
Sebastian Dröge [Sat, 31 Dec 2011 13:21:27 +0000 (14:21 +0100)]
gst: Add new layout field to the raw audio caps

12 years agoriff: Return a channel reorder map for raw audio when creating the caps
Sebastian Dröge [Sat, 31 Dec 2011 13:15:41 +0000 (14:15 +0100)]
riff: Return a channel reorder map for raw audio when creating the caps

12 years agoriff: Add the layout field to the raw audio caps
Sebastian Dröge [Sat, 31 Dec 2011 12:50:04 +0000 (13:50 +0100)]
riff: Add the layout field to the raw audio caps

12 years agoaudioencoder: Proxy the channel mask field instead of the old channel-layout field
Sebastian Dröge [Sat, 31 Dec 2011 12:47:57 +0000 (13:47 +0100)]
audioencoder: Proxy the channel mask field instead of the old channel-layout field

12 years agoaudiocdsrc: Add the layout field to the caps
Sebastian Dröge [Sat, 31 Dec 2011 12:47:24 +0000 (13:47 +0100)]
audiocdsrc: Add the layout field to the caps

12 years agoaudio: Add "layout" field to the raw audio caps
Sebastian Dröge [Sat, 31 Dec 2011 12:46:53 +0000 (13:46 +0100)]
audio: Add "layout" field to the raw audio caps

This can be used to differentiate between interleaved
and non-interleaved audio and whatever comes in the future.

12 years agoaudio: Add function to reorder channel positions from any order to the GStreamer...
Sebastian Dröge [Sat, 31 Dec 2011 12:33:01 +0000 (13:33 +0100)]
audio: Add function to reorder channel positions from any order to the GStreamer order

12 years agoaudioringbuffer: Use new function to get a channel reordering map
Sebastian Dröge [Sat, 24 Dec 2011 09:54:20 +0000 (10:54 +0100)]
audioringbuffer: Use new function to get a channel reordering map

12 years agoaudio: Add documentation for the new functions
Sebastian Dröge [Sat, 24 Dec 2011 09:50:20 +0000 (10:50 +0100)]
audio: Add documentation for the new functions

12 years agoaudio: Add public functions to check channel positions validity and to get a reorder map
Sebastian Dröge [Sat, 24 Dec 2011 09:37:28 +0000 (10:37 +0100)]
audio: Add public functions to check channel positions validity and to get a reorder map

12 years agoriff: Port to the new multichannel caps
Sebastian Dröge [Tue, 20 Dec 2011 15:55:34 +0000 (16:55 +0100)]
riff: Port to the new multichannel caps

12 years agoaudio: Remove testchannels example
Sebastian Dröge [Tue, 20 Dec 2011 15:34:38 +0000 (16:34 +0100)]
audio: Remove testchannels example

It's not really relevant anymore

12 years agovorbis: Port to the new multichannel caps
Sebastian Dröge [Tue, 20 Dec 2011 11:08:53 +0000 (12:08 +0100)]
vorbis: Port to the new multichannel caps

12 years agoalsa: Port to the new multichannel caps
Sebastian Dröge [Tue, 20 Dec 2011 10:44:27 +0000 (11:44 +0100)]
alsa: Port to the new multichannel caps

12 years agoaudioconvert: Update unit test for the new multichannel caps
Sebastian Dröge [Mon, 19 Dec 2011 13:27:28 +0000 (14:27 +0100)]
audioconvert: Update unit test for the new multichannel caps

12 years agoaudioconvert: Port to the new multichannel caps
Sebastian Dröge [Mon, 19 Dec 2011 11:41:24 +0000 (12:41 +0100)]
audioconvert: Port to the new multichannel caps

audioconvert still needs support for mixing all the new
channel positions, see:
https://bugzilla.gnome.org/show_bug.cgi?id=666506

12 years agoaudioringbuffer: Add support for reordering of channels
Sebastian Dröge [Tue, 20 Dec 2011 15:20:06 +0000 (16:20 +0100)]
audioringbuffer: Add support for reordering of channels

12 years agoaudio: Add tests for the new multichannel caps and reordering function
Sebastian Dröge [Mon, 19 Dec 2011 09:04:30 +0000 (10:04 +0100)]
audio: Add tests for the new multichannel caps and reordering function

12 years agoaudio: Add new channel positions and simplify channel expression in the caps
Sebastian Dröge [Fri, 16 Dec 2011 09:55:13 +0000 (10:55 +0100)]
audio: Add new channel positions and simplify channel expression in the caps

The available channel positions are all channels from SMPTE 2036-2-2008
(in that order) and DTS Coherent Acoustics, which are basically all 28
channels that currently can appear.

The channels are now expressed in the caps as a channel-mask, which
describes which of the channels are present, and an optional
channel-reorder-map, which must only be used after negotiation for
fixated caps.

For negotiation only the channel-mask and the channel count is relevant
and all elements are expected to handle all reorder maps. Elements that
don't can use the new API to reorder an audio buffer from any order to
another order.

This simplifies negotiation a lot while still having as few reorderings
necassary as possible and still allow all kinds of channel layouts.

12 years agodocs: add win32 code snippets to GstXOverlay Gtk+ example
Philip Flarsheim [Thu, 5 Jan 2012 01:51:35 +0000 (01:51 +0000)]
docs: add win32 code snippets to GstXOverlay Gtk+ example

12 years agoAutomatic update of common submodule
Tim-Philipp Müller [Wed, 4 Jan 2012 19:50:58 +0000 (19:50 +0000)]
Automatic update of common submodule

From a62f3d4 to 0807187

12 years agomultifdsink: use pad caps for streamheader
Wim Taymans [Wed, 4 Jan 2012 16:57:39 +0000 (17:57 +0100)]
multifdsink: use pad caps for streamheader

Instead of using the caps on the buffer, use the caps on the pad.

12 years agotests: port and enable more unit tests
Wim Taymans [Wed, 4 Jan 2012 15:41:53 +0000 (16:41 +0100)]
tests: port and enable more unit tests

12 years agovideotestsrc: don't build generate_sine_table utility by default
Tim-Philipp Müller [Tue, 3 Jan 2012 21:20:04 +0000 (21:20 +0000)]
videotestsrc: don't build generate_sine_table utility by default

12 years agostreamsynchronizer: force fallback buffer_alloc when other pad not available
Mark Nauwelaerts [Tue, 3 Jan 2012 10:04:23 +0000 (11:04 +0100)]
streamsynchronizer: force fallback buffer_alloc when other pad not available

... to avoid unnecessary spurious errors (upon e.g. shutdown).
If a real error is applicable in this unusual circumstance (missing other pad),
other (STREAM_LOCK protected) call paths can take care of that.

12 years agostreamsynchronizer: avoid crashing when operating on released pad
Mark Nauwelaerts [Tue, 3 Jan 2012 10:02:17 +0000 (11:02 +0100)]
streamsynchronizer: avoid crashing when operating on released pad

12 years agovideo: add macro to check interlaced
Wim Taymans [Tue, 3 Jan 2012 09:41:51 +0000 (10:41 +0100)]
video: add macro to check interlaced

Add a convenience macro to check if the video is interlaced.

12 years agodefs: update
Wim Taymans [Mon, 2 Jan 2012 17:31:16 +0000 (18:31 +0100)]
defs: update

12 years agotests: small cleanup
Wim Taymans [Mon, 2 Jan 2012 17:31:05 +0000 (18:31 +0100)]
tests: small cleanup

12 years agostreamcombiner: fix srcpad query caps
Wim Taymans [Mon, 2 Jan 2012 17:28:46 +0000 (18:28 +0100)]
streamcombiner: fix srcpad query caps

The caps query on the srcpad should return the template caps instead of
forwarding the query.

12 years agovideorate: chain up to parent event function
Wim Taymans [Mon, 2 Jan 2012 16:42:11 +0000 (17:42 +0100)]
videorate: chain up to parent event function

12 years agovideorate: fix caps negotiation function
Wim Taymans [Mon, 2 Jan 2012 16:28:12 +0000 (17:28 +0100)]
videorate: fix caps negotiation function

12 years agovideofilter: use caps of the allocation query
Wim Taymans [Mon, 2 Jan 2012 15:13:51 +0000 (16:13 +0100)]
videofilter: use caps of the allocation query

Use the caps from the allocation query to propose a video bufferpool instead of
our own negotiated caps.

12 years agoaudioresample: truncate in fixation
Wim Taymans [Mon, 2 Jan 2012 14:59:09 +0000 (15:59 +0100)]
audioresample: truncate in fixation

12 years agotests: fix a unit test
Wim Taymans [Mon, 2 Jan 2012 14:40:35 +0000 (15:40 +0100)]
tests: fix a unit test

The ogg muxer now has video and audio pads

12 years agoaudioencoder: turn assert into a real error
Wim Taymans [Mon, 2 Jan 2012 14:39:58 +0000 (15:39 +0100)]
audioencoder: turn assert into a real error

Post a real error instead of just asserting. Fixes a unit test.

12 years agoplayback, mixerutils: gst_registry_get_default() -> gst_registry_get()
Tim-Philipp Müller [Mon, 2 Jan 2012 14:30:53 +0000 (14:30 +0000)]
playback, mixerutils: gst_registry_get_default() -> gst_registry_get()

12 years agoaudioconvert: handle unpositioned channels
Wim Taymans [Mon, 2 Jan 2012 14:03:54 +0000 (15:03 +0100)]
audioconvert: handle unpositioned channels

Refuse to convert between unpositioned layouts.

12 years agoaudio: add flag for unpositioned layout
Wim Taymans [Mon, 2 Jan 2012 14:01:58 +0000 (15:01 +0100)]
audio: add flag for unpositioned layout

Check if thr layout is explicitly unpositioned and set a flag in the
audio info structure.