Edward Hervey
6b3e3544d4
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
2012-01-06 14:40:25 +01:00
Christian Fredrik Kalager Schaller
c4fb6c94e2
Fix playbin2 -> playbin in Makefile
2012-01-06 12:06:00 +00:00
Vincent Penquerc'h
5cf87eedc4
video: overlays may now have premultiplied alpha
...
https://bugzilla.gnome.org/show_bug.cgi?id=666177
2012-01-06 10:19:19 +00:00
Havard Graff
95be60de15
Fix various unlikely, but still potential memoryleaks in error code paths
...
https://bugzilla.gnome.org/show_bug.cgi?id=667311
2012-01-05 13:27:23 +00:00
Havard Graff
b11d516c46
appsrc: implement get_caps vfunc
...
This allows downstream elements to query what caps are available.
https://bugzilla.gnome.org/show_bug.cgi?id=667312
2012-01-05 13:12:33 +00:00
Wim Taymans
dd43d0697e
audio: expose API to convert channel array to a mask
2012-01-05 13:59:32 +01:00
Tim-Philipp Müller
19d17b8f24
tools: avoid unportable vararg macro construct in gst-discoverer
...
https://bugzilla.gnome.org/show_bug.cgi?id=667306
2012-01-05 12:23:08 +00:00
Wim Taymans
f8ae2a0d5b
vorbisdec: use right channel variable
2012-01-05 12:32:06 +01:00
Wim Taymans
1317811af6
riff: don't use NULL arrays
2012-01-05 12:31:51 +01:00
Idar Tollefsen
88ad3e65a1
build: Run platform check for platform specific configuration.
2012-01-05 11:17:31 +00:00
Pascal Buhler
0febae7443
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
2012-01-05 11:12:25 +00:00
Havard Graff
cfdb48ba8f
videotestsrc: keep the calculation fixed-point
...
https://bugzilla.gnome.org/show_bug.cgi?id=667315
2012-01-05 11:00:47 +00:00
Idar Tollefsen
580b6b2b69
pango: changes includes from brackets to quotes for local files
...
https://bugzilla.gnome.org/show_bug.cgi?id=667316
2012-01-05 10:52:14 +00:00
Sebastian Dröge
9e072ea844
audio: Improve/fix handling of NONE layouts
2012-01-05 10:34:25 +01:00
Sebastian Dröge
8dcea5d498
audio: Add support again for more than 64 channels with NONE layouts
2012-01-05 10:34:25 +01:00
Sebastian Dröge
2db0238450
audiotestsrc: Fix channel-mask handling
2012-01-05 10:34:25 +01:00
Sebastian Dröge
241de164ee
audioconvert: Fix channel-mask handling
2012-01-05 10:34:25 +01:00
Sebastian Dröge
31c9f7d09a
audio: Fix GST_AUDIO_CHANNEL_POSITION_MASK macro
2012-01-05 10:34:25 +01:00
Sebastian Dröge
40938b8a89
ogg: Update for the libgstriff API changes
...
Still needs to handle the raw audio channel reordering.
2012-01-05 10:34:25 +01:00
Sebastian Dröge
8cd8965e19
gst: Add new layout field to all raw audio caps
2012-01-05 10:34:25 +01:00
Sebastian Dröge
75f91ebea0
ext: Add new layout field to the raw audio caps
2012-01-05 10:34:25 +01:00
Sebastian Dröge
5bdf6b3383
gst: Add new layout field to the raw audio caps
2012-01-05 10:34:25 +01:00
Sebastian Dröge
c52b50a517
riff: Return a channel reorder map for raw audio when creating the caps
2012-01-05 10:34:25 +01:00
Sebastian Dröge
7cd0659032
riff: Add the layout field to the raw audio caps
2012-01-05 10:34:24 +01:00
Sebastian Dröge
9d56bf7712
audioencoder: Proxy the channel mask field instead of the old channel-layout field
2012-01-05 10:34:24 +01:00
Sebastian Dröge
8fe5dc53e0
audiocdsrc: Add the layout field to the caps
2012-01-05 10:34:24 +01:00
Sebastian Dröge
810bfec656
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.
2012-01-05 10:34:24 +01:00
Sebastian Dröge
e2c6b8ec4d
audio: Add function to reorder channel positions from any order to the GStreamer order
2012-01-05 10:34:24 +01:00
Sebastian Dröge
bd40936409
audioringbuffer: Use new function to get a channel reordering map
2012-01-05 10:34:24 +01:00
Sebastian Dröge
9e930a1ade
audio: Add documentation for the new functions
2012-01-05 10:34:24 +01:00
Sebastian Dröge
c9c12372a5
audio: Add public functions to check channel positions validity and to get a reorder map
2012-01-05 10:34:24 +01:00
Sebastian Dröge
ee80a97a2a
riff: Port to the new multichannel caps
2012-01-05 10:34:24 +01:00
Sebastian Dröge
7e022b21b6
audio: Remove testchannels example
...
It's not really relevant anymore
2012-01-05 10:34:24 +01:00
Sebastian Dröge
9c60505900
vorbis: Port to the new multichannel caps
2012-01-05 10:34:24 +01:00
Sebastian Dröge
2fc75efdce
alsa: Port to the new multichannel caps
2012-01-05 10:34:20 +01:00
Sebastian Dröge
d7c1b90a50
audioconvert: Update unit test for the new multichannel caps
2012-01-05 10:34:20 +01:00
Sebastian Dröge
e0f9b4fffc
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
2012-01-05 10:34:19 +01:00
Sebastian Dröge
225238a913
audioringbuffer: Add support for reordering of channels
2012-01-05 10:34:16 +01:00
Sebastian Dröge
b23ff1b515
audio: Add tests for the new multichannel caps and reordering function
2012-01-05 10:27:21 +01:00
Sebastian Dröge
c227f5e77e
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.
2012-01-05 10:27:21 +01:00
Philip Flarsheim
08af765ea2
docs: add win32 code snippets to GstXOverlay Gtk+ example
2012-01-05 01:54:29 +00:00
Tim-Philipp Müller
db233aecf4
Automatic update of common submodule
...
From a62f3d4 to 0807187
2012-01-04 19:50:58 +00:00
Wim Taymans
24d405b609
multifdsink: use pad caps for streamheader
...
Instead of using the caps on the buffer, use the caps on the pad.
2012-01-04 17:57:39 +01:00
Wim Taymans
a01fad7024
tests: port and enable more unit tests
2012-01-04 16:41:53 +01:00
Tim-Philipp Müller
b15b03ee6f
videotestsrc: don't build generate_sine_table utility by default
2012-01-03 21:20:04 +00:00
Mark Nauwelaerts
3e0d35aec4
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.
2012-01-03 11:07:17 +01:00
Mark Nauwelaerts
af28016d0a
streamsynchronizer: avoid crashing when operating on released pad
2012-01-03 11:07:15 +01:00
Wim Taymans
21ed12739e
video: add macro to check interlaced
...
Add a convenience macro to check if the video is interlaced.
2012-01-03 10:41:51 +01:00
Wim Taymans
be06c82bf1
defs: update
2012-01-02 18:31:16 +01:00
Wim Taymans
e9c23ca4fb
tests: small cleanup
2012-01-02 18:31:05 +01:00