platform/upstream/gstreamer.git
11 years agotypefindfunctions: aac: don't try to unref NULL caps
Tim-Philipp Müller [Wed, 12 Dec 2012 15:31:20 +0000 (15:31 +0000)]
typefindfunctions: aac: don't try to unref NULL caps

11 years agodocs: update
Tim-Philipp Müller [Mon, 10 Dec 2012 13:39:27 +0000 (13:39 +0000)]
docs: update

11 years agodocs: fix up some more GstXOverlay -> GstVideoOverlay
Tim-Philipp Müller [Mon, 10 Dec 2012 13:35:37 +0000 (13:35 +0000)]
docs: fix up some more GstXOverlay -> GstVideoOverlay

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

11 years agovideodecoder: Only keep track of timestamps if the subclass is parsing data
Sebastian Dröge [Mon, 10 Dec 2012 11:49:46 +0000 (11:49 +0000)]
videodecoder: Only keep track of timestamps if the subclass is parsing data

Otherwise we just pass through the timestamps directly and don't
need to waste additional memory for them.

Fixes bug #689814.

11 years agortspmessage: Add several missing g-i annotations
Sebastian Rasmussen [Fri, 7 Dec 2012 23:21:17 +0000 (00:21 +0100)]
rtspmessage: Add several missing g-i annotations

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

11 years agowin32: add new encoding profile API to .def file
Tim-Philipp Müller [Sun, 9 Dec 2012 22:36:32 +0000 (22:36 +0000)]
win32: add new encoding profile API to .def file

11 years agotests: encodebin: Properly rename new preset test
Thibault Saunier [Wed, 5 Dec 2012 20:53:19 +0000 (17:53 -0300)]
tests: encodebin: Properly rename new preset test

11 years agoencodebin: Make use of the new preset_name when setting a preset
Thibault Saunier [Wed, 5 Dec 2012 18:22:42 +0000 (15:22 -0300)]
encodebin: Make use of the new preset_name when setting a preset

The behaviour is sensibly changed here. Instead of purely falling when a
preset is set on the #GstEncodingProfile, we now make sure that the
element that is plugged corresponds to the one specified as preset. Then,
if we have a preset_name, we use it, if it fails, we fail (we might rather
just keep working even without setting the element properties?)

 + Add tests that it behave correctly

11 years agoencoding-profile: Let the user decide what preset name to use
Thibault Saunier [Wed, 5 Dec 2012 18:21:43 +0000 (15:21 -0300)]
encoding-profile: Let the user decide what preset name to use

It was possible to decide only what #GstElement implementing #GstPreset
to use during the encoding, we can now let the user select a specific preset previously
saved using #gst_preset_save_preset specifying the name chosen when it was saved
in the gst_encoding_profile_set_preset_name.

Actually loading a preset with %NULL as a name would have always failed, so
in the current state of the API that feature is unusable

API:
  gst_encoding_profile_set_preset_name
  gst_encoding_profile_get_preset_name

11 years agopbutils: encoding-profile: fix _new function introspection docs
Thiago Santos [Tue, 4 Dec 2012 16:16:09 +0000 (13:16 -0300)]
pbutils: encoding-profile: fix _new function introspection docs

Makes the parameter accept NULL as input for GI bindings

11 years agotcp: print warning if someone tries to add clients in NULL state
Tim-Philipp Müller [Sun, 2 Dec 2012 12:54:17 +0000 (12:54 +0000)]
tcp: print warning if someone tries to add clients in NULL state

And mention this in docs.

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

11 years agoaudioencoder: add some more debug info and remove obsolete comment
Tim-Philipp Müller [Sun, 2 Dec 2012 12:33:43 +0000 (12:33 +0000)]
audioencoder: add some more debug info and remove obsolete comment

11 years agowin32: update .def for new API
Tim-Philipp Müller [Fri, 30 Nov 2012 12:15:48 +0000 (12:15 +0000)]
win32: update .def for new API

11 years agotest: add test for playbin in combination with appsink
Tim-Philipp Müller [Thu, 29 Nov 2012 13:42:45 +0000 (13:42 +0000)]
test: add test for playbin in combination with appsink

Make sure appsink works multiple times in a row.
Disable it though for now though.

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

11 years agoconfigure.ac: Update libtool versioning
Edward Hervey [Wed, 28 Nov 2012 17:50:45 +0000 (18:50 +0100)]
configure.ac: Update libtool versioning

In order for 1.x and 1.(x+1) versions to not invade on each other
we need to have different lib versions.

So we need a consistent and predictable scheme:
   library version number = MINOR * 100 + MICRO

Ex:
  1.0.0 => 0 (duh)
  1.0.3 => 3
  1.1.0 => 100
  1.1.1 => 101
  1.2.0 => 120
  1.10.5 => 1005

11 years agortsp: add method to parse options list
Wim Taymans [Tue, 27 Nov 2012 10:02:19 +0000 (11:02 +0100)]
rtsp: add method to parse options list

11 years agovideoscale: Fix unit test to ignore unsupported color formats
Sebastian Dröge [Tue, 27 Nov 2012 09:30:08 +0000 (10:30 +0100)]
videoscale: Fix unit test to ignore unsupported color formats

11 years agostreamsynchronizer: don't send gap events with huge bogus durations when advancing...
Tim-Philipp Müller [Mon, 26 Nov 2012 18:41:07 +0000 (18:41 +0000)]
streamsynchronizer: don't send gap events with huge bogus durations when advancing EOS streams

When the input buffers for a stream don't have a duration set,
timestamp_end might still be GST_CLOCK_TIME_NONE. When advancing
EOSed streams via GAP events (with other streams not yet EOS), we
would then use the invalid timestamp_end to calculate the duration
of the gap. This in turn would make baseaudiosink abort, because it
would try to allocate memory for a trizillion samples.

So if buffers don't have a duration set, assume a duration of
one second for stream catch-up purposes, just so we can still
continue to catch up in those cases. And make sure that
timestamp_end is valid before doing calculations with it.

http://bugzilla.gnome.org/show_bug.cgi?id=678530

11 years agostreamsynchronizer: reduce debug log spam a bit
Tim-Philipp Müller [Sun, 25 Nov 2012 18:07:04 +0000 (18:07 +0000)]
streamsynchronizer: reduce debug log spam a bit

Log locking/unlocking with TRACE debug level.

11 years agodocs: update audio multi-channel docs
Tim-Philipp Müller [Fri, 23 Nov 2012 13:58:25 +0000 (13:58 +0000)]
docs: update audio multi-channel docs

Remove includes and functions that don't exist any longer,
add new ones instead.

11 years agoAdd new header files
Christian Fredrik Kalager Schaller [Fri, 23 Nov 2012 10:14:40 +0000 (11:14 +0100)]
Add new header files

11 years agodecodebin: Set element to NULL state before removing it from the bin
Sebastian Dröge [Thu, 22 Nov 2012 12:09:46 +0000 (13:09 +0100)]
decodebin: Set element to NULL state before removing it from the bin

11 years agodecodebin: Check if the element really accepts the caps after setting it to READY
Sebastian Dröge [Thu, 22 Nov 2012 12:06:14 +0000 (13:06 +0100)]
decodebin: Check if the element really accepts the caps after setting it to READY

It might know the caps constraints for sure only after opening a decoder.

11 years agoaudio: remove bogus Since marker from docs
Tim-Philipp Müller [Wed, 21 Nov 2012 23:17:22 +0000 (23:17 +0000)]
audio: remove bogus Since marker from docs

It was causing perl warnings in gtk-doc code.

11 years agoapp: fix g-i annotation for gst_app_src_push_buffer()
Tim-Philipp Müller [Wed, 21 Nov 2012 21:53:13 +0000 (21:53 +0000)]
app: fix g-i annotation for gst_app_src_push_buffer()

It takes ownership of the buffer.

11 years agowin32: update .def file for new rtsp API
Tim-Philipp Müller [Wed, 21 Nov 2012 20:51:37 +0000 (20:51 +0000)]
win32: update .def file for new rtsp API

11 years agortsprange: add string conversion for new formats
Wim Taymans [Wed, 21 Nov 2012 15:25:24 +0000 (16:25 +0100)]
rtsprange: add string conversion for new formats

11 years agortsprange: add method to convert ranges to GstClockTime
Wim Taymans [Wed, 21 Nov 2012 14:29:59 +0000 (15:29 +0100)]
rtsprange: add method to convert ranges to GstClockTime

Add a method to convert the values of GstRTSPRange to GstClockTime.
Add unit tests for the conversions.

API: gst_rtsp_range_get_times()

11 years agorange: don't overwrite unit field
Wim Taymans [Wed, 21 Nov 2012 14:22:13 +0000 (15:22 +0100)]
range: don't overwrite unit field

11 years agorange: add g_return_if check
Wim Taymans [Wed, 21 Nov 2012 11:12:28 +0000 (12:12 +0100)]
range: add g_return_if check

11 years agolibs: Fix last commit by using correct include paths and only include existing headers
Sebastian Dröge [Wed, 21 Nov 2012 10:12:57 +0000 (11:12 +0100)]
libs: Fix last commit by using correct include paths and only include existing headers

11 years agolibs: Add missing single include headers and use them in GIRs
Evan Nemerson [Wed, 21 Nov 2012 07:22:27 +0000 (23:22 -0800)]
libs: Add missing single include headers and use them in GIRs

11 years agostreamsynchronizer: Make the element public
Sebastian Dröge [Wed, 21 Nov 2012 09:28:31 +0000 (10:28 +0100)]
streamsynchronizer: Make the element public

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

11 years agortsprange: improve docs
Wim Taymans [Wed, 21 Nov 2012 09:25:51 +0000 (10:25 +0100)]
rtsprange: improve docs

11 years agodiscoverer: Add support for getting the stream-id
Sebastian Dröge [Tue, 20 Nov 2012 13:56:45 +0000 (14:56 +0100)]
discoverer: Add support for getting the stream-id

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

11 years agodiscoverer: Use switch/case instead of lots of ifs for the event handling
Sebastian Dröge [Tue, 20 Nov 2012 13:37:51 +0000 (14:37 +0100)]
discoverer: Use switch/case instead of lots of ifs for the event handling

11 years agovideodecoder: Return the proportion directly
Sebastian Dröge [Tue, 20 Nov 2012 11:21:08 +0000 (12:21 +0100)]
videodecoder: Return the proportion directly

11 years agovideodecoder: Rename from get_qos_info() to get_qos_proportion()
Sebastian Dröge [Tue, 20 Nov 2012 11:08:26 +0000 (12:08 +0100)]
videodecoder: Rename from get_qos_info() to get_qos_proportion()

And only return the proportion. The earliest time already can be
retrieved from get_max_decode_time() and by renaming we allow this
to be more extensible in the future.

11 years agocheck: update for larger struct
Wim Taymans [Tue, 20 Nov 2012 10:10:30 +0000 (11:10 +0100)]
check: update for larger struct

11 years agortsp: avoid ABI break
Wim Taymans [Tue, 20 Nov 2012 08:18:44 +0000 (09:18 +0100)]
rtsp: avoid ABI break

Move new fields into structures appended at the end of the GstRTSPRange
to avoid ABI break.

11 years agopbutils: fix transfer annotation for gst_encoding_profile_set_restriction
Alessandro Decina [Tue, 20 Nov 2012 06:17:00 +0000 (07:17 +0100)]
pbutils: fix transfer annotation for gst_encoding_profile_set_restriction

11 years agovideodecoder: add getter for QoS proportion and earliest_time
Andoni Morales Alastruey [Fri, 9 Nov 2012 14:37:57 +0000 (15:37 +0100)]
videodecoder: add getter for QoS proportion and earliest_time

Add a getter for the QoS proportion and earliest_time to help
subclasses do better estimations based on the proportion.

API: gst_video_decoder_get_qos_info()

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

11 years agortsp: fix format string
Wim Taymans [Mon, 19 Nov 2012 16:08:38 +0000 (17:08 +0100)]
rtsp: fix format string

11 years agortsp: parse UTC ranges
Wim Taymans [Mon, 19 Nov 2012 15:59:48 +0000 (16:59 +0100)]
rtsp: parse UTC ranges

11 years agortsp: parse SMPTE ranges
Wim Taymans [Mon, 19 Nov 2012 15:15:46 +0000 (16:15 +0100)]
rtsp: parse SMPTE ranges

11 years agorange: handle parse errors better
Wim Taymans [Mon, 19 Nov 2012 15:13:56 +0000 (16:13 +0100)]
range: handle parse errors better

11 years agortsp: detect npt time parse errors
Wim Taymans [Mon, 19 Nov 2012 15:04:01 +0000 (16:04 +0100)]
rtsp: detect npt time parse errors

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

11 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

11 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

11 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

11 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

11 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

11 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.

11 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

11 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.

11 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.

11 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

11 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().

11 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.