platform/upstream/gstreamer.git
11 years agocheck: add rtsp range checks
Wim Taymans [Mon, 19 Nov 2012 12:52:08 +0000 (13:52 +0100)]
check: add rtsp range checks

11 years agorange: a single - is not allowed
Wim Taymans [Mon, 19 Nov 2012 12:37:56 +0000 (13:37 +0100)]
range: a single - is not allowed

11 years agorange: handle ranges starting with -
Wim Taymans [Mon, 19 Nov 2012 12:33:32 +0000 (13:33 +0100)]
range: handle ranges starting with -

An RTSP range that starts with a - means that the first value of the range is
the end of the stream.

11 years agoAutomatic update of common submodule
Tim-Philipp Müller [Mon, 19 Nov 2012 11:24:28 +0000 (11:24 +0000)]
Automatic update of common submodule

From b497c4f to a72faea

11 years agoexamples: don't use deprecated API
Tim-Philipp Müller [Sat, 17 Nov 2012 00:26:45 +0000 (00:26 +0000)]
examples: don't use deprecated API

11 years agogst_adapter_prev_timestamp -> gst_adapter_prev_pts
Tim-Philipp Müller [Wed, 14 Nov 2012 00:03:15 +0000 (00:03 +0000)]
gst_adapter_prev_timestamp -> gst_adapter_prev_pts

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

11 years agovideo-format: fix plane offsets for GBR formats
Wim Taymans [Tue, 13 Nov 2012 15:15:49 +0000 (16:15 +0100)]
video-format: fix plane offsets for GBR formats

Also make some macros to get to the R/G/B planes
Remove unused stride macros.

11 years agoRevert "vorbisdec: Fix GType name conflict if tremor and libvorbis decoder are used...
Sebastian Dröge [Tue, 13 Nov 2012 15:11:42 +0000 (16:11 +0100)]
Revert "vorbisdec: Fix GType name conflict if tremor and libvorbis decoder are used in the same process"

This reverts commit 858392f88a1221afa29e6b08b283d5472be69b62.

A similar, cleaner fix was already in place.

11 years agovorbisdec: Fix GType name conflict if tremor and libvorbis decoder are used in the...
Sebastian Dröge [Tue, 13 Nov 2012 14:40:14 +0000 (15:40 +0100)]
vorbisdec: Fix GType name conflict if tremor and libvorbis decoder are used in the same process

11 years agortspconnection: improve docs
Wim Taymans [Mon, 12 Nov 2012 11:44:05 +0000 (12:44 +0100)]
rtspconnection: improve docs

11 years agopbutils: add description for Opus audio codec
Tim-Philipp Müller [Mon, 12 Nov 2012 12:57:35 +0000 (12:57 +0000)]
pbutils: add description for Opus audio codec

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

11 years agoaudio: Use new GType for GThread instead of just G_TYPE_POINTER
Sebastian Dröge [Mon, 12 Nov 2012 10:45:15 +0000 (11:45 +0100)]
audio: Use new GType for GThread instead of just G_TYPE_POINTER

11 years agortpbuffer: protect against empty buffers
Wim Taymans [Mon, 12 Nov 2012 10:17:56 +0000 (11:17 +0100)]
rtpbuffer: protect against empty buffers

11 years agotypefinding: improve AAC LOAS typefinding
Tim-Philipp Müller [Sun, 11 Nov 2012 16:33:32 +0000 (16:33 +0000)]
typefinding: improve AAC LOAS typefinding

Make AAC LOAS typefinding a bit more reliable; don't report
a LIKELY probability already after just two sync points, but
scan for a few more consecutive frames and determine probability
based on how many we found. Fixes mis-detection of wavpack file.

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

11 years agotypefinding: improve wavpack typefinder
Tim-Philipp Müller [Sun, 11 Nov 2012 20:04:40 +0000 (20:04 +0000)]
typefinding: improve wavpack typefinder

Check for second block sync and return different
probabilities depending on what we found (trumping
the AAC loas typefinder's LIKELY probability after
finding a second frame sync in this particular case).

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

11 years agotypefinding: fix block size calculation in wavpack typefinder
Tim-Philipp Müller [Sun, 11 Nov 2012 19:44:31 +0000 (19:44 +0000)]
typefinding: fix block size calculation in wavpack typefinder

The blocksize includes part of the header, just not the sync
marker and the four size bytes.

11 years agovideo: Add GBR/GBR_10LE/GBR_10BE color formats
Sebastian Dröge [Sat, 10 Nov 2012 15:45:34 +0000 (16:45 +0100)]
video: Add GBR/GBR_10LE/GBR_10BE color formats

Planar RGB color format used by h264

11 years agovideo: Add Y444_10{LE,BE} video formats
Sebastian Dröge [Mon, 29 Oct 2012 14:11:48 +0000 (15:11 +0100)]
video: Add Y444_10{LE,BE} video formats

11 years agotests: add test for video unpack and pack functions
Tim-Philipp Müller [Fri, 9 Nov 2012 23:41:16 +0000 (23:41 +0000)]
tests: add test for video unpack and pack functions

11 years agortsp: fix g-i annotation for gst_rtsp_message_set_body(), take_body() and take_header()
Ognyan Tonchev [Fri, 9 Nov 2012 14:55:05 +0000 (15:55 +0100)]
rtsp: fix g-i annotation for gst_rtsp_message_set_body(), take_body() and take_header()

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

11 years agoaudiodecoder: Reset error count to 0 after successfully decoding a frame
Sebastian Dröge [Fri, 9 Nov 2012 15:48:54 +0000 (16:48 +0100)]
audiodecoder: Reset error count to 0 after successfully decoding a frame

11 years agovideodecoder: Reset the error count to 0 after successfully decoding a frame
Sebastian Dröge [Fri, 9 Nov 2012 15:46:15 +0000 (16:46 +0100)]
videodecoder: Reset the error count to 0 after successfully decoding a frame

11 years agoconfigure.ac: update courtesy of autoupdate
Tim-Philipp Müller [Wed, 7 Nov 2012 18:41:02 +0000 (18:41 +0000)]
configure.ac: update courtesy of autoupdate

11 years agoconfigure: let AG_GST_PLUGIN_DOCS check for python
Tim-Philipp Müller [Wed, 7 Nov 2012 17:34:39 +0000 (17:34 +0000)]
configure: let AG_GST_PLUGIN_DOCS check for python

And update common for move from AS_PATH_PYTHON to AM_PATH_PYTHON,
which as a side-effect should pick up newer python versions as
well.

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

11 years agotextoverlay: implement background shading for IYU1
Tim-Philipp Müller [Wed, 7 Nov 2012 13:59:53 +0000 (13:59 +0000)]
textoverlay: implement background shading for IYU1

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

11 years agotextoverlay: also draw shaded backgrounds for RGB and BGR
Tim-Philipp Müller [Wed, 7 Nov 2012 13:25:13 +0000 (13:25 +0000)]
textoverlay: also draw shaded backgrounds for RGB and BGR

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

11 years agotextoverlay: we can do YVU9 as well
Tim-Philipp Müller [Wed, 7 Nov 2012 11:36:42 +0000 (11:36 +0000)]
textoverlay: we can do YVU9 as well

11 years agotextoverlay: don't advertise 10-16-bit formats we can't blend text onto yet
Tim-Philipp Müller [Wed, 7 Nov 2012 11:32:50 +0000 (11:32 +0000)]
textoverlay: don't advertise 10-16-bit formats we can't blend text onto yet

We can't blend stuff on top of video formats that unpack into
ARGB64 or AYUV64 yet, so don't advertise them in our template caps.

11 years agovideo: don't crash when blending onto video formats that unpack to 64 bits per pixel
Tim-Philipp Müller [Wed, 7 Nov 2012 11:17:14 +0000 (11:17 +0000)]
video: don't crash when blending onto video formats that unpack to 64 bits per pixel

We only allocate 8 bits per component for our temp buffers, which
causes invalid memory accesses if we try to unpack formats that
unpack into a format with 16 bits per component such as e.g. v210.

We don't support blending onto those yet, so just bail out.

11 years agotextoverlay: fix up names of old gray formats
Tim-Philipp Müller [Wed, 7 Nov 2012 09:46:50 +0000 (09:46 +0000)]
textoverlay: fix up names of old gray formats

Y800 -> GRAY8, Y16 -> GRAY16_{LE,BE}

11 years agotextoverlay: draw shaded background for some more video formats
Tim-Philipp Müller [Wed, 7 Nov 2012 09:34:11 +0000 (09:34 +0000)]
textoverlay: draw shaded background for some more video formats

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

11 years agotextoverlay: clamp shaded background box coordinates in one place
Tim-Philipp Müller [Wed, 7 Nov 2012 00:57:18 +0000 (00:57 +0000)]
textoverlay: clamp shaded background box coordinates in one place

11 years agotextoverlay: move background shading into separate function
Tim-Philipp Müller [Wed, 7 Nov 2012 00:54:29 +0000 (00:54 +0000)]
textoverlay: move background shading into separate function

11 years agotypefind: isml is iso-fragmented video/quicktime
Thiago Santos [Tue, 6 Nov 2012 18:21:16 +0000 (15:21 -0300)]
typefind: isml is iso-fragmented video/quicktime

Add isml typefinding to the video/quicktime function

11 years agotextoverlay: don't abort if we don't know how to paint shaded background for a format
Tim-Philipp Müller [Tue, 6 Nov 2012 23:38:13 +0000 (23:38 +0000)]
textoverlay: don't abort if we don't know how to paint shaded background for a format

It's not a very nice thing to do.

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

11 years agowin32: add new header extension methods
Wim Taymans [Mon, 24 Sep 2012 11:36:06 +0000 (13:36 +0200)]
win32: add new header extension methods

11 years agotests: add NTP64 and ntp56 header extension checks
Wim Taymans [Mon, 24 Sep 2012 11:09:10 +0000 (13:09 +0200)]
tests: add NTP64 and ntp56 header extension checks

11 years agortp: fix ntp56 parsing
Wim Taymans [Mon, 24 Sep 2012 11:08:46 +0000 (13:08 +0200)]
rtp: fix ntp56 parsing

11 years agortp: add helpers for header extensions
Wim Taymans [Mon, 24 Sep 2012 10:13:32 +0000 (12:13 +0200)]
rtp: add helpers for header extensions

Add helpers and defines for the NTP-64 and NTP-56 header extensions.

11 years agotextoverlay: forward allocation queries on video sink pad instead of discarding them
Sreerenj Balachandran [Mon, 5 Nov 2012 12:35:56 +0000 (14:35 +0200)]
textoverlay: forward allocation queries on video sink pad instead of discarding them

This allows the upstream elements to use the allocation parameters
or pools from the downstream elements like videosink.

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

11 years agortsp: fix GstRTSPMessage g-i annotations for out parameters
Ognyan Tonchev [Mon, 5 Nov 2012 08:59:16 +0000 (09:59 +0100)]
rtsp: fix GstRTSPMessage g-i annotations for out parameters

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

12 years agoFix FSF address
Tim-Philipp Müller [Sat, 3 Nov 2012 23:05:09 +0000 (23:05 +0000)]
Fix FSF address

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

12 years agoaudiobasesink: use the same type as the internal type to return it
Miguel Angel Cabrera Moya [Fri, 2 Nov 2012 16:46:58 +0000 (17:46 +0100)]
audiobasesink: use the same type as the internal type to return it

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

12 years agovideo-blend: fix memory leak when called with invalid parameters
Miguel Angel Cabrera Moya [Fri, 2 Nov 2012 19:09:21 +0000 (20:09 +0100)]
video-blend: fix memory leak when called with invalid parameters

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

12 years agortspconnection: remove extra return and fix GError leak
Miguel Angel Cabrera Moya [Fri, 2 Nov 2012 19:13:07 +0000 (20:13 +0100)]
rtspconnection: remove extra return and fix GError leak

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

12 years agortspconnection: fix g-i annotations for out parameters
Ognyan Tonchev [Fri, 2 Nov 2012 10:05:20 +0000 (11:05 +0100)]
rtspconnection: fix g-i annotations for out parameters

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

12 years agoaudioconvert: Always prefer the input format if possible
Sebastian Dröge [Thu, 1 Nov 2012 15:44:05 +0000 (16:44 +0100)]
audioconvert: Always prefer the input format if possible

Previously we could've chosen another format with the same
depth even if the input format was possible.

Also make sure to chose according to the order in the
caps.

12 years agoaudioconvert: Also ignore the SIGNED flag when matching an output format
Sebastian Dröge [Thu, 1 Nov 2012 13:31:29 +0000 (14:31 +0100)]
audioconvert: Also ignore the SIGNED flag when matching an output format

12 years agoaudioconvert: Prefer output formats with the same depth or at least a higher depth
Rasmus Rohde [Wed, 31 Oct 2012 19:01:05 +0000 (20:01 +0100)]
audioconvert: Prefer output formats with the same depth or at least a higher depth

Enhance current code to prefer an exact match on sample depth if
possible. Also ignore GST_AUDIO_FORMAT_FLAG_UNPACK when checking
equality on the flags.

12 years agoaudioringbuffer: reset spec on _release
Wim Taymans [Tue, 30 Oct 2012 10:19:59 +0000 (10:19 +0000)]
audioringbuffer: reset spec on _release

Reset the caps and the audioinfo when releasing the ringbuffer.
Fixed a bug with reusing pulsesink.

12 years agortpbasedepay: remove unused variable
Miguel Angel Cabrera Moya [Mon, 29 Oct 2012 20:29:36 +0000 (21:29 +0100)]
rtpbasedepay: remove unused variable

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

12 years agogio: handle g_vfs_get_supported_uri_schemes() returning NULL
Tim-Philipp Müller [Mon, 29 Oct 2012 13:31:28 +0000 (13:31 +0000)]
gio: handle g_vfs_get_supported_uri_schemes() returning NULL

Handle g_vfs_get_supported_uri_schemes() returning NULL more
gracefully, without criticals for passing NULL to g_strv_length().

12 years agopbutils: fix g-i search path for GstBase-1.0.gir
Tim-Philipp Müller [Mon, 29 Oct 2012 13:01:07 +0000 (13:01 +0000)]
pbutils: fix g-i search path for GstBase-1.0.gir

Fixes: Couldn't find include 'GstBase-1.0.gir' build error.

12 years agoRevert "g-i: change g-ir-scanner arg --library=libgstfoo-X.la to --library=gstfoo-X"
Tim-Philipp Müller [Mon, 29 Oct 2012 12:47:05 +0000 (12:47 +0000)]
Revert "g-i: change g-ir-scanner arg --library=libgstfoo-X.la to --library=gstfoo-X"

This reverts commit e39fbe6b7e14ccccbf47a5726a18eb963535063b.

Looks like we need to pass the full .la file after all in a setup
with libtool, or it might not find the library, e.g. like

  ERROR: can't resolve libraries to shared libraries: gstfft-1.0

Conflicts:
gst-libs/gst/audio/Makefile.am
gst-libs/gst/pbutils/Makefile.am

Also see https://bugzilla.gnome.org/show_bug.cgi?id=603710

12 years agooggstream: fix crash with 0 byte ogg packets
Jonathan Liu [Sun, 28 Oct 2012 10:07:16 +0000 (21:07 +1100)]
oggstream: fix crash with 0 byte ogg packets

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

12 years agovideodecoder: fix inappropriate compiler optimization hint macro usage
Sreerenj Balachandran [Thu, 5 Jul 2012 14:54:48 +0000 (17:54 +0300)]
videodecoder: fix inappropriate compiler optimization hint macro usage

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

12 years agoexiftag: fix use after free and memory leak
Miguel Angel Cabrera Moya [Sun, 28 Oct 2012 18:59:41 +0000 (19:59 +0100)]
exiftag: fix use after free and memory leak

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

12 years agovorbistag: fix memory leak
Miguel Angel Cabrera Moya [Sun, 28 Oct 2012 19:01:17 +0000 (20:01 +0100)]
vorbistag: fix memory leak

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

12 years agoaudio: try harder to make g-i use the build-tree libgsttag
Tim-Philipp Müller [Sun, 28 Oct 2012 17:59:27 +0000 (17:59 +0000)]
audio: try harder to make g-i use the build-tree libgsttag

without adding additional --library= tags, which shouldn't be there.

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

12 years agopbutils: try harder to make g-i use the build-tree libgsttag,-audio, and -video
Tim-Philipp Müller [Sun, 28 Oct 2012 17:52:54 +0000 (17:52 +0000)]
pbutils: try harder to make g-i use the build-tree libgsttag,-audio, and -video

without adding additional --library= tags, which shouldn't be there.

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

12 years agog-i: change g-ir-scanner arg --library=libgstfoo-X.la to --library=gstfoo-X
Tim-Philipp Müller [Sun, 28 Oct 2012 17:34:59 +0000 (17:34 +0000)]
g-i: change g-ir-scanner arg --library=libgstfoo-X.la to --library=gstfoo-X

As it should be according to the man page.

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

12 years agopbutils: add caps description for Apple ProRes video
Tim-Philipp Müller [Thu, 25 Oct 2012 16:16:21 +0000 (17:16 +0100)]
pbutils: add caps description for Apple ProRes video

12 years agopango: avoid unnecessary pango attribute list copy
Tim-Philipp Müller [Thu, 25 Oct 2012 16:14:32 +0000 (17:14 +0100)]
pango: avoid unnecessary pango attribute list copy

We just want to keep it alive, not modify it, so a
simple ref should be enough.

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

12 years agopango: delete foreground color in shadow text
Jihyun Cho [Thu, 25 Oct 2012 15:29:11 +0000 (00:29 +0900)]
pango: delete foreground color in shadow text

This makes colored text have gray drop shadows
instead of colored ones, which looks much better.

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

12 years agortsp: Don't use invalid sockets
Ognyan Tonchev [Thu, 25 Oct 2012 07:19:21 +0000 (09:19 +0200)]
rtsp: Don't use invalid sockets

return false from dispatch () if the read and write sockets have been
unset in tunnel_complete ()

Setting up HTTP tunnels causes segfaults since the watch for the second
connection is not destroyed anymore in tunnel_complete () and the connection
will still be used even though it is not valid anymore.

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

12 years agopbutils: fix installer detail string version number
Tim-Philipp Müller [Thu, 25 Oct 2012 13:41:22 +0000 (14:41 +0100)]
pbutils: fix installer detail string version number

Should still be '1.0' not '1.1'. Fixs pbutils unit test.

12 years agoaudioresample: Use auto sinc table mode by default
Sebastian Dröge [Tue, 23 Oct 2012 09:16:57 +0000 (11:16 +0200)]
audioresample: Use auto sinc table mode by default

12 years agoaudioresample: added ARM NEON support
Carlos Rafael Giani [Mon, 15 Oct 2012 20:07:22 +0000 (22:07 +0200)]
audioresample: added ARM NEON support

This adds ARM NEON accelerated code paths for 16-bit integer
and 32-bit floating point samples.

It is a modified combination of patches #3 and #5 from Jyri Sarha
( http://lists.xiph.org/pipermail/speex-dev/2011-September/008240.html &
http://lists.xiph.org/pipermail/speex-dev/2011-September/008238.html )

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
12 years agoaudioresample: changed inner_product_single semantics
Carlos Rafael Giani [Mon, 15 Oct 2012 20:21:14 +0000 (22:21 +0200)]
audioresample: changed inner_product_single semantics

This is an adaptation of patch #3 from Jyri Sarha
( http://lists.xiph.org/pipermail/speex-dev/2011-September/008240.html ),
but without the NEON optimizations (these come in a separate commit).
The idea is to replace SATURATE32(PSHR32(x, shift), a) operations with a
combined SATURATE32PSHR(x, shift, a) macro that can be optimized for
specific platforms (and also avoids rare rounding errors).

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
12 years agoaudioresample: sinc filter performance improvements
Carlos Rafael Giani [Sun, 7 Oct 2012 01:00:52 +0000 (03:00 +0200)]
audioresample: sinc filter performance improvements

Original idea comes from Jyri Sarha
( http://lists.xiph.org/pipermail/speex-dev/2011-September/008243.html ).
Patch was discovered by Branislav Katreniak
( branislav.katreniak@streamunlimited.com ) for StreamUnlimited
( http://streamunlimited.com/ ). Tests showed up to 5x speed increase in
the resampler in the 44.1<->48kHz case.
I added the sinc-filter-mode and sinc-filter-auto-threshold properties
and the auto mode threshold tests, and adapted the code to GStreamer 1.0.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
12 years agoBack to feature development
Tim-Philipp Müller [Thu, 25 Oct 2012 11:19:46 +0000 (12:19 +0100)]
Back to feature development

12 years agoRelease 1.0.2
Tim-Philipp Müller [Wed, 24 Oct 2012 23:54:24 +0000 (00:54 +0100)]
Release 1.0.2

12 years agoaudiodecoder: track forced decoding state
Mark Nauwelaerts [Wed, 24 Oct 2012 12:05:56 +0000 (14:05 +0200)]
audiodecoder: track forced decoding state

12 years agostreamsynchronizer: Also send a GAP event to let audio sinks start their clock in...
Sebastian Dröge [Wed, 24 Oct 2012 11:34:15 +0000 (13:34 +0200)]
streamsynchronizer: Also send a GAP event to let audio sinks start their clock in case they did not have enough data yet

12 years agostreamsynchronizer: Use correct timestamp/duration for the GAP events
Sebastian Dröge [Wed, 24 Oct 2012 11:29:45 +0000 (13:29 +0200)]
streamsynchronizer: Use correct timestamp/duration for the GAP events

12 years agoRevert "gst: Add better support for static plugins"
Sebastian Dröge [Wed, 24 Oct 2012 11:26:22 +0000 (13:26 +0200)]
Revert "gst: Add better support for static plugins"

This reverts commit d2d79e3bc2a02ec57258e504b031f7e2d3729ea2,
which was accidentially pushed.

12 years agostreamsynchronizer: Send GAP events to advance streams
Sebastian Dröge [Wed, 24 Oct 2012 11:25:19 +0000 (13:25 +0200)]
streamsynchronizer: Send GAP events to advance streams

12 years agogst: Add better support for static plugins
Sebastian Dröge [Wed, 24 Oct 2012 10:10:44 +0000 (12:10 +0200)]
gst: Add better support for static plugins

12 years agoaudiobasesink: Add explanation to the GAP event handling code
Sebastian Dröge [Wed, 24 Oct 2012 09:22:29 +0000 (11:22 +0200)]
audiobasesink: Add explanation to the GAP event handling code

12 years agostreamsynchronizer: Create a GAP event with a sensible timestamp
Sebastian Dröge [Wed, 24 Oct 2012 07:57:23 +0000 (09:57 +0200)]
streamsynchronizer: Create a GAP event with a sensible timestamp

12 years agoaudiobasesink: Properly handle GAP events
Sebastian Dröge [Wed, 24 Oct 2012 09:16:54 +0000 (11:16 +0200)]
audiobasesink: Properly handle GAP events

These are now converted into silence buffers if they have
a duration or cause the ringbuffer and clock to be started
if they don't have a duration.

Fixes bug #685273.

12 years agostreamsynchronizer: Also propagate return value of pushing GAP event upstream
Sebastian Dröge [Tue, 23 Oct 2012 16:16:26 +0000 (18:16 +0200)]
streamsynchronizer: Also propagate return value of pushing GAP event upstream

12 years agostreamsynchronizer: Return TRUE from the EOS handler
Sebastian Dröge [Tue, 23 Oct 2012 15:37:46 +0000 (17:37 +0200)]
streamsynchronizer: Return TRUE from the EOS handler

12 years agovorbistag: add mapping for 'ALBUM ARTIST' with space
Tim-Philipp Müller [Tue, 23 Oct 2012 14:56:10 +0000 (15:56 +0100)]
vorbistag: add mapping for 'ALBUM ARTIST' with space

As found in sample file for bug #684701.

12 years agotcp: sys/socket.h is needed for getsockname() and similar functions
Sebastian Dröge [Mon, 22 Oct 2012 13:44:16 +0000 (15:44 +0200)]
tcp: sys/socket.h is needed for getsockname() and similar functions

12 years agoriff: add bpp to caps for msvideo
Wim Taymans [Mon, 22 Oct 2012 08:30:16 +0000 (10:30 +0200)]
riff: add bpp to caps for msvideo

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

12 years agovideoconvert: add more debug
Wim Taymans [Mon, 22 Oct 2012 07:44:20 +0000 (09:44 +0200)]
videoconvert: add more debug

12 years agotag: remove unnecessary g_type_init() call from mklicensestable tool
Tim-Philipp Müller [Sat, 20 Oct 2012 11:59:11 +0000 (12:59 +0100)]
tag: remove unnecessary g_type_init() call from mklicensestable tool

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

12 years agoalsasink: fix caps leak in acceptcaps function
Tim-Philipp Müller [Sat, 20 Oct 2012 10:38:55 +0000 (11:38 +0100)]
alsasink: fix caps leak in acceptcaps function

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

12 years agoaudiodecoder: don't leak message strings when error is not fatal
Tim-Philipp Müller [Sat, 20 Oct 2012 10:38:10 +0000 (11:38 +0100)]
audiodecoder: don't leak message strings when error is not fatal

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

12 years agovideodecoder: don't leak message strings when error is not fatal
Tim-Philipp Müller [Sat, 20 Oct 2012 10:37:33 +0000 (11:37 +0100)]
videodecoder: don't leak message strings when error is not fatal

12 years agotcpserver{sink,src}: improve docs and property strings
Tim-Philipp Müller [Fri, 19 Oct 2012 17:29:00 +0000 (18:29 +0100)]
tcpserver{sink,src}: improve docs and property strings

And some minor clean-ups.

12 years agotcpserver{sink,src}: add 'current-port' property and signal actually used port
Alexandre Relange [Wed, 17 Oct 2012 10:19:56 +0000 (12:19 +0200)]
tcpserver{sink,src}: add 'current-port' property and signal actually used port

Useful when port=0 (use random available port) was requested.

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

12 years agoaudioconvert: enhance transforming caps
Mark Nauwelaerts [Thu, 18 Oct 2012 20:13:09 +0000 (22:13 +0200)]
audioconvert: enhance transforming caps

... so as to preserve input format precision,
and preferably not convert at all.

12 years agovorbistag: fix 'TODO' on image tag parsing
Thiago Santos [Thu, 18 Oct 2012 15:02:00 +0000 (12:02 -0300)]
vorbistag: fix 'TODO' on image tag parsing

Image tag now uses GstSample that has the buffer and caps
associated with it.

12 years agoalsa: if no formats in native endianness could be detected, try non-native endianness...
Tim-Philipp Müller [Wed, 17 Oct 2012 23:39:42 +0000 (00:39 +0100)]
alsa: if no formats in native endianness could be detected, try non-native endianness as well

This can happen, e.g. when using an USB sound card on
a big-endian device

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

12 years agoalsa: fix supported format detection
Tim-Philipp Müller [Wed, 17 Oct 2012 23:04:06 +0000 (00:04 +0100)]
alsa: fix supported format detection

The format probing code was assuming there'd be one caps
structure for each separate width/depth combination like
we did in 0.10 all over the place: for one, we'd query
unsigned/signed formats together for the same width/height,
and we'd add the entire current structure to the probed
caps when we find a format is supported. Now that we have
all raw formats in a single structure, this is all not going
to work so well any more. We added the entire structure with
all possible formats to the caps if we support just one format.

Fix probing so that we only return the list of actually
supported raw audio formats (with native endianness) from
get_caps().

12 years agoaudiocdsrc: mention TOCs in docs
Tim-Philipp Müller [Wed, 17 Oct 2012 18:59:57 +0000 (19:59 +0100)]
audiocdsrc: mention TOCs in docs

12 years agotheora, app: use gst_element_class_set_static_metadata()
Tim-Philipp Müller [Wed, 17 Oct 2012 15:54:14 +0000 (16:54 +0100)]
theora, app: use gst_element_class_set_static_metadata()

Avoids string copies.

12 years agovideodecoder: return NULL from _allocate_output_buffer() if alloc fails
Tim-Philipp Müller [Wed, 17 Oct 2012 09:55:01 +0000 (10:55 +0100)]
videodecoder: return NULL from _allocate_output_buffer() if alloc fails

.. instead of garbage pointer. Also log failure in debug log.
Should've returned the flow return like _allocate_output_frame().

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