platform/upstream/gstreamer.git
12 years agoMerge branch 'master' into 0.11
Wim Taymans [Wed, 23 Nov 2011 09:50:53 +0000 (10:50 +0100)]
Merge branch 'master' into 0.11

Conflicts:
ext/ogg/gstoggmux.c

12 years agooggstream: extract opus comments if available
Vincent Penquerc'h [Tue, 22 Nov 2011 13:29:10 +0000 (13:29 +0000)]
oggstream: extract opus comments if available

12 years agooggstream: recognize opus headers from data, not packet count
Vincent Penquerc'h [Tue, 22 Nov 2011 13:15:33 +0000 (13:15 +0000)]
oggstream: recognize opus headers from data, not packet count

Opus streams outside of Ogg may not have headers, and oggstream
may be used by oggmux to mux an Opus stream which does not come
from Ogg - thus without headers.
Determining headerness by packet count would strip the first two
packets from such an Opus stream, leading to a very small amount
of audio being clipped at the beginning of the stream.

12 years agooggdemux: add some more debug info when determining start time
Vincent Penquerc'h [Tue, 22 Nov 2011 13:01:35 +0000 (13:01 +0000)]
oggdemux: add some more debug info when determining start time

12 years agooggstream: fix opus duration calculation
Vincent Penquerc'h [Tue, 22 Nov 2011 12:55:56 +0000 (12:55 +0000)]
oggstream: fix opus duration calculation

12 years agooggstream: early out on headers when determining packet duration
Vincent Penquerc'h [Tue, 22 Nov 2011 12:00:58 +0000 (12:00 +0000)]
oggstream: early out on headers when determining packet duration

12 years agooggstream: account for opus pre-skip in granpos/time mapping
Vincent Penquerc'h [Mon, 21 Nov 2011 17:03:21 +0000 (17:03 +0000)]
oggstream: account for opus pre-skip in granpos/time mapping

12 years agoplaysinkconvertbin: avoid removing children from bin twice
René Stadler [Tue, 22 Nov 2011 09:04:12 +0000 (10:04 +0100)]
playsinkconvertbin: avoid removing children from bin twice

GstBin base class removes children in dispose, so we need to do the same.

12 years agoFix some more printf format warnings
Tim-Philipp Müller [Tue, 22 Nov 2011 01:21:04 +0000 (01:21 +0000)]
Fix some more printf format warnings

12 years agoFix printf format compiler warnings for OSX / 64bit
Matej Knopp [Mon, 21 Nov 2011 18:28:01 +0000 (19:28 +0100)]
Fix printf format compiler warnings for OSX / 64bit

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

12 years agoupdate for activation changes
Wim Taymans [Mon, 21 Nov 2011 12:35:34 +0000 (13:35 +0100)]
update for activation changes

12 years agoximagebufferpool: Use the default ::free_buffer() implementation
Edward Hervey [Mon, 21 Nov 2011 12:04:42 +0000 (13:04 +0100)]
ximagebufferpool: Use the default ::free_buffer() implementation

Which does exactly the same thing

12 years agoxvimagebufferpool: Use the default ::free_buffer() implementation
Edward Hervey [Mon, 21 Nov 2011 12:04:12 +0000 (13:04 +0100)]
xvimagebufferpool: Use the default ::free_buffer() implementation

Which does exactly the same thing

13 years agoogg: add opus support
Vincent Penquerc'h [Sat, 19 Nov 2011 16:06:09 +0000 (16:06 +0000)]
ogg: add opus support

13 years agoupdate for new scheduling query
Wim Taymans [Fri, 18 Nov 2011 16:58:58 +0000 (17:58 +0100)]
update for new scheduling query

13 years agoadd parent to activate functions
Wim Taymans [Fri, 18 Nov 2011 12:56:04 +0000 (13:56 +0100)]
add parent to activate functions

13 years agofix for scheduling mode rename
Wim Taymans [Fri, 18 Nov 2011 11:37:10 +0000 (12:37 +0100)]
fix for scheduling mode rename

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 17 Nov 2011 16:07:41 +0000 (17:07 +0100)]
Merge branch 'master' into 0.11

Conflicts:
gst-libs/gst/audio/gstaudiodecoder.c

13 years agotag: update for new typefind
Wim Taymans [Thu, 17 Nov 2011 15:15:46 +0000 (16:15 +0100)]
tag: update for new typefind

13 years agoadd parent to pad functions
Wim Taymans [Thu, 17 Nov 2011 11:48:25 +0000 (12:48 +0100)]
add parent to pad functions

13 years agocollectpads: port API changes
Stefan Sauer [Thu, 17 Nov 2011 07:24:27 +0000 (08:24 +0100)]
collectpads: port API changes

13 years agovorbisenc: reset tag setter interface when appropriate
Mark Nauwelaerts [Wed, 16 Nov 2011 18:00:44 +0000 (19:00 +0100)]
vorbisenc: reset tag setter interface when appropriate

13 years agoaudioencoder: invalidate format info when setup negotiation failed
Mark Nauwelaerts [Wed, 16 Nov 2011 18:00:30 +0000 (19:00 +0100)]
audioencoder: invalidate format info when setup negotiation failed

... which ensures nothing subsequently tries to slip past _chain
and into a possibly improperly setup subclass.

13 years agoaudiodecoder: accept dropped buffers before we know the format
Vincent Penquerc'h [Tue, 15 Nov 2011 13:29:31 +0000 (13:29 +0000)]
audiodecoder: accept dropped buffers before we know the format

This allows flacdec to not emit audio for headers, while allowing
the base audio decoder to keep its timestamps in sync.

13 years agoadd parent to internal links
Wim Taymans [Wed, 16 Nov 2011 16:50:03 +0000 (17:50 +0100)]
add parent to internal links

13 years agoadd parent to query function
Wim Taymans [Wed, 16 Nov 2011 16:25:17 +0000 (17:25 +0100)]
add parent to query function

13 years agovisual: update for renamed flags
Wim Taymans [Wed, 16 Nov 2011 11:37:44 +0000 (12:37 +0100)]
visual: update for renamed flags

Use the _check_reconfigure method instead of checking flags.
Don't need to ref the parent anymore, core does that.

13 years ago_query_peer_*() -> _peer_query_*()
Wim Taymans [Tue, 15 Nov 2011 16:58:19 +0000 (17:58 +0100)]
_query_peer_*() -> _peer_query_*()

13 years ago_peer_get_caps() -> _peer_query_caps()
Wim Taymans [Tue, 15 Nov 2011 16:17:53 +0000 (17:17 +0100)]
_peer_get_caps() -> _peer_query_caps()

13 years agoupdate for _get_caps() -> _query_caps()
Wim Taymans [Tue, 15 Nov 2011 15:48:15 +0000 (16:48 +0100)]
update for _get_caps() -> _query_caps()

13 years agochange getcaps to query
Wim Taymans [Tue, 15 Nov 2011 15:30:38 +0000 (16:30 +0100)]
change getcaps to query

Add sink and src event functions in rtpbasepayload
Add query vmethod to rtpbasepayload.

13 years agoaudiodecoder: accept dropped buffers before we know the format
Vincent Penquerc'h [Tue, 15 Nov 2011 13:29:31 +0000 (13:29 +0000)]
audiodecoder: accept dropped buffers before we know the format

This allows flacdec to not emit audio for headers, while allowing
the base audio decoder to keep its timestamps in sync.

13 years agoaudio: Remove some unused variables
Robert Swain [Mon, 14 Nov 2011 11:45:31 +0000 (12:45 +0100)]
audio: Remove some unused variables

13 years agortcpbuffer: Add feedback message types from RFC 5104
Olivier Crête [Tue, 30 Aug 2011 22:27:09 +0000 (18:27 -0400)]
rtcpbuffer: Add feedback message types from RFC 5104

These are Codec Control messages (CCM)

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

13 years agoaudiodecoder: improve reverse playback
Mark Nauwelaerts [Wed, 19 Oct 2011 14:30:27 +0000 (16:30 +0200)]
audiodecoder: improve reverse playback

... by doing some more (reverse) timestamp interpolating and
refactoring downstream pushing.

Fixes #661983.

13 years agotag: convert GstTagDemux's sometimes source pad to an always source pad
Tim-Philipp Müller [Mon, 14 Nov 2011 09:59:36 +0000 (09:59 +0000)]
tag: convert GstTagDemux's sometimes source pad to an always source pad

Originally decodebin couldn't deal with that in 0.10, but now simply
setting the caps when we know them should be enough. Pad activation
mode switching might need some more testing/tweaking with the new
arrangement.

13 years agofix docs
Wim Taymans [Mon, 14 Nov 2011 09:46:56 +0000 (10:46 +0100)]
fix docs

13 years agocontroller: no need to explicitely add controlled properties anymore
Stefan Sauer [Sat, 12 Nov 2011 13:37:37 +0000 (15:37 +0200)]
controller: no need to explicitely add controlled properties anymore

13 years agoUpdate for GstURIHandler get_protocols() changes
Tim-Philipp Müller [Sun, 13 Nov 2011 23:44:23 +0000 (23:44 +0000)]
Update for GstURIHandler get_protocols() changes

13 years agogio, appsrc, appsink, cdaudiosrc: update for GstURIHandler API changes
Tim-Philipp Müller [Sun, 13 Nov 2011 18:22:06 +0000 (18:22 +0000)]
gio, appsrc, appsink, cdaudiosrc: update for GstURIHandler API changes

13 years agowin32: update for API changes
Tim-Philipp Müller [Sun, 13 Nov 2011 14:39:43 +0000 (14:39 +0000)]
win32: update for API changes

13 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Sun, 13 Nov 2011 13:32:30 +0000 (13:32 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11

Conflicts:
gst-libs/gst/audio/Makefile.am
gst-libs/gst/audio/audio.h
tests/examples/seek/jsseek.c
tests/examples/seek/seek.c
tests/icles/test-colorkey.c

13 years agoaudio: add GST_AUDIO_INFO_IS_VALID macro and use in audio decoder base class
Tim-Philipp Müller [Sun, 13 Nov 2011 13:18:16 +0000 (13:18 +0000)]
audio: add GST_AUDIO_INFO_IS_VALID macro and use in audio decoder base class

API: GST_AUDIO_INFO_IS_VALID

13 years agotests: require Gtk+ 3.0 for examples and Gtk-based test apps
Tim-Philipp Müller [Sat, 12 Nov 2011 15:51:52 +0000 (15:51 +0000)]
tests: require Gtk+ 3.0 for examples and Gtk-based test apps

The Gtk+ dependency is entirely optional, we're just not
supporting Gtk+ 2.x any longer.

13 years agoaudio: fix order in LIBADD
Tim-Philipp Müller [Mon, 7 Nov 2011 17:36:44 +0000 (17:36 +0000)]
audio: fix order in LIBADD

Local libs must come first.

13 years agopo: update after library merge
Tim-Philipp Müller [Sat, 12 Nov 2011 12:00:17 +0000 (12:00 +0000)]
po: update after library merge

13 years agotests: update after type renames
Tim-Philipp Müller [Sat, 12 Nov 2011 11:56:06 +0000 (11:56 +0000)]
tests: update after type renames

13 years agopo: update POTFILES.in for renamed source files
Tim-Philipp Müller [Fri, 11 Nov 2011 11:29:56 +0000 (11:29 +0000)]
po: update POTFILES.in for renamed source files

13 years agoaudio: fix order in LIBADD
Tim-Philipp Müller [Mon, 7 Nov 2011 17:36:44 +0000 (17:36 +0000)]
audio: fix order in LIBADD

Local libs must come first.

13 years agotests: fix audiocdsrc for changed preroll behaviour
Tim-Philipp Müller [Mon, 7 Nov 2011 17:25:45 +0000 (17:25 +0000)]
tests: fix audiocdsrc for changed preroll behaviour

Previously, the source posted a TAG message before buffers would
even be pushed towards the sink, so we'd get the TAG message before
any ASYNC_DONE message. Now the tags get sent downstream to the sink
to get posted there, and the tag event will get queued and handled
later after preroll has finished, so now we get the ASYNC_DONE
message before the TAG message.

13 years agotests: fix up cddabasesrc unit test for GstCddaBaseSrc -> GstAudioCdSrc renaming
Tim-Philipp Müller [Sat, 24 Sep 2011 18:55:25 +0000 (19:55 +0100)]
tests: fix up cddabasesrc unit test for GstCddaBaseSrc -> GstAudioCdSrc renaming

13 years agocdparanoia: update for GstCddaBaseSrc -> GstAudioCdSrc renaming
Tim-Philipp Müller [Sat, 24 Sep 2011 18:35:40 +0000 (19:35 +0100)]
cdparanoia: update for GstCddaBaseSrc -> GstAudioCdSrc renaming

13 years agocdda: rename GstCddaBaseSrc to GstAudioCdSrc and move to libgstaudio
Tim-Philipp Müller [Sat, 24 Sep 2011 18:22:11 +0000 (19:22 +0100)]
cdda: rename GstCddaBaseSrc to GstAudioCdSrc and move to libgstaudio

Another mini-lib down, to make space for new mini libs.

Remove bogus copyright line while at it.

13 years agoupdate spec file for latest 0.11 changes
Christian Fredrik Kalager Schaller [Sat, 12 Nov 2011 09:56:04 +0000 (09:56 +0000)]
update spec file for latest 0.11 changes

13 years agoaudioconvert, videoconvert: fix caps leak in transform_caps
René Stadler [Sat, 12 Nov 2011 00:38:37 +0000 (01:38 +0100)]
audioconvert, videoconvert: fix caps leak in transform_caps

13 years agoaudioconvert: fix leak of channel matrix
René Stadler [Fri, 11 Nov 2011 19:19:53 +0000 (20:19 +0100)]
audioconvert: fix leak of channel matrix

gst_channel_mix_unset_matrix relies on the channel count to free the matrix
array, so run it before resetting it to zero with gst_audio_info_init.

13 years agovideotestsrc: fix crash with ARGB64
René Stadler [Fri, 11 Nov 2011 18:55:41 +0000 (19:55 +0100)]
videotestsrc: fix crash with ARGB64

This got broken when it was ported.

13 years agovideo: init chroma-size and colorimetry members even if missing from caps
René Stadler [Fri, 11 Nov 2011 18:53:11 +0000 (19:53 +0100)]
video: init chroma-size and colorimetry members even if missing from caps

This makes a TRUE return from gst_video_info_from_caps fully consistent with
gst_video_info_init.

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Fri, 11 Nov 2011 18:36:23 +0000 (19:36 +0100)]
Merge branch 'master' into 0.11

13 years agortsp: cleanup headers
Wim Taymans [Fri, 11 Nov 2011 18:35:33 +0000 (19:35 +0100)]
rtsp: cleanup headers

Add padding, fix indentation, remove deprecated stuff

13 years agortp: fix headers
Wim Taymans [Fri, 11 Nov 2011 18:21:09 +0000 (19:21 +0100)]
rtp: fix headers

indent, add padding, remove old abidata

13 years agoremove padding from interfaces
Wim Taymans [Fri, 11 Nov 2011 18:16:54 +0000 (19:16 +0100)]
remove padding from interfaces

13 years agofix docs
Wim Taymans [Fri, 11 Nov 2011 18:16:12 +0000 (19:16 +0100)]
fix docs

13 years agomixertrack: fix docs
Wim Taymans [Fri, 11 Nov 2011 18:14:26 +0000 (19:14 +0100)]
mixertrack: fix docs

13 years agoaudio: fix docs
Wim Taymans [Fri, 11 Nov 2011 18:13:52 +0000 (19:13 +0100)]
audio: fix docs

13 years agopbutils: clean up headers
Wim Taymans [Fri, 11 Nov 2011 18:01:56 +0000 (19:01 +0100)]
pbutils: clean up headers

Add padding
indent

13 years agointerfaces: clean up
Wim Taymans [Fri, 11 Nov 2011 17:49:09 +0000 (18:49 +0100)]
interfaces: clean up

Remove deprecated bits
Fix FIXMES
Indent
Add padding

13 years agofft: fix headers
Wim Taymans [Fri, 11 Nov 2011 17:23:22 +0000 (18:23 +0100)]
fft: fix headers

More fft structure into .c file
indent headers

13 years agoaudio: fix headers
Wim Taymans [Fri, 11 Nov 2011 16:53:03 +0000 (17:53 +0100)]
audio: fix headers

Add const to some methods.
Add padding.
Add GType for GstAudioInfo and GstAudioFormatInfo.
Add new/copy/free for GstAudioInfo.

13 years agoapp: fix headers
Wim Taymans [Fri, 11 Nov 2011 16:52:36 +0000 (17:52 +0100)]
app: fix headers

13 years agoplaysinkconvertbin: fix visualisations again
Tim-Philipp Müller [Fri, 11 Nov 2011 13:32:23 +0000 (13:32 +0000)]
playsinkconvertbin: fix visualisations again

Make caps writable before merging other caps into them.

13 years agovideo: add support for max-framerate
Wim Taymans [Fri, 11 Nov 2011 12:14:21 +0000 (13:14 +0100)]
video: add support for max-framerate

Add support for max-framerate in the video helpers and update the video
caps document.

13 years agomake the identity silent
Wim Taymans [Fri, 11 Nov 2011 12:12:27 +0000 (13:12 +0100)]
make the identity silent

13 years agoremove bogus file
Wim Taymans [Fri, 11 Nov 2011 11:35:50 +0000 (12:35 +0100)]
remove bogus file

13 years agorename files to match object names
Wim Taymans [Fri, 11 Nov 2011 11:32:23 +0000 (12:32 +0100)]
rename files to match object names

13 years agorename BaseRTP -> RTPBase
Wim Taymans [Fri, 11 Nov 2011 11:24:08 +0000 (12:24 +0100)]
rename BaseRTP -> RTPBase

13 years agorename baseaudio* -> audiobase*
Wim Taymans [Fri, 11 Nov 2011 11:00:52 +0000 (12:00 +0100)]
rename baseaudio* -> audiobase*

13 years agorename GstBaseAudio* ->GstAudioBase*
Wim Taymans [Fri, 11 Nov 2011 10:52:47 +0000 (11:52 +0100)]
rename GstBaseAudio* ->GstAudioBase*

13 years agorename files to match contained objects
Wim Taymans [Fri, 11 Nov 2011 10:33:15 +0000 (11:33 +0100)]
rename files to match contained objects

13 years agoaudio: GstRingBuffer -> GstAudioRingBuffer
Wim Taymans [Fri, 11 Nov 2011 10:21:41 +0000 (11:21 +0100)]
audio: GstRingBuffer -> GstAudioRingBuffer

13 years agoaudio: rename internal audio ringbuffer
Wim Taymans [Fri, 11 Nov 2011 09:54:39 +0000 (10:54 +0100)]
audio: rename internal audio ringbuffer

13 years agoremove bogus files
Wim Taymans [Fri, 11 Nov 2011 09:27:27 +0000 (10:27 +0100)]
remove bogus files

They got somehow commited in 7012e88090e69339c60a4eb9449f7a7e39ca6aa3

13 years agocontroller: port controller api changes
Stefan Sauer [Thu, 10 Nov 2011 21:02:35 +0000 (23:02 +0200)]
controller: port controller api changes

13 years agoupdate for adapter api changes
Wim Taymans [Thu, 10 Nov 2011 17:32:39 +0000 (18:32 +0100)]
update for adapter api changes

13 years agotests: fix build after removal of base64 lib
Wim Taymans [Thu, 10 Nov 2011 17:30:31 +0000 (18:30 +0100)]
tests: fix build after removal of base64 lib

13 years agovideosink: reset padding
Wim Taymans [Thu, 10 Nov 2011 16:52:36 +0000 (17:52 +0100)]
videosink: reset padding

13 years agortsp: remove deprecated base64 library
Wim Taymans [Thu, 10 Nov 2011 16:39:10 +0000 (17:39 +0100)]
rtsp: remove deprecated base64 library

13 years agoMerge branch 'master' into 0.11
Wim Taymans [Thu, 10 Nov 2011 16:26:12 +0000 (17:26 +0100)]
Merge branch 'master' into 0.11

13 years agortp: fix de/payloaders
Wim Taymans [Thu, 10 Nov 2011 16:18:00 +0000 (17:18 +0100)]
rtp: fix de/payloaders

gst_basertppayload -> gst_base_rtp_payload
Add pts/dts support in the depayloader
Remove old timestamp code
Add a default getcaps function so subclasses can chain up to it instead of
relying on the return value of the getcaps function.

13 years agobaseaudiosink: make unsigned properties unsigned, not signed
Vincent Penquerc'h [Thu, 10 Nov 2011 15:55:31 +0000 (15:55 +0000)]
baseaudiosink: make unsigned properties unsigned, not signed

13 years agoaudio: fix base class vmethods
Wim Taymans [Thu, 10 Nov 2011 15:24:12 +0000 (16:24 +0100)]
audio: fix base class vmethods

13 years agoalsa: fix negotiation
Wim Taymans [Thu, 10 Nov 2011 15:02:01 +0000 (16:02 +0100)]
alsa: fix negotiation

Don't assume the format is a string because now it is a list of string in the
template.
Chain up to the parent class implementation of get_caps.

13 years agoaudiosrc: avoid deadlock
Wim Taymans [Thu, 10 Nov 2011 15:00:28 +0000 (16:00 +0100)]
audiosrc: avoid deadlock

13 years agovorbisenc: fix getcaps ignoring filter caps
Vincent Penquerc'h [Thu, 10 Nov 2011 14:37:02 +0000 (14:37 +0000)]
vorbisenc: fix getcaps ignoring filter caps

13 years agoaudioconvert: truncate caps in _fixate
Vincent Penquerc'h [Thu, 10 Nov 2011 14:24:30 +0000 (14:24 +0000)]
audioconvert: truncate caps in _fixate

Otherwise the resulting caps may not be fixed.

13 years agooggdemux: do not try to write empty header buffers
Vincent Penquerc'h [Thu, 10 Nov 2011 14:18:54 +0000 (14:18 +0000)]
oggdemux: do not try to write empty header buffers

Those are valid, and the EOS skeleton packet is actually empty.

13 years agooggmux: split request pad templates into audio/video/subtitle
Vincent Penquerc'h [Thu, 10 Nov 2011 13:02:13 +0000 (13:02 +0000)]
oggmux: split request pad templates into audio/video/subtitle

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

13 years agoaudioclock: remove _full version
Wim Taymans [Thu, 10 Nov 2011 12:50:08 +0000 (13:50 +0100)]
audioclock: remove _full version

13 years agoappsink: fix header
Wim Taymans [Thu, 10 Nov 2011 12:45:39 +0000 (13:45 +0100)]
appsink: fix header

13 years agopbutils: Fix introspection annotations
Edward Hervey [Thu, 10 Nov 2011 11:47:51 +0000 (12:47 +0100)]
pbutils: Fix introspection annotations

Fixes #663689