platform/upstream/gstreamer.git
12 years agosmpte: fix stride handling
Wim Taymans [Mon, 12 Mar 2012 13:48:47 +0000 (14:48 +0100)]
smpte: fix stride handling

12 years agogst: Fix some query leaks
Nicola Murino [Mon, 12 Mar 2012 07:48:32 +0000 (08:48 +0100)]
gst: Fix some query leaks

12 years agoconfigure: fix use of AC_LANG_PROGRAM
Tim-Philipp Müller [Fri, 9 Mar 2012 15:53:32 +0000 (15:53 +0000)]
configure: fix use of AC_LANG_PROGRAM

No need to include the int main () { } bits, the body is enough.

12 years agoconfigure: fix autogen.sh warnings
Tim-Philipp Müller [Fri, 9 Mar 2012 15:25:02 +0000 (15:25 +0000)]
configure: fix autogen.sh warnings

configure.ac:410: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body

12 years agospeexdec: use base class tag handling helper
Mark Nauwelaerts [Tue, 6 Mar 2012 14:58:20 +0000 (15:58 +0100)]
speexdec: use base class tag handling helper

... so as to ensure these to be handled and sent at proper time.

12 years agowavpack: Fix possible underflow of unsigned integer variable
Sebastian Dröge [Tue, 6 Mar 2012 13:25:27 +0000 (14:25 +0100)]
wavpack: Fix possible underflow of unsigned integer variable

12 years agoximagesrc: Fix 'comparison of unsigned expression >= 0 is always true'
Sebastian Dröge [Tue, 6 Mar 2012 13:22:43 +0000 (14:22 +0100)]
ximagesrc: Fix 'comparison of unsigned expression >= 0 is always true'

This variable can never be below zero anyway.

12 years agortspsrc: Use correct enum for return values
Sebastian Dröge [Tue, 6 Mar 2012 13:18:33 +0000 (14:18 +0100)]
rtspsrc: Use correct enum for return values

12 years agodvdepay: Fix 'comparison of unsigned expression >= 0 is always true' compiler warning
Sebastian Dröge [Tue, 6 Mar 2012 13:16:21 +0000 (14:16 +0100)]
dvdepay: Fix 'comparison of unsigned expression >= 0 is always true' compiler warning

This was an actual bug as it could've caused reading from
invalid memory areas when the input is broken.

12 years agodeinterlace: Fix 'variable 'oldbx' is uninitialized when used here' compiler warnings
Sebastian Dröge [Tue, 6 Mar 2012 12:21:12 +0000 (13:21 +0100)]
deinterlace: Fix 'variable 'oldbx' is uninitialized when used here' compiler warnings

12 years agodeinterlace: Fix 'implicit conversion from enumeration type 'GstDeinterlaceFields...
Sebastian Dröge [Tue, 6 Mar 2012 12:19:24 +0000 (13:19 +0100)]
deinterlace: Fix 'implicit conversion from enumeration type 'GstDeinterlaceFields' to different enumeration type 'GstDeinterlaceMode'' compiler warning

12 years agov4l2sink: don't use deprecated XKeycodeToKeysym
Oleksij Rempel (Alexey Fisher) [Mon, 5 Mar 2012 10:17:30 +0000 (11:17 +0100)]
v4l2sink: don't use deprecated XKeycodeToKeysym

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

Signed-off-by: Oleksij Rempel (Alexey Fisher) <bug-track@fisher-privat.net>
12 years agowavpackdec: allow some timestamp tolerance to arrange for perfect timestamping
Mark Nauwelaerts [Mon, 5 Mar 2012 09:49:33 +0000 (10:49 +0100)]
wavpackdec: allow some timestamp tolerance to arrange for perfect timestamping

... which also happens to make some more unit tests pass.

12 years agowavpackdec: fix copying output data
Mark Nauwelaerts [Mon, 5 Mar 2012 09:47:44 +0000 (10:47 +0100)]
wavpackdec: fix copying output data

12 years agowavpackenc: restore legacy buffer offset decorating somewhat
Mark Nauwelaerts [Mon, 5 Mar 2012 09:46:51 +0000 (10:46 +0100)]
wavpackenc: restore legacy buffer offset decorating somewhat

... at least sufficiently to aid in recognizing rewritten header buffer
making unit test pass.

12 years agowavpackparse: initialize header to silence older gcc versions
Stefan Sauer [Mon, 5 Mar 2012 09:51:33 +0000 (10:51 +0100)]
wavpackparse: initialize header to silence older gcc versions

12 years agowavpackparse: remove empty lines in varable declarations caused by old indent
Stefan Sauer [Mon, 5 Mar 2012 09:45:46 +0000 (10:45 +0100)]
wavpackparse: remove empty lines in varable declarations caused by old indent

12 years agojack: fix obvious wrong definition for the master flag
Stefan Sauer [Mon, 5 Mar 2012 09:44:54 +0000 (10:44 +0100)]
jack: fix obvious wrong definition for the master flag

12 years agojack: change the transport-mode enum into flags
Stefan Sauer [Sun, 4 Mar 2012 18:55:26 +0000 (19:55 +0100)]
jack: change the transport-mode enum into flags

One can use (or not use) master and slave mode independently.

12 years agoavimux: support up to 6 channels of AC-3
Antoine Tremblay [Fri, 2 Mar 2012 16:49:02 +0000 (11:49 -0500)]
avimux: support up to 6 channels of AC-3

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

12 years agov4l2: clear DISCONT flag when recycling buffers into the buffer pool
Tim-Philipp Müller [Sat, 3 Mar 2012 13:04:48 +0000 (13:04 +0000)]
v4l2: clear DISCONT flag when recycling buffers into the buffer pool

The base class may have set the DISCONT flag on the first buffer pushed
out. We need to clear that when recycling buffers back into the buffer
pool, otherwise we constantly push out buffers with the discont flag
set, which might upset downstream elements, esp. for compressed
formats like mpeg-ts.

12 years agov4l2src: fix v4l2_munmap() for compressed formats
Oleksij Rempel (Alexey Fisher) [Thu, 1 Mar 2012 13:15:29 +0000 (14:15 +0100)]
v4l2src: fix v4l2_munmap() for compressed formats

Make sure we always call munmap() with the same size we called mmap()
with before.

Current v4l2src uses the same structure for VIDIOC_QUERYBUF, VIDIOC_QBUF
and v4l2_munmap calls. The problem is that the video buffer size (length)
may vary for compressed or emulated bufs. VIDIOC_QBUF will change it if
we pass the pointer of a v4l2_buffer. This is why we should avoid using
same variable for mmap and video buffers.

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

12 years agoaudioparsers: add baseparse based wavpackparse
Mark Nauwelaerts [Tue, 28 Feb 2012 12:51:10 +0000 (13:51 +0100)]
audioparsers: add baseparse based wavpackparse

12 years agowavpackdec: adjust to audio format limitations
Mark Nauwelaerts [Mon, 27 Feb 2012 22:46:15 +0000 (23:46 +0100)]
wavpackdec: adjust to audio format limitations

... which does not allow expressing arbitrary depth in a GstAudioFormat.

Also adjust unit test to modified behaviour.

12 years agowavpackdec: determine depth from bytes per sample
Mark Nauwelaerts [Mon, 27 Feb 2012 22:46:08 +0000 (23:46 +0100)]
wavpackdec: determine depth from bytes per sample

... rather than from bits per sample, since spec states values are already
left justified w.r.t. bits per sample but not w.r.t. bytes per sample
(and so the latter determines the normalization, or indicated depth).

12 years agowavpackdec: port to audiodecoder
Mark Nauwelaerts [Mon, 27 Feb 2012 22:46:03 +0000 (23:46 +0100)]
wavpackdec: port to audiodecoder

12 years agowavpackenc: port to audioencoder
Mark Nauwelaerts [Mon, 27 Feb 2012 22:45:54 +0000 (23:45 +0100)]
wavpackenc: port to audioencoder

Also adjust unit test to slightly modified behaviour.

12 years agoSuppress deprecation warnings in selected files, for g_value_array_* mostly
Edward Hervey [Mon, 27 Feb 2012 13:47:25 +0000 (14:47 +0100)]
Suppress deprecation warnings in selected files, for g_value_array_* mostly

12 years agompegaudioparse: fix compiler warning
Alessandro Decina [Sun, 26 Feb 2012 19:30:24 +0000 (20:30 +0100)]
mpegaudioparse: fix compiler warning

12 years agoqtmux: create streamable output if downstream is not seekable
Tim-Philipp Müller [Sat, 25 Feb 2012 15:55:15 +0000 (15:55 +0000)]
qtmux: create streamable output if downstream is not seekable

Ignore the "streamable" property setting and create streamable
output if downstream is known not to be seekable (as queried
via a SEEKABLE query).

Fixes pipelines like qtmux ! appsink possibly creating seemingly
corrupted output if streamable has not been set to true.

12 years agoflvmux: create streamable output if downstream is not seekable
Tim-Philipp Müller [Sat, 25 Feb 2012 15:48:44 +0000 (15:48 +0000)]
flvmux: create streamable output if downstream is not seekable

Ignore the "streamable" property setting and create streamable
output if downstream is known not to be seekable (as queried
via a SEEKABLE query).

Fixes pipelines like flvmux ! appsink possibly creating seemingly
corrupted output if streamable has not been set to true.

12 years agomatroskamux: create streamable output if downstream is not seekable
Tim-Philipp Müller [Sat, 25 Feb 2012 15:40:39 +0000 (15:40 +0000)]
matroskamux: create streamable output if downstream is not seekable

Ignore the "streamable" property setting and create streamable
output if downstream is known not to be seekable (as queried
via a SEEKABLE query).

Fixes pipelines like webmmux ! appsink creating seemingly
corrupted output if streamable has not been set to true.

12 years agoUpdate NEWS and RELEASE as well
Tim-Philipp Müller [Thu, 23 Feb 2012 12:05:20 +0000 (12:05 +0000)]
Update NEWS and RELEASE as well

12 years agoBump version after release
Tim-Philipp Müller [Thu, 23 Feb 2012 11:07:35 +0000 (11:07 +0000)]
Bump version after release

12 years agoflacenc: remove post-port bogus _unref
Mark Nauwelaerts [Wed, 22 Feb 2012 17:02:27 +0000 (18:02 +0100)]
flacenc: remove post-port bogus _unref

12 years agoautogen: avoid touching .po files during 'make'
David Schleef [Wed, 22 Feb 2012 01:16:32 +0000 (17:16 -0800)]
autogen: avoid touching .po files during 'make'

A simple workaround to deal with GNU gettext automake integration
failing to deal with git.  Fixes: #669207

12 years agopulse: Fix a build warning when compiling with asserts disabled
Vincent Untz [Tue, 21 Feb 2012 16:57:44 +0000 (17:57 +0100)]
pulse: Fix a build warning when compiling with asserts disabled

Return a value even if the code will never be reached, to make compilers
happy.

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

12 years agompegaudioparse: support parsing freeform bitrate stream
Mark Nauwelaerts [Tue, 21 Feb 2012 17:42:31 +0000 (18:42 +0100)]
mpegaudioparse: support parsing freeform bitrate stream

12 years agortph264pay: Force baseline is profile-level-id is unspecified
Olivier Crête [Mon, 20 Feb 2012 17:22:12 +0000 (12:22 -0500)]
rtph264pay: Force baseline is profile-level-id is unspecified

12 years agoequalizer: fix switching from passthrough to non-passthrough when parameters change
Tim-Philipp Müller [Fri, 17 Feb 2012 17:21:53 +0000 (17:21 +0000)]
equalizer: fix switching from passthrough to non-passthrough when parameters change

commit b5bf0294 moved the if(need_new_coefficients) set_passthrough(equ)
after the if(is_passthrough) return FLOW_OK shortcut, so the passthrough
mode would never get updated even if the coefficients change.

Fixes equalizer-test doing .. nothing.

12 years agompegaudioparse: parse either Xing or VBRI data
Mark Nauwelaerts [Fri, 17 Feb 2012 12:26:53 +0000 (13:26 +0100)]
mpegaudioparse: parse either Xing or VBRI data

... and avoid confusing debug message claiming neither present.

12 years agov4l2src: failure to query some optional controls is not a fatal error
Gary Ching-Pang Lin [Thu, 16 Feb 2012 09:14:20 +0000 (17:14 +0800)]
v4l2src: failure to query some optional controls is not a fatal error

Don't post a (fatal) error message on the bus just because we
failed to query some control. Fixes issue with built-in
Suyin Corp webcam for HP notebook (usbid 064e:e28a) on
OpenSuse 12.1, where querying red/blue balance fails.

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

12 years agov4l2src: fix for webcamstudio vloopback
Tuukka Pasanen [Thu, 16 Feb 2012 12:59:10 +0000 (12:59 +0000)]
v4l2src: fix for webcamstudio vloopback

Because vlooback emits 25 - ENOTTY and no EINVAL v4l2src thought it
can't handle this and does not work.

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

12 years agoexamples: fix spectrum example build issues
Tim-Philipp Müller [Wed, 15 Feb 2012 23:55:44 +0000 (23:55 +0000)]
examples: fix spectrum example build issues

Find fft headers in uninstalled setup, fix LIBS order.

12 years agospectrum-demo: show the effect of fast-mode
Stefan Sauer [Wed, 15 Feb 2012 10:25:45 +0000 (11:25 +0100)]
spectrum-demo: show the effect of fast-mode

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 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 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 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 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 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 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 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 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 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 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 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 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 agocairo: fix build, make sure libgstvideo can be found
Jayakrishnan M [Wed, 25 Jan 2012 15:21:44 +0000 (15:21 +0000)]
cairo: fix build, make sure libgstvideo can be found

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

12 years agortpmanager: don't pretend our random hostnames are fully-qualified domain names
Tim-Philipp Müller [Wed, 25 Jan 2012 13:19:12 +0000 (13:19 +0000)]
rtpmanager: don't pretend our random hostnames are fully-qualified domain names

12 years agortpmanager: don't reveal the user's username, hostname or real name by default
Tim-Philipp Müller [Mon, 23 Jan 2012 13:15:46 +0000 (13:15 +0000)]
rtpmanager: don't reveal the user's username, hostname or real name by default

Send a randomly made-up user@hostname as CNAME and don't
send a NAME at all by default.

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

12 years agortspsrc: simplify internal src event debug logging
Mark Nauwelaerts [Fri, 20 Jan 2012 16:06:42 +0000 (17:06 +0100)]
rtspsrc: simplify internal src event debug logging

... which avoids almost superfluous obtaining of rtsp element.

12 years agortspsrc: avoid NULL string comparison
Mark Nauwelaerts [Fri, 20 Jan 2012 16:03:50 +0000 (17:03 +0100)]
rtspsrc: avoid NULL string comparison

12 years agortpbin: arrange for initialized variables
Mark Nauwelaerts [Fri, 20 Jan 2012 16:03:21 +0000 (17:03 +0100)]
rtpbin: arrange for initialized variables

12 years agortpmp4adepay: prevent out-of-bound array access
Mark Nauwelaerts [Fri, 20 Jan 2012 16:02:15 +0000 (17:02 +0100)]
rtpmp4adepay: prevent out-of-bound array access

12 years agoisomp4: recovery: add sanity check
Mark Nauwelaerts [Fri, 20 Jan 2012 16:01:37 +0000 (17:01 +0100)]
isomp4: recovery: add sanity check

... on possibly bogus/corrupt input data.

12 years agortptheoradepay: remove dead code
Mark Nauwelaerts [Fri, 20 Jan 2012 16:00:51 +0000 (17:00 +0100)]
rtptheoradepay: remove dead code

12 years agomatroska-demux: remove redundant variable
Mark Nauwelaerts [Fri, 20 Jan 2012 15:58:28 +0000 (16:58 +0100)]
matroska-demux: remove redundant variable

12 years agodeinterlace: fix arithmetic for unsigned comparison
Mark Nauwelaerts [Fri, 20 Jan 2012 15:57:52 +0000 (16:57 +0100)]
deinterlace: fix arithmetic for unsigned comparison

12 years agoimagefreeze: add various missing break
Mark Nauwelaerts [Fri, 20 Jan 2012 15:55:06 +0000 (16:55 +0100)]
imagefreeze: add various missing break

12 years agoavidemux: tweak DEFAULT format duration query response
Mark Nauwelaerts [Fri, 20 Jan 2012 15:54:06 +0000 (16:54 +0100)]
avidemux: tweak DEFAULT format duration query response

12 years agoalphacolor: remove redundant statement
Mark Nauwelaerts [Fri, 20 Jan 2012 15:49:14 +0000 (16:49 +0100)]
alphacolor: remove redundant statement

12 years agoflacdec: improve upstream peer duration querying
Mark Nauwelaerts [Fri, 20 Jan 2012 15:48:49 +0000 (16:48 +0100)]
flacdec: improve upstream peer duration querying

... to avoid accepting unhandled duration query result.

12 years agopulsesrc: additional error condition checking
Mark Nauwelaerts [Fri, 20 Jan 2012 15:47:36 +0000 (16:47 +0100)]
pulsesrc: additional error condition checking

12 years agopulsesink: additional error condition checking
Mark Nauwelaerts [Fri, 20 Jan 2012 15:46:21 +0000 (16:46 +0100)]
pulsesink: additional error condition checking

12 years agojpegenc: check _alloc_buffer result and perform fallback alloc if needed
Mark Nauwelaerts [Fri, 20 Jan 2012 15:44:21 +0000 (16:44 +0100)]
jpegenc: check _alloc_buffer result and perform fallback alloc if needed

... rather than carrying on with NULL buffer.

12 years agoAdd --disable-fatal-warnings configure option
Tim-Philipp Müller [Thu, 19 Jan 2012 14:24:04 +0000 (14:24 +0000)]
Add --disable-fatal-warnings configure option

12 years agocutter: fix leak of unused GValue
Vincent Penquerc'h [Mon, 16 Jan 2012 17:51:18 +0000 (17:51 +0000)]
cutter: fix leak of unused GValue

12 years agotests: fix autodetect test not testing correctly for state change success
Vincent Penquerc'h [Mon, 16 Jan 2012 16:10:08 +0000 (16:10 +0000)]
tests: fix autodetect test not testing correctly for state change success

State change to PAUSED can be done async, so if this happens, we need
to wait for the change to be done (or failed).

12 years agortph263ppay: fix caps leak
Vincent Penquerc'h [Mon, 16 Jan 2012 15:42:46 +0000 (15:42 +0000)]
rtph263ppay: fix caps leak

12 years agodeinterlace: make interlacedness test deterministic
Vincent Penquerc'h [Mon, 16 Jan 2012 12:13:50 +0000 (12:13 +0000)]
deinterlace: make interlacedness test deterministic

If the interlaced flag is not present in the caps, we assume the
data is not interlaced, instead of leaving the boolean uninitialized.

12 years agopulsesrc: fix wrong error check
Vincent Penquerc'h [Fri, 13 Jan 2012 18:11:36 +0000 (18:11 +0000)]
pulsesrc: fix wrong error check

pa_stream_* functions return negative on error, despite the defines
for error codes being positive.

I only got to repro the error twice, so I'm not sure 100% sure this
fixes the issue (the negative var being uninitialized after returning
from pa_stream_get_latency).

12 years agooss4: fix caps leaks
Vincent Penquerc'h [Fri, 13 Jan 2012 17:43:49 +0000 (17:43 +0000)]
oss4: fix caps leaks

12 years agov4l2src: fix caps leak
Vincent Penquerc'h [Fri, 13 Jan 2012 17:25:59 +0000 (17:25 +0000)]
v4l2src: fix caps leak

12 years agotests: fix caps leak in videotestsrc test
Vincent Penquerc'h [Fri, 13 Jan 2012 15:57:20 +0000 (15:57 +0000)]
tests: fix caps leak in videotestsrc test

12 years agortpptdemux: plug pad leak in error code path
Tim-Philipp Müller [Fri, 13 Jan 2012 10:32:59 +0000 (10:32 +0000)]
rtpptdemux: plug pad leak in error code path

Based on patch by: Stig Sandnes <stig.sandnes@cisco.com>

Don't leak srcpad if there are no caps.

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

12 years agoosxvideo: Fix leak of NSOpenGLPixelFormat object
Stig Sandnes [Tue, 4 Oct 2011 08:00:02 +0000 (10:00 +0200)]
osxvideo: Fix leak of NSOpenGLPixelFormat object

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

12 years agov4l2src: Don't assert when the interface is not implemented.
Havard Graff [Mon, 5 Sep 2011 08:43:19 +0000 (10:43 +0200)]
v4l2src: Don't assert when the interface is not implemented.

Simply return FALSE instead.

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

12 years agowaveformsink: Fix mingw warnings
Raimo Järvi [Wed, 11 Jan 2012 22:18:39 +0000 (00:18 +0200)]
waveformsink: Fix mingw warnings

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

12 years agogstrtpssrcdemux: fix element leak
Vincent Penquerc'h [Thu, 12 Jan 2012 18:23:42 +0000 (18:23 +0000)]
gstrtpssrcdemux: fix element leak

12 years agomatroska: do not leak attachment buffers
Vincent Penquerc'h [Thu, 12 Jan 2012 14:19:22 +0000 (14:19 +0000)]
matroska: do not leak attachment buffers

12 years agoflacenc: do not drop the first data buffer on the floor (and leak it either)
Vincent Penquerc'h [Thu, 12 Jan 2012 10:30:11 +0000 (10:30 +0000)]
flacenc: do not drop the first data buffer on the floor (and leak it either)

12 years agoTemporarily disabling multifile for the Android build
Reynaldo H. Verdejo Pinochet [Wed, 11 Jan 2012 21:45:33 +0000 (18:45 -0300)]
Temporarily disabling multifile for the Android build

There is a hard dependency on inotify comming from gio. We
are not currently bundling inotify with the Android dist so
I'm disabling multifile for now until someone gets around
to sort this out.

This change fixes building on Android

12 years agojack: add a transport mode enum
Stefan Sauer [Wed, 11 Jan 2012 13:47:36 +0000 (14:47 +0100)]
jack: add a transport mode enum

Clients can configure the desired behaviour via "transport" property. The
default behaviour is ignoring the transport state. Other modes are master and
slave.