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.
Mark Nauwelaerts [Wed, 9 Feb 2011 14:31:22 +0000 (15:31 +0100)]
qtdemux: increase parse tolerance for fuzzy file cases
Tim-Philipp Müller [Mon, 12 Dec 2011 10:38:20 +0000 (10:38 +0000)]
build: dist glib-compat-private.h properly
Add missing slash.
Tim-Philipp Müller [Mon, 12 Dec 2011 10:18:14 +0000 (10:18 +0000)]
tests: use atexit, g_atexit has been deprecated in glib master
Tim-Philipp Müller [Mon, 12 Dec 2011 02:52:13 +0000 (02:52 +0000)]
Suppress deprecation warnings in selected files, for g_static_rec_mutex_* mostly
GStaticRecMutex is part of our API/ABI, not much we can do here
in 0.10 for most of these.
Tim-Philipp Müller [Mon, 12 Dec 2011 02:41:37 +0000 (02:41 +0000)]
tests: g_thread_init() is deprecated in glib master
It's not needed any longer.
Tim-Philipp Müller [Mon, 12 Dec 2011 02:38:37 +0000 (02:38 +0000)]
Use g_thread_try_new() instead of g_thread_crate() with newer glib versions
Tim-Philipp Müller [Mon, 12 Dec 2011 02:31:36 +0000 (02:31 +0000)]
alpha: use new glib API for static mutex if available
Tim-Philipp Müller [Mon, 12 Dec 2011 02:30:45 +0000 (02:30 +0000)]
Work around deprecated thread API in glib master
Add private replacements for deprecated functions such as
g_mutex_new(), g_mutex_free(), g_cond_new() etc., mostly
to avoid the deprecation warnings. We'll change these
over to the new API once we depend on glib >= 2.32.
Sebastian Dröge [Mon, 12 Dec 2011 09:24:45 +0000 (10:24 +0100)]
configure: Require GLib >= 2.24
All other modules require this already and nobody is testing with
older versions anyway.
Tim-Philipp Müller [Sun, 11 Dec 2011 18:40:31 +0000 (18:40 +0000)]
gdkpixbufsink: fix inverted pixel-aspect-ratio
Spotted by Mike Morrison.
https://bugzilla.gnome.org/show_bug.cgi?id=665882
Tim-Philipp Müller [Sun, 11 Dec 2011 17:55:14 +0000 (17:55 +0000)]
pulseaudiosink: don't leak pad template
Tim-Philipp Müller [Sat, 10 Dec 2011 14:48:57 +0000 (14:48 +0000)]
soup: fix start/stop race in souphttpclientsink
Fix crash or hang in generic/states unit test when doing stop()
right after start(). Create main loop in the start function already
and not just in the thread function, so that stop() always has a
valid main loop to quit on. Also, calling g_main_loop_quit() before
g_main_loop_run() won't work and result in the stop function waiting
for the thread to join forever. Therefore, wait for the thread to
be ready and get the main loop running in the start() function, to
be sure stop() always works.
Tim-Philipp Müller [Sat, 10 Dec 2011 13:35:08 +0000 (13:35 +0000)]
tests: dist test file used in matroskaparse unit test
Tim-Philipp Müller [Sat, 10 Dec 2011 12:32:32 +0000 (12:32 +0000)]
tests: fix up rgvolume test for basetransform event caching
Some tests assumed that tag events would always pushed through
immediately, which isn't the case any longer, so push a newsegment
event and an empty buffer first.
Tim-Philipp Müller [Sat, 10 Dec 2011 02:21:02 +0000 (02:21 +0000)]
po: update translations
Tim-Philipp Müller [Fri, 9 Dec 2011 15:50:28 +0000 (15:50 +0000)]
jack: don't leak client name when freeing the element
And add gtk-doc chunks for the new property.
https://bugzilla.gnome.org/show_bug.cgi?id=665872
Nicolas Baron [Fri, 9 Dec 2011 15:45:03 +0000 (15:45 +0000)]
jack: add "client-name" property to jackaudiosink and jackaudiosrc
https://bugzilla.gnome.org/show_bug.cgi?id=665872
Tim-Philipp Müller [Thu, 8 Dec 2011 11:00:45 +0000 (11:00 +0000)]
matroskamux: stream-format=raw goes with aac caps, not mp3 caps
Vincent Penquerc'h [Fri, 2 Dec 2011 12:07:24 +0000 (12:07 +0000)]
v4l2src: do not ignore the highest frame interval
https://bugzilla.gnome.org/show_bug.cgi?id=665387
Vincent Penquerc'h [Fri, 2 Dec 2011 11:59:03 +0000 (11:59 +0000)]
v4l2src: do not ignore the largest resolution
The 'max' value isn't an STL style "one after the end" bound,
but the largest allowed value.
https://bugzilla.gnome.org/show_bug.cgi?id=665387
Stefan Sauer [Tue, 6 Dec 2011 15:47:25 +0000 (16:47 +0100)]
docs: add add the two enum values that were just added too
Stefan Sauer [Tue, 6 Dec 2011 15:14:54 +0000 (16:14 +0100)]
multifilesink: expose the enum property docs for splitting mode.
Fixes #665666.
Tim-Philipp Müller [Mon, 5 Dec 2011 12:15:21 +0000 (12:15 +0000)]
v4l2: replace deprecated GST_CLASS_LOCK
Sebastian Rasmussen [Thu, 24 Nov 2011 12:58:01 +0000 (13:58 +0100)]
rtpjpegpay: Ceil jpeg dimensions, instead of floor
A JPEG image inside an RTP stream has a preceeding RFC2435 header that
conveys width/height. The dimensions in this header are limited to be
multiples of 8. Since JPEG uses an MCU of 8x8 pixels any image must
already indirectly have image data dimensions that are rounded up in
order to contain enough data to render the image. Therefore this fix
safely rounds the image dimensions in the RFC2435 header up to the
closest multiple of 8.
Vincent Penquerc'h [Sun, 4 Dec 2011 12:50:57 +0000 (12:50 +0000)]
flacparse: ensure we only check for sample/block mixup at start
Otherwise we might trigger at some point within the file, but the
check is only making sense for the second block.
Vincent Penquerc'h [Sat, 3 Dec 2011 18:14:59 +0000 (18:14 +0000)]
matroskaparse: warn if accumulating headers after they were pushed
https://bugzilla.gnome.org/show_bug.cgi?id=665412
David Schleef [Tue, 25 Oct 2011 19:54:43 +0000 (12:54 -0700)]
matroskaparse: fix parsing
Mark more parts as belonging to streamheaders.
Vincent Penquerc'h [Sat, 3 Dec 2011 17:30:10 +0000 (17:30 +0000)]
flvdemux: fix discontinuity threshold check when timestamps go backwards
Since unsigned types are used, a negative value would show as very, very
positive.
Fixes A/V sync on some... less than well made files where timestamps go
backwards.
Vincent Penquerc'h [Fri, 2 Dec 2011 12:01:22 +0000 (12:01 +0000)]
v4l2src: add a comment about a "hidden" assumption on rank values
https://bugzilla.gnome.org/show_bug.cgi?id=665387
Tim-Philipp Müller [Thu, 1 Dec 2011 14:13:05 +0000 (14:13 +0000)]
tests: fix up LIBS order som more`
Tim-Philipp Müller [Thu, 1 Dec 2011 13:22:42 +0000 (13:22 +0000)]
matroska-mux: fix name of new property and the unit test
https://bugzilla.gnome.org/show_bug.cgi?id=654379
Tim-Philipp Müller [Sun, 25 Sep 2011 13:57:56 +0000 (14:57 +0100)]
multifilesink: add basic buffer list handling
We assume for now that all buffers in a buffer list
should end up in the same file (so we can group GOPs
in buffer lists, for example). Could optimise this
a bit to avoid the memcpy.
Tim-Philipp Müller [Fri, 23 Sep 2011 17:43:35 +0000 (18:43 +0100)]
multifilesink: write stream-headers when switching to the next file in max-size mode
Tim-Philipp Müller [Fri, 23 Sep 2011 17:31:01 +0000 (18:31 +0100)]
multifilesink: add new 'max-size' mode for switching to the next file
Tim-Philipp Müller [Fri, 23 Sep 2011 16:49:05 +0000 (17:49 +0100)]
multifilesink: add "max-file-size" property for new next-file mode
Sebastian Dröge [Thu, 1 Dec 2011 12:38:06 +0000 (13:38 +0100)]
matroskademux: Don't forget SSA subtitles in last commit
Sebastian Dröge [Thu, 1 Dec 2011 12:34:52 +0000 (13:34 +0100)]
matroskademux: Only check for markup and escape if necessary for plaintext subtitles
Otherwise we break USF and ASS/SSA subtitles.
Alessandro Decina [Thu, 1 Dec 2011 12:23:33 +0000 (13:23 +0100)]
multifile: fix build in uninstalled setup
Add -base libs includes to CFLAGS, fix order of LIBS <cit>.
Alessandro Decina [Thu, 1 Dec 2011 12:08:01 +0000 (13:08 +0100)]
tests: fix g_mkdtemp presence check in multifile tests
g_mkdtemp was added in glib 2.30 even though the doc claims it was added in
2.26.
Alessandro Decina [Sun, 17 Jul 2011 21:56:04 +0000 (23:56 +0200)]
multifilesink: add flag to cut after a force key unit event
Sebastian Dröge [Thu, 1 Dec 2011 11:47:26 +0000 (12:47 +0100)]
matroskademux: Copy all buffer flags when creating a subtitle buffer copy after postprocessing
This also copies the caps. Otherwise we could end up pusing
the first buffer without any caps, which causes downstream
to not get notified about the caps.
Fixes bug #664892.
Alexey Fisher [Tue, 11 Oct 2011 00:07:13 +0000 (02:07 +0200)]
matroskamux: make default framerate optional per stream
there is at least two use cases where default frame rate
should or may be disabled:
- vp8 stream with altref frame enabled. If default frame rate
is enabled, some players will missinterprete it (critical!)
- for webm container, to reduce micro overhead
- for stream with variable frame rate.
Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
Stefan Sauer [Wed, 30 Nov 2011 21:13:11 +0000 (22:13 +0100)]
rippletv: fix CLAMP end-values
Tim-Philipp Müller [Wed, 30 Nov 2011 19:25:37 +0000 (19:25 +0000)]
docs: update docs
Tim-Philipp Müller [Wed, 30 Nov 2011 19:00:42 +0000 (19:00 +0000)]
splitfilesrc: specify filenames via normal wildcards instead of regular expressions
Less cracktastic in the end.
Tim-Philipp Müller [Mon, 10 Oct 2011 17:28:11 +0000 (18:28 +0100)]
splitfilesrc: check bytes actually read, just in case
Handle corner case where we try to read beyond the end of the
last file part, in which case we want to return a short read.
If we get fewer bytes than expected for any other file part,
we should just error out, since something fishy's going on
then.
Tim-Philipp Müller [Thu, 6 Oct 2011 07:33:19 +0000 (08:33 +0100)]
splitfilesrc: set offsets on buffers
Looks like some parsers (in some versions at least) expect the
offsets to be set, and behave weird if that's not the case
(e.g. off-by-one in h264parse).
Tim-Philipp Müller [Thu, 28 Jul 2011 19:19:56 +0000 (20:19 +0100)]
multifile: add splitfilesrc element
Add new splitfilesrc element that presents multiple files
(selectable via a location regex) as one single contiguous
file.
Thiago Santos [Tue, 29 Nov 2011 20:34:10 +0000 (17:34 -0300)]
Revert "pulseaudiosink: fix caps leak"
This reverts commit
d6a9de9e2aedc8b66ab3219902b5a37e8d65ada2.
setcaps functions aren't supposed to take ownership of the caps passed