platform/upstream/gstreamer.git
12 years agomultihandlesink: finish refactor
Thomas Vander Stichele [Sat, 28 Jan 2012 17:07:46 +0000 (18:07 +0100)]
multihandlesink: finish refactor

12 years agomultihandle: rename num-fds/-sockets to num-handles
Thomas Vander Stichele [Sat, 28 Jan 2012 17:06:02 +0000 (18:06 +0100)]
multihandle: rename num-fds/-sockets to num-handles

12 years agomultihandlesink: rework to use Handle
Thomas Vander Stichele [Sat, 28 Jan 2012 10:02:21 +0000 (11:02 +0100)]
multihandlesink: rework to use Handle

12 years agotests multihandle: verify number of handles
Thomas Vander Stichele [Sat, 28 Jan 2012 08:29:55 +0000 (09:29 +0100)]
tests multihandle: verify number of handles

12 years agomultihandlesink: introduce Handle union
Thomas Vander Stichele [Fri, 27 Jan 2012 20:28:05 +0000 (21:28 +0100)]
multihandlesink: introduce Handle union

12 years agomultihandlesink: rework to use GST_TYPE_FORMAT
Thomas Vander Stichele [Fri, 27 Jan 2012 17:44:04 +0000 (18:44 +0100)]
multihandlesink: rework to use GST_TYPE_FORMAT

12 years agomultisocketsink: fix tests by setting units properly
Thomas Vander Stichele [Fri, 27 Jan 2012 17:40:30 +0000 (18:40 +0100)]
multisocketsink: fix tests by setting units properly

12 years agotest: use more literal enums
Thomas Vander Stichele [Fri, 27 Jan 2012 17:33:56 +0000 (18:33 +0100)]
test: use more literal enums

12 years agomultihandlesink: further refactoring
Thomas Vander Stichele [Fri, 27 Jan 2012 14:46:31 +0000 (15:46 +0100)]
multihandlesink: further refactoring

12 years agomultisocketsink: fix refcounting bug
Thomas Vander Stichele [Fri, 27 Jan 2012 11:58:12 +0000 (12:58 +0100)]
multisocketsink: fix refcounting bug

12 years agomultihandlesink: further refactoring
Thomas Vander Stichele [Thu, 26 Jan 2012 22:19:33 +0000 (23:19 +0100)]
multihandlesink: further refactoring

12 years agomultihandlesink: fix one bug in multisocketsink refactoring
Thomas Vander Stichele [Thu, 26 Jan 2012 18:34:47 +0000 (19:34 +0100)]
multihandlesink: fix one bug in multisocketsink refactoring

12 years agomultihandlesink: first stab at common base class
Thomas Vander Stichele [Thu, 26 Jan 2012 09:49:37 +0000 (10:49 +0100)]
multihandlesink: first stab at common base class

12 years agogst/tcp: Factor out common symbols; fix tests.
Thomas Vander Stichele [Thu, 26 Jan 2012 09:41:22 +0000 (10:41 +0100)]
gst/tcp: Factor out common symbols; fix tests.

12 years agomultifdsink: put back multifdsink before refactoring
Thomas Vander Stichele [Thu, 26 Jan 2012 09:08:47 +0000 (10:08 +0100)]
multifdsink: put back multifdsink before refactoring

12 years agomultisocketsink: copy over multifdsink unit tests, with FIXME
Thomas Vander Stichele [Thu, 26 Jan 2012 11:30:21 +0000 (12:30 +0100)]
multisocketsink: copy over multifdsink unit tests, with FIXME

12 years agotag: make GstTagMux base class a bit more functional
Tim-Philipp Müller [Sun, 12 Feb 2012 16:54:56 +0000 (16:54 +0000)]
tag: make GstTagMux base class a bit more functional

We can't use G_DEFINE_*TYPE here because we need the klass in the _init
method to get to the padtemplates. Fixes 'GstTagDemux subclass GstTagDemux
did not set up a {sink,src} pad template' warnings.

12 years agotests: don't run with unsupported formats
Wim Taymans [Fri, 10 Feb 2012 14:41:36 +0000 (15:41 +0100)]
tests: don't run with unsupported formats

videoconvert does not work with GRAY formats yet so don't try to run the unit
test with it.

12 years agovideoconvert: improve error reporting
Wim Taymans [Fri, 10 Feb 2012 14:41:19 +0000 (15:41 +0100)]
videoconvert: improve error reporting

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

Conflicts:
ext/vorbis/gstvorbisparse.c
gst-libs/gst/video/video.c
gst/videoscale/gstvideoscale.c
sys/v4l/gstv4lxoverlay.c
sys/v4l/v4l_calls.c
sys/v4l/v4lsrc_calls.c
tests/check/libs/video.c

12 years agotypefindfunctions: make h264 typefinder more picky when returning "likely" probability
Tim-Philipp Müller [Wed, 8 Feb 2012 19:39:00 +0000 (19:39 +0000)]
typefindfunctions: make h264 typefinder more picky when returning "likely" probability

Only return LIKELY probability if we've seen an SPS, PPS and an
IDR slice nal, i.e. try harder to avoid false positives such
as with certain VC-1 files.

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

12 years agovideo: add performance log for frame copy
Wim Taymans [Thu, 9 Feb 2012 15:03:35 +0000 (16:03 +0100)]
video: add performance log for frame copy

12 years agovideoconvert: avoid using _CATEGORY_GET
Wim Taymans [Thu, 9 Feb 2012 15:00:59 +0000 (16:00 +0100)]
videoconvert: avoid using _CATEGORY_GET

12 years agosubtitleoverlay: fix merge error
Wim Taymans [Thu, 9 Feb 2012 14:51:10 +0000 (15:51 +0100)]
subtitleoverlay: fix merge error

Fix merge error from commit fb6d09055ae90979682fa4b1c6ee4f4abdaafd8f

12 years agodebug: add some performance debug
Wim Taymans [Thu, 9 Feb 2012 14:28:54 +0000 (15:28 +0100)]
debug: add some performance debug

12 years agotypefindfunctions: minor cosmetic change
Tim-Philipp Müller [Wed, 8 Feb 2012 19:34:57 +0000 (19:34 +0000)]
typefindfunctions: minor cosmetic change

Don't write < 1 when we mean == 0.

12 years agoGST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING
Wim Taymans [Wed, 8 Feb 2012 14:17:49 +0000 (15:17 +0100)]
GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING

12 years agortsp: make g-ir-scanner include Gio-2.0 to suppress complaints about GSocket etc.
Tim-Philipp Müller [Tue, 7 Feb 2012 23:42:48 +0000 (23:42 +0000)]
rtsp: make g-ir-scanner include Gio-2.0 to suppress complaints about GSocket etc.

12 years agoaudiodecoder: remove stray obsolete declaration
Mark Nauwelaerts [Mon, 6 Feb 2012 21:09:50 +0000 (22:09 +0100)]
audiodecoder: remove stray obsolete declaration

12 years agoaudio: correctly fill in fallback channel positions in stereo case
Mark Nauwelaerts [Mon, 6 Feb 2012 21:09:34 +0000 (22:09 +0100)]
audio: correctly fill in fallback channel positions in stereo case

12 years agovideo: mark endianness correctly
Wim Taymans [Mon, 6 Feb 2012 17:33:59 +0000 (18:33 +0100)]
video: mark endianness correctly

12 years agovolume: use right info structure for setup
Wim Taymans [Mon, 6 Feb 2012 15:08:24 +0000 (16:08 +0100)]
volume: use right info structure for setup

12 years agotagdemux: push event in the right direction
Wim Taymans [Mon, 6 Feb 2012 14:51:17 +0000 (15:51 +0100)]
tagdemux: push event in the right direction

Push the stored events in the right direction

12 years agotag: fix up define that tells code where to find the license translations too
Tim-Philipp Müller [Mon, 6 Feb 2012 13:49:12 +0000 (13:49 +0000)]
tag: fix up define that tells code where to find the license translations too

Tell code about new location of translation dict.

12 years agoaudiofilter: configure info after calling vmethod
Wim Taymans [Mon, 6 Feb 2012 12:22:14 +0000 (13:22 +0100)]
audiofilter: configure info after calling vmethod

First call the vmethod and then configure the audioinfo in the baseclass. This
allows subclasses to know about the old format.

12 years agodef: update
Wim Taymans [Mon, 6 Feb 2012 08:45:10 +0000 (09:45 +0100)]
def: update

12 years agofix for removed file
Wim Taymans [Mon, 6 Feb 2012 08:44:48 +0000 (09:44 +0100)]
fix for removed file

12 years agovideofilter: take care of in_place transform
Wim Taymans [Fri, 3 Feb 2012 16:10:12 +0000 (17:10 +0100)]
videofilter: take care of in_place transform

If the subclass doesn't implement a transform_frame function we need to force
the baseclass into in_place transform.

12 years agotag: Install license translations into $(pkgdatadir)/0.11
Sebastian Dröge [Mon, 6 Feb 2012 10:44:29 +0000 (11:44 +0100)]
tag: Install license translations into $(pkgdatadir)/0.11

This prevents file conflicts with GStreamer 0.10.

12 years agovideo: add GST_VIDEO_INFO_COMP_BITS
Mark Nauwelaerts [Mon, 6 Feb 2012 09:52:01 +0000 (10:52 +0100)]
video: add GST_VIDEO_INFO_COMP_BITS

12 years agovideo: Add GST_VIDEO_INFO_COMP_WIDTH
Sebastian Dröge [Mon, 6 Feb 2012 08:53:22 +0000 (09:53 +0100)]
video: Add GST_VIDEO_INFO_COMP_WIDTH

12 years agotheoraenc: remove obsolete properties
Tim-Philipp Müller [Sun, 5 Feb 2012 10:56:44 +0000 (10:56 +0000)]
theoraenc: remove obsolete properties

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

12 years agovideoscale: Add nearest/linear scaling for NV12
David Schleef [Mon, 30 Jan 2012 16:21:54 +0000 (08:21 -0800)]
videoscale: Add nearest/linear scaling for NV12

12 years agovideoscale: Add AYUV64 path to Lanczos
David Schleef [Wed, 25 Jan 2012 23:49:00 +0000 (15:49 -0800)]
videoscale: Add AYUV64 path to Lanczos

12 years agotheoraenc: Use GAP flag when possible
David Schleef [Wed, 31 Aug 2011 02:02:51 +0000 (19:02 -0700)]
theoraenc: Use GAP flag when possible

Set TH_ENCCTL_SET_DUPLICATE_FLAG when we see a gap flag, to
indicate to the encoder that the current frame is a duplicate
of the previous frame.

12 years agotests: fix volume test
Wim Taymans [Fri, 3 Feb 2012 14:01:50 +0000 (15:01 +0100)]
tests: fix volume test

12 years agotests: video testsrc unit test
Wim Taymans [Fri, 3 Feb 2012 11:53:49 +0000 (12:53 +0100)]
tests: video testsrc unit test

12 years agotests: fix more unit tests
Wim Taymans [Fri, 3 Feb 2012 11:41:10 +0000 (12:41 +0100)]
tests: fix more unit tests

12 years agotests: don't set NULL caps
Wim Taymans [Fri, 3 Feb 2012 11:09:34 +0000 (12:09 +0100)]
tests: don't set NULL caps

12 years agogdp: fixup unit tests
Wim Taymans [Fri, 3 Feb 2012 10:38:55 +0000 (11:38 +0100)]
gdp: fixup unit tests

12 years agogdppay: fixup for changed caps
Wim Taymans [Fri, 3 Feb 2012 10:38:15 +0000 (11:38 +0100)]
gdppay: fixup for changed caps

Try to send the streamheader after the first buffer.

12 years agodataprotocol: don't define default Category
Wim Taymans [Fri, 3 Feb 2012 10:37:21 +0000 (11:37 +0100)]
dataprotocol: don't define default Category

Since we now include this into the unit tests directly, don't define the default
category macro because it conflicts with check.

12 years agotests: fix audioresample test
Wim Taymans [Fri, 3 Feb 2012 09:47:22 +0000 (10:47 +0100)]
tests: fix audioresample test

12 years agotests: fix audiorate test
Wim Taymans [Fri, 3 Feb 2012 08:57:21 +0000 (09:57 +0100)]
tests: fix audiorate test

We need to add the layout to the audio caps.

12 years agoaudiorate: use default event handler
Wim Taymans [Fri, 3 Feb 2012 08:56:56 +0000 (09:56 +0100)]
audiorate: use default event handler

Use the default event handler for unknown events.

12 years agoaudioencoder: don't unref caps parameter
Wim Taymans [Fri, 3 Feb 2012 08:48:22 +0000 (09:48 +0100)]
audioencoder: don't unref caps parameter

Fix refcounting on incomming caps to make sure we don't unref it too much.

12 years agoautogen.sh: allow calling from out-of-tree
Ryan Lortie [Sun, 8 Jan 2012 04:09:23 +0000 (23:09 -0500)]
autogen.sh: allow calling from out-of-tree

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

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

12 years agooggdemux: fix granpos interpolation violating max keyframe distance
Vincent Penquerc'h [Wed, 1 Feb 2012 15:28:45 +0000 (15:28 +0000)]
oggdemux: fix granpos interpolation violating max keyframe distance

In case many packets fit on a page, we may not see a granpos for
a while, and granpos interpolation can wrap the 'frames since last
keyframe' part of the granpos, generating a granpos which is smaller
than what it should be.

This is fixed by detecting keyframe packets (at least for Theora),
and updating the last keyframe granpos from this.

This may still be generating potentially wrong granpos for streams
which have a Theora like granpos (keyframes, a max keyframe distance
and a count of frames since last keyframe), and which allow implicit
granules on packets. For these streams, a custom keyframe detection
routine should be plugged into their GstOggStream mapper.

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

12 years agoplaysink: call the right default query handler
Wim Taymans [Thu, 2 Feb 2012 11:14:15 +0000 (12:14 +0100)]
playsink: call the right default query handler

We need to call the default query handler of the proxy pad because only that one
will forward the query to the target pad in case of the allocation query.

12 years agotypefindfunctions, subparse: fix for gst_type_find_register() API change
Tim-Philipp Müller [Thu, 2 Feb 2012 01:35:21 +0000 (01:35 +0000)]
typefindfunctions, subparse: fix for gst_type_find_register() API change

12 years agodiscoverer: mark GError argument of "discovered" signal with STATIC_SCOPE
Tim-Philipp Müller [Wed, 1 Feb 2012 19:26:29 +0000 (19:26 +0000)]
discoverer: mark GError argument of "discovered" signal with STATIC_SCOPE

So the error is passed to the callback as is without a copy being made.

12 years agovorbisparse: pedantically recognize undefined headers too
Vincent Penquerc'h [Wed, 1 Feb 2012 16:46:13 +0000 (16:46 +0000)]
vorbisparse: pedantically recognize undefined headers too

12 years agovorbisparse: fix header detection
Vincent Penquerc'h [Wed, 1 Feb 2012 16:32:24 +0000 (16:32 +0000)]
vorbisparse: fix header detection

It was matching non header packets.

This fixes various leaks, where buffers would be pushed onto a headers
list, but never popped.

Might also fix corruption as those buffers were dropped from the output
silently...

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

12 years agoplayback: suppress GValueArray deprecation warnings for the time being
Tim-Philipp Müller [Sun, 29 Jan 2012 00:21:19 +0000 (00:21 +0000)]
playback: suppress GValueArray deprecation warnings for the time being

until this gets sorted out and we have a viable alternative.

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

12 years agoaudioencoder: gst_pad_get_pad_template_caps() now returns a new reference, don't...
Sebastian Dröge [Wed, 1 Feb 2012 15:33:30 +0000 (16:33 +0100)]
audioencoder: gst_pad_get_pad_template_caps() now returns a new reference, don't forget to unref

12 years agoaudio{enc,dec}oder: Check if srcpad caps are a subset of the template caps
Sebastian Dröge [Wed, 1 Feb 2012 15:32:53 +0000 (16:32 +0100)]
audio{enc,dec}oder: Check if srcpad caps are a subset of the template caps

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

12 years agoaudioencoder: Add gst_audio_encoder_set_output_format() function for consistency
Sebastian Dröge [Wed, 1 Feb 2012 15:00:37 +0000 (16:00 +0100)]
audioencoder: Add gst_audio_encoder_set_output_format() function for consistency

12 years agoaudiodecoder: Rename set_outcaps() to set_output_format() and take a GstAudioInfo...
Sebastian Dröge [Wed, 1 Feb 2012 14:59:57 +0000 (15:59 +0100)]
audiodecoder: Rename set_outcaps() to set_output_format() and take a GstAudioInfo as parameter

12 years agotests: fix audioresample formats
Wim Taymans [Tue, 31 Jan 2012 16:56:04 +0000 (17:56 +0100)]
tests: fix audioresample formats

12 years agotests: improve tests
Wim Taymans [Tue, 31 Jan 2012 16:47:40 +0000 (17:47 +0100)]
tests: improve tests

12 years agotests: fix some more tests
Wim Taymans [Tue, 31 Jan 2012 15:56:03 +0000 (16:56 +0100)]
tests: fix some more tests

12 years agotests: update after controller changes
Wim Taymans [Tue, 31 Jan 2012 15:12:33 +0000 (16:12 +0100)]
tests: update after controller changes

12 years agodefs: update for new API
Wim Taymans [Tue, 31 Jan 2012 15:12:16 +0000 (16:12 +0100)]
defs: update for new API

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

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

gst_control_binding_xxx -> gst_xxx_control_binding for consistency.

12 years agooggdemux: don't blindly forward all unknown events
Wim Taymans [Mon, 30 Jan 2012 19:58:34 +0000 (20:58 +0100)]
oggdemux: don't blindly forward all unknown events

It causes the caps event to be send downstream and cause negotiation failures.

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

12 years agotests: test 16-bit rgb formats in test_parse_caps_rgb
George Kiagiadakis [Tue, 10 Jan 2012 19:17:58 +0000 (21:17 +0200)]
tests: test 16-bit rgb formats in test_parse_caps_rgb

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

12 years agovideo: Use host endianness when generating caps for 16-bit rgb formats
George Kiagiadakis [Tue, 10 Jan 2012 19:02:48 +0000 (21:02 +0200)]
video: Use host endianness when generating caps for 16-bit rgb formats

This is necessary in order to match what the caps strings in
video.h contain for 16-bit rgb formats and also to match how
gst_video_format_parse_caps expects them.

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

12 years agovideopool: update for allocator api update
Wim Taymans [Mon, 30 Jan 2012 12:06:55 +0000 (13:06 +0100)]
videopool: update for allocator api update

12 years agotests: use playbin, not playbin2
Jonathan Matthew [Thu, 26 Jan 2012 09:35:51 +0000 (10:35 +0100)]
tests: use playbin, not playbin2

12 years agoUse macros to register boxed types thread safely
Olivier Crête [Sat, 28 Jan 2012 14:53:21 +0000 (14:53 +0000)]
Use macros to register boxed types thread safely

12 years agortcpbuffer: Set the map.size to the current size of the RTCP packet
Olivier Crête [Fri, 27 Jan 2012 16:52:49 +0000 (17:52 +0100)]
rtcpbuffer: Set the map.size to the current size of the RTCP packet

maxsize is the maximum size

12 years agortpcbuffer: To write inside a RTCP buffer, you must be able to read
Olivier Crête [Fri, 27 Jan 2012 11:55:45 +0000 (12:55 +0100)]
rtpcbuffer: To write inside a RTCP buffer, you must be able to read

So always require read

12 years agortcpbuffer: Return errors if the map mode doesn't match the actions
Olivier Crête [Thu, 26 Jan 2012 17:24:44 +0000 (18:24 +0100)]
rtcpbuffer: Return errors if the map mode doesn't match the actions

12 years agortcpbuffer: Don't try to modify read-only buffers
Olivier Crête [Thu, 26 Jan 2012 17:24:20 +0000 (18:24 +0100)]
rtcpbuffer: Don't try to modify read-only buffers

12 years agoaudiosrc: wait on the right cond variable
Wim Taymans [Fri, 27 Jan 2012 17:25:38 +0000 (18:25 +0100)]
audiosrc: wait on the right cond variable

This broke with a merge commit

12 years agoaudiorate: Use the number of samples for the in and out properties as documented
Jason DeRose [Fri, 27 Jan 2012 16:55:34 +0000 (17:55 +0100)]
audiorate: Use the number of samples for the in and out properties as documented

12 years agovorbisenc: Properly generate the channel-mask on the sinkpad caps
Sebastian Dröge [Fri, 27 Jan 2012 16:10:35 +0000 (17:10 +0100)]
vorbisenc: Properly generate the channel-mask on the sinkpad caps

12 years agov4l: include the glib compatiblity header for the deprecated mutex API
Vincent Penquerc'h [Fri, 27 Jan 2012 13:52:30 +0000 (13:52 +0000)]
v4l: include the glib compatiblity header for the deprecated mutex API

12 years agoMerge branch 'master' into 0.11
Sebastian Dröge [Fri, 27 Jan 2012 14:12:25 +0000 (15:12 +0100)]
Merge branch 'master' into 0.11

Conflicts:
gst/adder/gstadder.c

12 years agovorbisparse: Pass correct header buffer size to libvorbis and include channels/rate...
Sebastian Dröge [Fri, 27 Jan 2012 11:08:33 +0000 (12:08 +0100)]
vorbisparse: Pass correct header buffer size to libvorbis and include channels/rate in the srcpad caps

12 years agotagdemux: use default event handler for delayed events
Wim Taymans [Thu, 26 Jan 2012 18:47:38 +0000 (19:47 +0100)]
tagdemux: use default event handler for delayed events

12 years agotcpserversink: remove unused include
Andoni Morales Alastruey [Thu, 26 Jan 2012 14:25:18 +0000 (15:25 +0100)]
tcpserversink: remove unused include

12 years agoalsa: merge instead of appending structures
Wim Taymans [Thu, 26 Jan 2012 13:28:06 +0000 (14:28 +0100)]
alsa: merge instead of appending structures

12 years agotheoraenc: Add width/height/framerate to the srcpad caps
Sebastian Dröge [Thu, 26 Jan 2012 10:02:51 +0000 (11:02 +0100)]
theoraenc: Add width/height/framerate to the srcpad caps

12 years agovorbisenc: Add samplerate and channels to the srcpad caps
Sebastian Dröge [Thu, 26 Jan 2012 10:01:12 +0000 (11:01 +0100)]
vorbisenc: Add samplerate and channels to the srcpad caps

12 years agoadder: Update for new collectpads2 event handling API
Sebastian Dröge [Thu, 26 Jan 2012 09:27:00 +0000 (10:27 +0100)]
adder: Update for new collectpads2 event handling API