platform/upstream/gstreamer.git
12 years agoMerge branch 'master' into 0.11
Wim Taymans [Tue, 14 Feb 2012 09:51:38 +0000 (10:51 +0100)]
Merge branch 'master' into 0.11

Conflicts:
tests/check/elements/flacparse.c

12 years agoaudioparsers: adjust to modified baseparse API
Mark Nauwelaerts [Thu, 9 Feb 2012 12:41:53 +0000 (13:41 +0100)]
audioparsers: adjust to modified baseparse API

12 years agoupdate for memory api change
Wim Taymans [Mon, 13 Feb 2012 16:13:17 +0000 (17:13 +0100)]
update for memory api change

12 years agotests: flacparse: check and compare intended data
Mark Nauwelaerts [Mon, 13 Feb 2012 11:06:37 +0000 (12:06 +0100)]
tests: flacparse: check and compare intended data

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Sun, 12 Feb 2012 17:03:37 +0000 (17:03 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11

Conflicts:
ext/taglib/gstapev2mux.cc
ext/taglib/gstid3v2mux.cc
ext/taglib/gsttaglibmux.c
ext/taglib/gsttaglibmux.h

12 years agotaglib: port to GstTagMux base class
Tim-Philipp Müller [Sun, 12 Feb 2012 16:22:21 +0000 (16:22 +0000)]
taglib: port to GstTagMux base class

12 years agotaglib: finish off a few missed variable changes
Vincent Penquerc'h [Sun, 12 Feb 2012 12:24:50 +0000 (12:24 +0000)]
taglib: finish off a few missed variable changes

Local variables are now unused, and the values from the segment copy
are used instead, so remove the now useless local variables and write
to the segment where appropriate.

12 years agoMerge branch 'master' into 0.11
Wim Taymans [Fri, 10 Feb 2012 15:23:14 +0000 (16:23 +0100)]
Merge branch 'master' into 0.11

Conflicts:
ext/flac/gstflacenc.c
ext/jack/gstjackaudioclient.c
ext/jack/gstjackaudiosink.c
ext/jack/gstjackaudiosrc.c
ext/pulse/plugin.c
ext/shout2/gstshout2.c
gst/matroska/matroska-mux.c
gst/rtp/gstrtph264pay.c

12 years agortph264pay: add stream-format and alignment to h264 sink caps
Tim-Philipp Müller [Wed, 8 Feb 2012 23:03:28 +0000 (23:03 +0000)]
rtph264pay: add stream-format and alignment to h264 sink caps

We're happy to accept both byte-stream and avc, advertise
that on the sink caps and fix up _get_caps() function to
not just return "video/x-h264".

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

12 years agortph264depay: add stream-format and alignment fields to src template caps
Tim-Philipp Müller [Wed, 8 Feb 2012 20:58:04 +0000 (20:58 +0000)]
rtph264depay: add stream-format and alignment fields to src template caps

Because we can. And so we get a warning if we try to output avc with
nal alignment or somesuch.

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

12 years agotests: clean up rtp-payloading test a little
Tim-Philipp Müller [Fri, 10 Feb 2012 13:44:43 +0000 (13:44 +0000)]
tests: clean up rtp-payloading test a little

Feed data into the pipeline using appsrc instead of fdsrc and
a pipe. Store unsigned byte values in guint8 instead of char.
Getting rid of the capsfilter also helps to avoid 'format is
not fully specified' warnings when pushing "video/x-h264" data
into rtph264pay with fully specified h264 caps in the sink template.

12 years agoflv: use default pad query
Wim Taymans [Fri, 10 Feb 2012 09:07:34 +0000 (10:07 +0100)]
flv: use default pad query

We need to chain up unknown queries to the default query handler instead of
blindly forwarding them. In this case it caused the caps query to be forwarded
to the upstream typefind and return the wrong type for the audio/video pad.

12 years agotests: mpegaudioparse: remove stray declaration
Mark Nauwelaerts [Thu, 9 Feb 2012 21:12:14 +0000 (22:12 +0100)]
tests: mpegaudioparse: remove stray declaration

12 years agoaacparse: correctly set ADIF src caps
Mark Nauwelaerts [Thu, 9 Feb 2012 21:07:48 +0000 (22:07 +0100)]
aacparse: correctly set ADIF src caps

12 years agoac3parse: prevent a few direct exits without cleanup
Mark Nauwelaerts [Thu, 9 Feb 2012 21:10:07 +0000 (22:10 +0100)]
ac3parse: prevent a few direct exits without cleanup

12 years agoflacdec: shift in proper direction for audio sample conversion
Mark Nauwelaerts [Thu, 9 Feb 2012 21:07:18 +0000 (22:07 +0100)]
flacdec: shift in proper direction for audio sample conversion

12 years agotests: fix compilation
Wim Taymans [Thu, 9 Feb 2012 17:09:45 +0000 (18:09 +0100)]
tests: fix compilation

12 years agomultiudpsink: typo fix (bytes send -> bytes sent)
Marc Leeman [Thu, 9 Feb 2012 09:11:48 +0000 (10:11 +0100)]
multiudpsink: typo fix (bytes send -> bytes sent)

12 years agoGST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING
Wim Taymans [Wed, 8 Feb 2012 15:34:00 +0000 (16:34 +0100)]
GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING

12 years agoshout2send: send video/webm through libshout.
Ralph Giles [Tue, 7 Feb 2012 22:10:44 +0000 (14:10 -0800)]
shout2send: send video/webm through libshout.

This requires SHOUT_FORMAT_WEBM, added in libshout 2.3.0,
so video/webm support is contingent on that symbol being
defined.

Also an indentation change required by the pre-commit hook.

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

12 years agodeinterleave: port to 0.11
Philippe Normand [Mon, 30 Jan 2012 15:40:19 +0000 (16:40 +0100)]
deinterleave: port to 0.11

Port of the deinterleave element and its unittests. The interleave
element will be ported as part of another patch, hence disabling it
for now.

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

12 years agodirectsoundsink: Fix compiling
Raimo Järvi [Tue, 7 Feb 2012 21:41:13 +0000 (23:41 +0200)]
directsoundsink: Fix compiling

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

12 years agowaveformsink: Port to 0.11
Raimo Järvi [Tue, 7 Feb 2012 22:08:49 +0000 (00:08 +0200)]
waveformsink: Port to 0.11

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

12 years agojack: rework transport support
Stefan Sauer [Tue, 7 Feb 2012 20:57:47 +0000 (21:57 +0100)]
jack: rework transport support

Move common code to jackclient. There we can also handle the request state
message in a better way, as the element callbacks are only run if the element is
active.

12 years agotests: improve tagmux tests
Wim Taymans [Tue, 7 Feb 2012 09:47:19 +0000 (10:47 +0100)]
tests: improve tagmux tests

12 years agotaglib: fix object registration
Wim Taymans [Tue, 7 Feb 2012 09:29:11 +0000 (10:29 +0100)]
taglib: fix object registration

We can't use G_DEFINE_TYPE because the class is not set in the class_init and we
need it to get the srcpad template.
Fix a caps leak

12 years agotests: fix jpeg test
Wim Taymans [Tue, 7 Feb 2012 09:16:32 +0000 (10:16 +0100)]
tests: fix jpeg test

12 years agosoup: fix caps
Wim Taymans [Tue, 7 Feb 2012 09:15:51 +0000 (10:15 +0100)]
soup: fix caps

12 years agoeffecttv: fix initialisation
Wim Taymans [Tue, 7 Feb 2012 08:54:00 +0000 (09:54 +0100)]
effecttv: fix initialisation

12 years agoy4m: fix negotiation
Wim Taymans [Tue, 7 Feb 2012 08:42:04 +0000 (09:42 +0100)]
y4m: fix negotiation

12 years agotests: fix more tests
Wim Taymans [Tue, 7 Feb 2012 08:41:51 +0000 (09:41 +0100)]
tests: fix more tests

12 years agodv: port to 0.11
Mark Nauwelaerts [Mon, 6 Feb 2012 21:13:53 +0000 (22:13 +0100)]
dv: port to 0.11

12 years agotest: fix more tests
Wim Taymans [Mon, 6 Feb 2012 17:35:01 +0000 (18:35 +0100)]
test: fix more tests

12 years agotests: fix more tests
Wim Taymans [Mon, 6 Feb 2012 14:52:49 +0000 (15:52 +0100)]
tests: fix more tests

12 years agoflv: fix caps
Wim Taymans [Mon, 6 Feb 2012 14:52:36 +0000 (15:52 +0100)]
flv: fix caps

12 years agoiirequalizer: fix equalizer and unit test
Wim Taymans [Mon, 6 Feb 2012 14:20:55 +0000 (15:20 +0100)]
iirequalizer: fix equalizer and unit test

12 years agotests: fix some more tests
Wim Taymans [Mon, 6 Feb 2012 12:44:20 +0000 (13:44 +0100)]
tests: fix some more tests

12 years agoavimux: take the pad from collectpads2 correctly
Wim Taymans [Mon, 6 Feb 2012 12:43:49 +0000 (13:43 +0100)]
avimux: take the pad from collectpads2 correctly

12 years agotests: fix more unit tests
Wim Taymans [Mon, 6 Feb 2012 12:29:24 +0000 (13:29 +0100)]
tests: fix more unit tests

12 years agoaudiodynamic: fix negotiation
Wim Taymans [Mon, 6 Feb 2012 12:28:55 +0000 (13:28 +0100)]
audiodynamic: fix negotiation

12 years agomatroskademux: avoid posting invalid duration for each frame
Nicola Murino [Sat, 28 Jan 2012 10:13:16 +0000 (11:13 +0100)]
matroskademux: avoid posting invalid duration for each frame

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

12 years agotests: fix more tests
Wim Taymans [Mon, 6 Feb 2012 09:07:06 +0000 (10:07 +0100)]
tests: fix more tests

12 years agotests: improve some tests
Wim Taymans [Mon, 6 Feb 2012 08:49:38 +0000 (09:49 +0100)]
tests: improve some tests

12 years agotests: fix jitterbuffer test
Wim Taymans [Mon, 6 Feb 2012 08:23:49 +0000 (09:23 +0100)]
tests: fix jitterbuffer test

12 years agojitterbuffer: fix caps after pt change
Wim Taymans [Mon, 6 Feb 2012 08:23:07 +0000 (09:23 +0100)]
jitterbuffer: fix caps after pt change

12 years agojitterbuffer: fix caps leak
Wim Taymans [Mon, 6 Feb 2012 08:18:17 +0000 (09:18 +0100)]
jitterbuffer: fix caps leak

12 years agopulseaudiosink: Lower rank to prevent autoplugging
Arun Raghavan [Fri, 3 Feb 2012 16:35:59 +0000 (22:05 +0530)]
pulseaudiosink: Lower rank to prevent autoplugging

pulseaudiosink breaks visualisations in its current form, so let's
prevent it from being autoplugged for the time being.

The best we can hope to do in the 0.10 series is query the list of
available sinks and their formats, and expose these as the bin's sinkpad
caps. While this is not a comprehensive solution, it will make sure that
we're only trying to support compressed formats if we're certain that
one exists.

The long-term fix for this will be in the form of proper upstream
renegotiation support in the 0.11/1.0 series.

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

12 years agotests: fix more tests
Wim Taymans [Fri, 3 Feb 2012 16:23:48 +0000 (17:23 +0100)]
tests: fix more tests

12 years agotests: fix some more tests
Wim Taymans [Fri, 3 Feb 2012 15:13:51 +0000 (16:13 +0100)]
tests: fix some more tests

12 years agoaacparse: fix srcpad caps handling
Wim Taymans [Fri, 3 Feb 2012 15:12:59 +0000 (16:12 +0100)]
aacparse: fix srcpad caps handling

12 years agocmmlenc: fix caps handling
Wim Taymans [Fri, 3 Feb 2012 15:12:24 +0000 (16:12 +0100)]
cmmlenc: fix caps handling

12 years agoflacenc: fix event leak when there is no peer on the src pad
Vincent Penquerc'h [Fri, 3 Feb 2012 14:53:31 +0000 (14:53 +0000)]
flacenc: fix event leak when there is no peer on the src pad

12 years agoUpdate spec file
Christian Fredrik Kalager Schaller [Thu, 2 Feb 2012 16:21:29 +0000 (16:21 +0000)]
Update spec file

12 years agoflvmux: specify we only accept raw AAC in template caps
Vincent Penquerc'h [Thu, 2 Feb 2012 12:27:09 +0000 (12:27 +0000)]
flvmux: specify we only accept raw AAC in template caps

No header seems to be added, and the codec ID is the same as used
for raw by flvdemux, so raw seems the only supported case.

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

12 years agoflvdemux: specify we only output raw AAC in template caps
Vincent Penquerc'h [Thu, 2 Feb 2012 12:25:21 +0000 (12:25 +0000)]
flvdemux: specify we only output raw AAC in template caps

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

12 years agotaglib: port to 0.11
Mark Nauwelaerts [Wed, 1 Feb 2012 17:01:27 +0000 (18:01 +0100)]
taglib: port to 0.11

12 years agobuild: ignore GValueArray deprecation warnings for the time being
Tim-Philipp Müller [Wed, 1 Feb 2012 16:40:51 +0000 (16:40 +0000)]
build: ignore GValueArray deprecation warnings for the time being

until this gets sorted out with the GLib folks and we have a
viable alternative.

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

12 years agopulse: disable some unused property probe code
Tim-Philipp Müller [Wed, 1 Feb 2012 16:36:53 +0000 (16:36 +0000)]
pulse: disable some unused property probe code

which was using GValueArray

12 years agospeex: Use new audio encoder/decoder base class API for srcpad caps
Sebastian Dröge [Wed, 1 Feb 2012 15:11:14 +0000 (16:11 +0100)]
speex: Use new audio encoder/decoder base class API for srcpad caps

12 years agoflac: Use new audio encoder/decoder base class API for srcpad caps
Sebastian Dröge [Wed, 1 Feb 2012 15:05:51 +0000 (16:05 +0100)]
flac: Use new audio encoder/decoder base class API for srcpad caps

12 years agotests: fix more tests
Wim Taymans [Tue, 31 Jan 2012 14:39:09 +0000 (15:39 +0100)]
tests: fix more tests

12 years agortpmp2tpay: do not try to flush a packet when no data is available
Vincent Penquerc'h [Mon, 30 Jan 2012 14:52:37 +0000 (14:52 +0000)]
rtpmp2tpay: do not try to flush a packet when no data is available

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

12 years agotests: update some tests for new memory api
Wim Taymans [Tue, 31 Jan 2012 12:41:45 +0000 (13:41 +0100)]
tests: update some tests for new memory api

12 years agocontroller: adapt to control-source type changes
Stefan Sauer [Tue, 31 Jan 2012 11:22:19 +0000 (12:22 +0100)]
controller: adapt to control-source type changes

12 years agocontroller: rename control-bindings
Stefan Sauer [Mon, 30 Jan 2012 20:39:34 +0000 (21:39 +0100)]
controller: rename control-bindings

gst_control_binding_xxx -> gst_xxx_control_binding for consistency.

12 years agoupdate for HEADER flag
Wim Taymans [Mon, 30 Jan 2012 16:16:51 +0000 (17:16 +0100)]
update for HEADER flag

12 years agortph264depay: Exclude NALu size from payload length on truncated packets.
Pascal Buhler [Fri, 11 Jun 2010 06:36:33 +0000 (08:36 +0200)]
rtph264depay: Exclude NALu size from payload length on truncated packets.

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

12 years agomatroskamux: remove obsolete variable, set but not used
Vincent Penquerc'h [Sat, 28 Jan 2012 23:35:50 +0000 (23:35 +0000)]
matroskamux: remove obsolete variable, set but not used

Reported by andredieb on #gstreamer.

12 years agovideobox: avoid wrapping opaque to transparent
Vincent Penquerc'h [Sat, 28 Jan 2012 13:05:09 +0000 (13:05 +0000)]
videobox: avoid wrapping opaque to transparent

12 years agomatroskamux: do not free memory twice
Vincent Penquerc'h [Sat, 28 Jan 2012 12:35:13 +0000 (12:35 +0000)]
matroskamux: do not free memory twice

A recent change to fix leaking codec ID string accidentally caused
one of the very few places that weren't leaking to now free twice.

12 years agoalawdec: Each output sample is 2 bytes
Olivier Crête [Fri, 27 Jan 2012 15:27:49 +0000 (16:27 +0100)]
alawdec: Each output sample is 2 bytes

12 years agortpjitterbuffer: Don't leak caps event when not pushing
Olivier Crête [Fri, 27 Jan 2012 11:14:49 +0000 (12:14 +0100)]
rtpjitterbuffer: Don't leak caps event when not pushing

12 years agortpptdemux: Forward sticky events
Olivier Crête [Fri, 27 Jan 2012 11:04:53 +0000 (12:04 +0100)]
rtpptdemux: Forward sticky events

12 years agortpptdemux: Protect all uses pad list with OBJECT LOCK
Olivier Crête [Fri, 27 Jan 2012 11:04:05 +0000 (12:04 +0100)]
rtpptdemux: Protect all uses pad list with OBJECT LOCK

Actually protect the entire pad list and use it in a thread safe
way.

12 years agortpssrcdemux: Forward sticky events to new pads
Olivier Crête [Fri, 27 Jan 2012 11:02:25 +0000 (12:02 +0100)]
rtpssrcdemux: Forward sticky events to new pads

12 years agortpssrcdemux: Add ssrc to forwarded CAPS events
Olivier Crête [Fri, 27 Jan 2012 11:01:40 +0000 (12:01 +0100)]
rtpssrcdemux: Add ssrc to forwarded CAPS events

Also iterate the list of GstRtpSsrcDemuxPad safely

12 years agortpssrccdemux: Factor out getting dpad by pad
Olivier Crête [Fri, 27 Jan 2012 10:59:08 +0000 (11:59 +0100)]
rtpssrccdemux: Factor out getting dpad by pad

12 years agortpsession: Keep the buffer mapped while it is being modified
Olivier Crête [Thu, 26 Jan 2012 17:35:48 +0000 (18:35 +0100)]
rtpsession: Keep the buffer mapped while it is being modified

12 years agortpsession: Initialise the address pointer to NULL
Olivier Crête [Thu, 26 Jan 2012 17:35:27 +0000 (18:35 +0100)]
rtpsession: Initialise the address pointer to NULL

12 years agodirecsoundsink: Port element to 0.11
Andoni Morales Alastruey [Fri, 27 Jan 2012 15:37:19 +0000 (16:37 +0100)]
direcsoundsink: Port element to 0.11

12 years agovideomixer2: remove pad event function
Wim Taymans [Thu, 26 Jan 2012 18:48:14 +0000 (19:48 +0100)]
videomixer2: remove pad event function

We use the one from collectpads

12 years agoRevert "qtdemux: fix GstDateTime/GDateTime mixup"
Vincent Penquerc'h [Thu, 26 Jan 2012 18:26:02 +0000 (18:26 +0000)]
Revert "qtdemux: fix GstDateTime/GDateTime mixup"

This reverts commit 53261261120b4c008de61691c70e94354b28004a.

The GstDateTime->GDateTime change in core was apparently accidental,
and is now reverted.

12 years agoRevert "avidemux: fix GstDateTime/GDateTime mixup"
Vincent Penquerc'h [Thu, 26 Jan 2012 18:25:21 +0000 (18:25 +0000)]
Revert "avidemux: fix GstDateTime/GDateTime mixup"

This reverts commit acc9f150968b25c5ae5a6940b34ad2d51b174fd2.

The GstDateTime->GDateTime change in core was apparently accidental,
and is now reverted.

12 years agoavidemux: fix GstDateTime/GDateTime mixup
Vincent Penquerc'h [Thu, 26 Jan 2012 17:50:30 +0000 (17:50 +0000)]
avidemux: fix GstDateTime/GDateTime mixup

This is a blind fix to match the one I just made to qtdemux,
as I do not have an AVI file where the code gets executed.

12 years agoqtdemux: fix GstDateTime/GDateTime mixup
Vincent Penquerc'h [Thu, 26 Jan 2012 17:47:29 +0000 (17:47 +0000)]
qtdemux: fix GstDateTime/GDateTime mixup

12 years agovideomixer: more fixes
Wim Taymans [Thu, 26 Jan 2012 17:51:30 +0000 (18:51 +0100)]
videomixer: more fixes

12 years agovideomixer: make videomixer work somewhat
Wim Taymans [Thu, 26 Jan 2012 17:43:06 +0000 (18:43 +0100)]
videomixer: make videomixer work somewhat

12 years agovideomixer: port to 0.11
Wim Taymans [Thu, 26 Jan 2012 17:15:51 +0000 (18:15 +0100)]
videomixer: port to 0.11

It builds and gst-inspect-0.11 works.. otherwise untested

12 years agodynudpsink: fix get-stats signal registration some more
Tim-Philipp Müller [Thu, 26 Jan 2012 15:48:01 +0000 (15:48 +0000)]
dynudpsink: fix get-stats signal registration some more

12 years agoRevert "udp: mark action signals as RUN_FIRST"
Tim-Philipp Müller [Thu, 26 Jan 2012 15:46:13 +0000 (15:46 +0000)]
Revert "udp: mark action signals as RUN_FIRST"

This reverts commit 5c8308599129d9e1606eedb2d3543617658dc306.

12 years agoudp: mark action signals as RUN_FIRST
Tim-Philipp Müller [Thu, 26 Jan 2012 15:39:33 +0000 (15:39 +0000)]
udp: mark action signals as RUN_FIRST

12 years agoudp: mark "get-stats" as action signal
Tim-Philipp Müller [Thu, 26 Jan 2012 15:37:23 +0000 (15:37 +0000)]
udp: mark "get-stats" as action signal

12 years agoudp: fix get-stats action signal registration
Tim-Philipp Müller [Thu, 26 Jan 2012 15:30:41 +0000 (15:30 +0000)]
udp: fix get-stats action signal registration

It returns a GstStructure now, not a GValueArray

12 years agoudpsrc: fix print format
Andoni Morales Alastruey [Thu, 26 Jan 2012 15:05:34 +0000 (16:05 +0100)]
udpsrc: fix print format

12 years agomatroskamux: Fix size of output buffers
Sebastian Dröge [Thu, 26 Jan 2012 10:50:19 +0000 (11:50 +0100)]
matroskamux: Fix size of output buffers

12 years agoqtmux: include right collectpads version
Wim Taymans [Thu, 26 Jan 2012 10:33:07 +0000 (11:33 +0100)]
qtmux: include right collectpads version

12 years agomatroskademux: Properly use the alignment parameter of gst_buffer_new_allocate()
Sebastian Dröge [Thu, 26 Jan 2012 10:29:11 +0000 (11:29 +0100)]
matroskademux: Properly use the alignment parameter of gst_buffer_new_allocate()

It's a bitmask for the alignment, not the alignment itself.

12 years agomatroskamux: Properly unmap WRITE maps of the output buffers
Sebastian Dröge [Thu, 26 Jan 2012 10:18:40 +0000 (11:18 +0100)]
matroskamux: Properly unmap WRITE maps of the output buffers

12 years agovideomixer2: Update for the new collectpads2 event handling API
Sebastian Dröge [Thu, 26 Jan 2012 09:44:28 +0000 (10:44 +0100)]
videomixer2: Update for the new collectpads2 event handling API

12 years agoqtmux: Update for the new collectpads2 event handling API
Sebastian Dröge [Thu, 26 Jan 2012 09:40:06 +0000 (10:40 +0100)]
qtmux: Update for the new collectpads2 event handling API