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.
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
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
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
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
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
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
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
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.
Vincent Penquerc'h [Sat, 28 Jan 2012 13:05:09 +0000 (13:05 +0000)]
videobox: avoid wrapping opaque to transparent
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.
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
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
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
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.
Mark Nauwelaerts [Fri, 20 Jan 2012 16:03:50 +0000 (17:03 +0100)]
rtspsrc: avoid NULL string comparison
Mark Nauwelaerts [Fri, 20 Jan 2012 16:03:21 +0000 (17:03 +0100)]
rtpbin: arrange for initialized variables
Mark Nauwelaerts [Fri, 20 Jan 2012 16:02:15 +0000 (17:02 +0100)]
rtpmp4adepay: prevent out-of-bound array access
Mark Nauwelaerts [Fri, 20 Jan 2012 16:01:37 +0000 (17:01 +0100)]
isomp4: recovery: add sanity check
... on possibly bogus/corrupt input data.
Mark Nauwelaerts [Fri, 20 Jan 2012 16:00:51 +0000 (17:00 +0100)]
rtptheoradepay: remove dead code
Mark Nauwelaerts [Fri, 20 Jan 2012 15:58:28 +0000 (16:58 +0100)]
matroska-demux: remove redundant variable
Mark Nauwelaerts [Fri, 20 Jan 2012 15:57:52 +0000 (16:57 +0100)]
deinterlace: fix arithmetic for unsigned comparison
Mark Nauwelaerts [Fri, 20 Jan 2012 15:55:06 +0000 (16:55 +0100)]
imagefreeze: add various missing break
Mark Nauwelaerts [Fri, 20 Jan 2012 15:54:06 +0000 (16:54 +0100)]
avidemux: tweak DEFAULT format duration query response
Mark Nauwelaerts [Fri, 20 Jan 2012 15:49:14 +0000 (16:49 +0100)]
alphacolor: remove redundant statement
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.
Mark Nauwelaerts [Fri, 20 Jan 2012 15:47:36 +0000 (16:47 +0100)]
pulsesrc: additional error condition checking
Mark Nauwelaerts [Fri, 20 Jan 2012 15:46:21 +0000 (16:46 +0100)]
pulsesink: additional error condition checking
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.
Tim-Philipp Müller [Thu, 19 Jan 2012 14:24:04 +0000 (14:24 +0000)]
Add --disable-fatal-warnings configure option
Vincent Penquerc'h [Mon, 16 Jan 2012 17:51:18 +0000 (17:51 +0000)]
cutter: fix leak of unused GValue
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).
Vincent Penquerc'h [Mon, 16 Jan 2012 15:42:46 +0000 (15:42 +0000)]
rtph263ppay: fix caps leak
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.
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).
Vincent Penquerc'h [Fri, 13 Jan 2012 17:43:49 +0000 (17:43 +0000)]
oss4: fix caps leaks
Vincent Penquerc'h [Fri, 13 Jan 2012 17:25:59 +0000 (17:25 +0000)]
v4l2src: fix caps leak
Vincent Penquerc'h [Fri, 13 Jan 2012 15:57:20 +0000 (15:57 +0000)]
tests: fix caps leak in videotestsrc test
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
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
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
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
Vincent Penquerc'h [Thu, 12 Jan 2012 18:23:42 +0000 (18:23 +0000)]
gstrtpssrcdemux: fix element leak
Vincent Penquerc'h [Thu, 12 Jan 2012 14:19:22 +0000 (14:19 +0000)]
matroska: do not leak attachment buffers
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)
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
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.
Tim-Philipp Müller [Wed, 11 Jan 2012 01:45:34 +0000 (01:45 +0000)]
tests: fix wavenc test on big endian
wavenc only accepts little-endian PCM, but most of our
elements such as audiotestsrc only produce or process
audio in native endianness, so we need to plug a
converter before wavenc on big endian systems.
Stefan Sauer [Tue, 10 Jan 2012 22:02:45 +0000 (23:02 +0100)]
jack: deactivate the request_state code
When qjackctl is started, transport is stopped by default. This would be a
regression for gstreamer apps that before just started to play right away.
Stefan Sauer [Tue, 10 Jan 2012 21:27:11 +0000 (22:27 +0100)]
jack: add transport control handling
This feature allows to start and stop playback from other jack applications (e.g. qjackctl).
Nicola Murino [Tue, 10 Jan 2012 17:50:27 +0000 (18:50 +0100)]
matroskamux: fix codec_priv leaks
https://bugzilla.gnome.org/show_bug.cgi?id=667419
Stefan Sauer [Tue, 10 Jan 2012 14:06:39 +0000 (15:06 +0100)]
jack: use jack type for the callback
Jack headers have a typedef for the shutdown callback as well.
Vincent Penquerc'h [Mon, 9 Jan 2012 17:28:17 +0000 (17:28 +0000)]
matroskamux: fix codec string leaks
Vincent Penquerc'h [Thu, 5 Jan 2012 19:25:33 +0000 (19:25 +0000)]
isomp4: fix caps leak
Vincent Penquerc'h [Thu, 5 Jan 2012 19:08:03 +0000 (19:08 +0000)]
isomp4: remove dead assignment
Tim-Philipp Müller [Wed, 4 Jan 2012 17:59:55 +0000 (17:59 +0000)]
tests: fix some leaks and remove files when done in qtmux test
Peter Seiderer [Wed, 14 Dec 2011 09:14:20 +0000 (10:14 +0100)]
multifilesink: post better error message when we run out of disk space
Map write errno ENOSPC to GST_RESOURCE_ERROR_NO_SPACE_LEFT.
Tim-Philipp Müller [Tue, 27 Dec 2011 22:59:03 +0000 (22:59 +0000)]
waveformsink: fix compiler warnings with MingW
https://bugzilla.gnome.org/show_bug.cgi?id=666485
Tim-Philipp Müller [Tue, 27 Dec 2011 12:06:16 +0000 (12:06 +0000)]
tests: make git ignore new unit test binary
Tim-Philipp Müller [Tue, 27 Dec 2011 11:50:03 +0000 (11:50 +0000)]
udpsrc: fix valgrind warning
https://bugzilla.gnome.org/show_bug.cgi?id=666644
Tim-Philipp Müller [Tue, 27 Dec 2011 11:49:10 +0000 (11:49 +0000)]
udpsrc: add unit test that sends 0-size packet
https://bugzilla.gnome.org/show_bug.cgi?id=666644
John Ogness [Wed, 21 Dec 2011 12:22:03 +0000 (13:22 +0100)]
udpsrc: drop dataless UDP packets
It is allowed to send/receive UDP packets with no data. When such
a packet is available, select() will return with success but
ioctl(FIONREAD) will return 0. But a read() must still occur in
order to clear off the UDP packet from the queue.
This patch will read the dataless packet from the socket. If
select() was woken for other reasons (and FIONREAD returns 0),
this may result in a UDP packet getting accidentally dropped.
But since UDP is not reliable, this is acceptable.
NOTE: This patch fixes a nasty bug where sending a dataless
UDP packet to a udpsrc instance will cause an infinite
loop.
https://bugzilla.gnome.org/show_bug.cgi?id=666644
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Yaakov Selkowitz [Mon, 26 Dec 2011 22:22:59 +0000 (22:22 +0000)]
waveform: add autotools bits for waveform plugin
https://bugzilla.gnome.org/show_bug.cgi?id=666485
Nicola Murino [Wed, 21 Dec 2011 19:50:21 +0000 (20:50 +0100)]
jpegdec: fix peer_caps leak
https://bugzilla.gnome.org/show_bug.cgi?id=666688
Tim-Philipp Müller [Sun, 25 Dec 2011 14:23:29 +0000 (14:23 +0000)]
flvmux: don't try to push already-freed buffers
Fixes unit test.
Sebastian Dröge [Sat, 24 Dec 2011 09:57:42 +0000 (10:57 +0100)]
wavparse: Use scale_ceil() functions from core instead of custom ones
Branko Subasic [Wed, 21 Dec 2011 16:43:10 +0000 (17:43 +0100)]
matroskademux: do not consider duration of non-finalized file
... to avoid it clamping requested seek position.
Non-finalized file case, determined by whether
_parse_blockgroup_or_simpleblock ever updates the segment duration.
Fixes #652195.
Mark Nauwelaerts [Wed, 21 Dec 2011 14:06:57 +0000 (15:06 +0100)]
matroskademux: improve decision to fall back to scanning when seeking
... which is basically iff not streaming and no entry found in index
Oleksij Rempel (Alexey Fisher) [Wed, 21 Dec 2011 08:09:27 +0000 (09:09 +0100)]
ac3parse: remove unused variable
remove unused variable to fix compile error:
make -C audioparsers
make[3]: Betrete Verzeichnis '/home/lex/tmp/gst-plugins-good/gst/audioparsers'
CC libgstaudioparsers_la-gstaacparse.lo
gstaacparse.c: In function 'gst_aac_parse_read_loas_audio_specific_config':
gstaacparse.c:446:12: error: variable 'sbr' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
Signed-off-by: Oleksij Rempel (Alexey Fisher) <bug-track@fisher-privat.net>
Vincent Penquerc'h [Fri, 9 Sep 2011 10:42:09 +0000 (11:42 +0100)]
ac3parse: let bsid 9 and 10 through
Files with 9 and 10 happen, and seem to comply with the <= 8
format, so let them through.
The spec says nothing about 9 and 10.
https://bugzilla.gnome.org/show_bug.cgi?id=658546
Mark Nauwelaerts [Fri, 16 Dec 2011 18:15:38 +0000 (19:15 +0100)]
flvmux: properly determine final duration
... which can be authoratively obtained from our own written timestamps.
Mark Nauwelaerts [Mon, 19 Dec 2011 12:56:30 +0000 (13:56 +0100)]
flvmux: only write full metadata at start
... rather than having (potentially) unnecessary duplicates written all over,
or even contradictory varying filesize info, or duration info that will not
be rewritten upon header rewrite.
Mark Nauwelaerts [Fri, 16 Dec 2011 18:15:03 +0000 (19:15 +0100)]
flvmux: use GstCollectPads2 buffer callback and running time clipper
... since the default collection heuristics suffice.
Mark Nauwelaerts [Fri, 16 Dec 2011 17:03:01 +0000 (18:03 +0100)]
qtmux: use GstCollectPads2 buffer callback and running time clipper
... since default collection heuristics suffice.
Mark Nauwelaerts [Fri, 16 Dec 2011 16:20:51 +0000 (17:20 +0100)]
matroskamux: bring a few debug statements up to specs
... and minor spelling fix.
Mark Nauwelaerts [Fri, 16 Dec 2011 15:56:37 +0000 (16:56 +0100)]
matroskamux: additional subtitle support
Mark Nauwelaerts [Thu, 15 Dec 2011 20:50:42 +0000 (21:50 +0100)]
matroskamux: additional buffer handling cleanup
Mark Nauwelaerts [Thu, 15 Dec 2011 20:45:17 +0000 (21:45 +0100)]
matroskamux: use GstCollectPads2 buffer callback and running time clipper
Vincent Penquerc'h [Wed, 7 Dec 2011 13:24:55 +0000 (13:24 +0000)]
aacparse: parse LOAS variant
The LOAS variant seems to have three different subvariants itself,
only one of them is implemented as my two samples happen to be
using that one.
The sample rate is not always reported correctly, as the "main"
sample rate is apparently sometimes half what it should be (both
of my samples report 24000 Hz there), and there are two other
parts of the subvariant with different sampling rates. One of them
is parsed, but not the other, as it's located after some other
large amount of variable data that needs parsing first, and there
seems to be a LOT of it, which is useless for our needs here.
This ends up being rather inconsequential, as ffdec_aac_latm,
which is the only decoder that can decode such streams, does not
need the sample rate on the caps anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=665394
Mark Nauwelaerts [Thu, 15 Dec 2011 15:40:21 +0000 (16:40 +0100)]
flvmux: use GstCollectPads2 event callback
... in stead of local HACK.
Mark Nauwelaerts [Thu, 15 Dec 2011 15:30:17 +0000 (16:30 +0100)]
matroskamux: use GstCollectPads2 event callback
... in stead of local HACK.
Mark Nauwelaerts [Thu, 15 Dec 2011 15:16:52 +0000 (16:16 +0100)]
avimux: use GstCollectPads2 event callback
... in stead of local HACK.
Mark Nauwelaerts [Thu, 15 Dec 2011 15:15:22 +0000 (16:15 +0100)]
qtmux: use GstCollectPads2 event callback
... in stead of local HACK.
Vincent Penquerc'h [Wed, 14 Dec 2011 19:13:21 +0000 (19:13 +0000)]
smpte: port to GstCollectPads2
Vincent Penquerc'h [Wed, 14 Dec 2011 19:10:53 +0000 (19:10 +0000)]
multipartmux: port to GstCollectPads2
Vincent Penquerc'h [Wed, 14 Dec 2011 19:07:23 +0000 (19:07 +0000)]
matroskamux: port to GstCollectPads2
Vincent Penquerc'h [Wed, 14 Dec 2011 19:02:23 +0000 (19:02 +0000)]
qtmux: port to GstCollectPads2
Vincent Penquerc'h [Wed, 14 Dec 2011 18:55:36 +0000 (18:55 +0000)]
interleave: port to GstCollectPads2
Vincent Penquerc'h [Wed, 14 Dec 2011 18:52:37 +0000 (18:52 +0000)]
flxmux: port to GstCollectPads2
Vincent Penquerc'h [Wed, 14 Dec 2011 18:38:09 +0000 (18:38 +0000)]
avimux: port to GstCollectPads2
Vincent Penquerc'h [Wed, 14 Dec 2011 18:34:25 +0000 (18:34 +0000)]
cairotextoverlay: port to GstCollectPads2
Mark Nauwelaerts [Tue, 13 Dec 2011 17:18:45 +0000 (18:18 +0100)]
matroskademux: filter bogus index entries with missing block number
... to avoid contradictory information resulting in seeks sending more
downstream than needed for the corresponding segment.
Mark Nauwelaerts [Tue, 13 Dec 2011 17:15:18 +0000 (18:15 +0100)]
matroskademux: cater for safer arithmetic with global start time
Mark Nauwelaerts [Tue, 13 Dec 2011 16:02:01 +0000 (17:02 +0100)]
matroskademux: tweak final closing segment sending
... to avoid it interfering with (sparse) stream syncing.
Thiago Santos [Mon, 12 Dec 2011 14:51:06 +0000 (11:51 -0300)]
qtmux: make debug message more useful
Add information about the taglist and which pad received the
tag event on the debug logging.
Vincent Penquerc'h [Tue, 13 Dec 2011 11:46:43 +0000 (11:46 +0000)]
wavparse: avoid using floating point unnecessarily
https://bugzilla.gnome.org/show_bug.cgi?id=665911
Vincent Penquerc'h [Tue, 13 Dec 2011 11:42:40 +0000 (11:42 +0000)]
wavparse: fix format specifier signedness
Use unsigned specifiers for all unsigned values.
A lot of the values used here are unsigned, and some can take
high enough values that their signed counterpart will be negative.
https://bugzilla.gnome.org/show_bug.cgi?id=665911
Vincent Penquerc'h [Mon, 12 Dec 2011 16:49:19 +0000 (16:49 +0000)]
wavparse: add a ignore-length property
This allows playing broken streams which write an incorrect
length in their data chunks (such as, at least, one streaming
camera).
https://bugzilla.gnome.org/show_bug.cgi?id=665911
Sebastian Dröge [Mon, 12 Dec 2011 10:54:56 +0000 (11:54 +0100)]
glib-compat: Add license boilerplate for LGPL
Mark Nauwelaerts [Mon, 12 Dec 2011 14:15:46 +0000 (15:15 +0100)]
matroskademux: mind (un)signed in some timestamp arithmetic
... to avoid ending up with invalid (negative) duration.