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
Vincent Penquerc'h [Mon, 28 Nov 2011 12:58:44 +0000 (12:58 +0000)]
various: fix pad template leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
Chad [Mon, 28 Nov 2011 10:47:11 +0000 (11:47 +0100)]
taginject: set gap-aware
The element does not modify the data anyway.
Stefan Sauer [Sat, 26 Nov 2011 20:39:33 +0000 (21:39 +0100)]
equalizer: also sync the parameters for the filter bands
Tim-Philipp Müller [Sat, 26 Nov 2011 16:06:59 +0000 (16:06 +0000)]
matroskademux: initialise seen_markup_tag field on subtitle stream context
Thiago Santos [Fri, 25 Nov 2011 22:28:55 +0000 (19:28 -0300)]
ismlmux: Use iso-fragmented as variant type
Using 'iso' conflicts with mp4mux variant type, ismlmux now
uses iso-fragmented
Fixes #656823
Arun Raghavan [Thu, 24 Nov 2011 06:35:33 +0000 (12:05 +0530)]
pulsesrc: Implement GstStreamVolume interface
PulseAudio 1.0 supports per-source-output volumes, and this exposes the
functionality via the GstStreamVolume interface.
When compiled against pre-1.0 PulseAudio, the interface is not
implemented, and the "volume" or "mute" properties are not available.
This bit of ugliness will go away when we can depend on PulseAudio 1.0
or greater.
https://bugzilla.gnome.org/show_bug.cgi?id=595055
Arun Raghavan [Sun, 11 Sep 2011 04:21:38 +0000 (21:21 -0700)]
pulsesrc: Trivial comment copy-paste-o fix
Arun Raghavan [Mon, 14 Nov 2011 07:13:27 +0000 (12:43 +0530)]
pulseaudiosink: Remove redundant code
Arun Raghavan [Mon, 14 Nov 2011 07:11:41 +0000 (12:41 +0530)]
pulseaudiosink: Clean up refcounting in event probe
Makes sure we don't leak a refcount if the object is disposed before a
NEWSEGMENT turns up.
Vincent Penquerc'h [Thu, 24 Nov 2011 16:31:38 +0000 (16:31 +0000)]
flvdemux: fix seeking
Which I accidentally broke when fixing flv videos breaking on
spurious timestamp discontinuities in broken files.
https://bugzilla.gnome.org/show_bug.cgi?id=631430
Stefan Sauer [Fri, 25 Nov 2011 12:13:47 +0000 (13:13 +0100)]
effectv: repair color modes in radioactv by taking rgb,bgr into account
Stefan Sauer [Fri, 25 Nov 2011 10:44:49 +0000 (11:44 +0100)]
radioactv: add one more set of caps
It also work in this format. Avoids the need for conversion.
Stefan Sauer [Fri, 25 Nov 2011 10:44:18 +0000 (11:44 +0100)]
effecttv: fix reverse negotiation
The plugins were using _fixed_caps_ and thus not adjusting to new upstream
sizes. Spotted by Tim Müller.
Stefan Sauer [Fri, 25 Nov 2011 10:43:16 +0000 (11:43 +0100)]
warptv: remove not needed ifdef
Stefan Sauer [Fri, 25 Nov 2011 09:15:35 +0000 (10:15 +0100)]
rippletv: clean up the rendering code a bit
This is corrrupts the memoy when resizing. Add a FIXME to make it resizeable
once that is solved.
Stefan Sauer [Thu, 24 Nov 2011 19:42:49 +0000 (20:42 +0100)]
effecttv: fix reverse negotiation
The plugins were using _fixed_caps_ and thus not adjusting to new upstream
sizes. Spotted by Tim Müller.
Thiago Santos [Thu, 24 Nov 2011 17:14:53 +0000 (14:14 -0300)]
multifilesink: Fix leak of filename strings
Do not forget to free the filename strings when deleting
the list of files.
Thiago Santos [Thu, 24 Nov 2011 17:11:33 +0000 (14:11 -0300)]
multifile: fix build of tests
Tests fail to build because g_mkdtemp is available from glib since
2.26.
This patch adds a condition around the redefinition of
g_mkdtemp on the tests to only build it if glib is older than
2.26.
Vincent Penquerc'h [Tue, 27 Sep 2011 15:49:45 +0000 (16:49 +0100)]
wavparse: skip id32 tags
This allows decoding at least one sample where something has
stuffed some ID3 tag before the (supposedly initial) FMT\ .
https://bugzilla.gnome.org/show_bug.cgi?id=660249
Vincent Penquerc'h [Mon, 31 Oct 2011 17:06:18 +0000 (17:06 +0000)]
edgetv: trivial comment fix for clarity
https://bugzilla.gnome.org/show_bug.cgi?id=661841
Vincent Penquerc'h [Mon, 31 Oct 2011 17:04:23 +0000 (17:04 +0000)]
edgetv: don't leave bits of the output buffer uninitialized
Let's initialize them to zero. It looks alright, but then it
also looks alright with v3, or with the corresponding pixels
from the source. I don't know what the original intent would
be, and the original effectv source also has this bug/feature.
https://bugzilla.gnome.org/show_bug.cgi?id=661841
Sebastian Dröge [Thu, 24 Nov 2011 09:25:02 +0000 (10:25 +0100)]
audioparse: Use the sinkpad template caps as fallback, not the srcpad ones
Sebastian Dröge [Thu, 24 Nov 2011 08:59:40 +0000 (09:59 +0100)]
mpegaudioparse: Implement ::get_sink_caps vfunc to propagate downstream caps constraints upstream
Sebastian Dröge [Thu, 24 Nov 2011 08:57:57 +0000 (09:57 +0100)]
flacparse: Implement ::get_sink_caps vfunc to propagate downstream caps constraints upstream
Sebastian Dröge [Thu, 24 Nov 2011 08:55:47 +0000 (09:55 +0100)]
dcaparse: Implement ::get_sink_caps vfunc to propagate downstream caps constraints upstream
Sebastian Dröge [Thu, 24 Nov 2011 08:53:18 +0000 (09:53 +0100)]
amrparse: Implement ::get_sink_caps vfunc to propagate downstream caps constraints upstream
Sebastian Dröge [Thu, 24 Nov 2011 08:49:27 +0000 (09:49 +0100)]
amrparse: Mark some more functions as static
Sebastian Dröge [Thu, 24 Nov 2011 08:48:33 +0000 (09:48 +0100)]
ac3parse: Implement ::get_sink_caps vfunc to propagate downstream caps constraints upstream
Sebastian Dröge [Thu, 24 Nov 2011 08:44:58 +0000 (09:44 +0100)]
aacparse: Mark some functions as static and remove unused function declarations
Sebastian Dröge [Thu, 24 Nov 2011 08:43:14 +0000 (09:43 +0100)]
aacparse: Implement ::get_sink_caps vfunc to propagate downstream caps constraints upstream
Tim-Philipp Müller [Wed, 23 Nov 2011 00:57:39 +0000 (00:57 +0000)]
tests: add basic unit test for matroskaparse
Tim-Philipp Müller [Wed, 23 Nov 2011 00:56:26 +0000 (00:56 +0000)]
matroskaparse: don't leak stream headers
https://bugzilla.gnome.org/show_bug.cgi?id=664548
Mark Nauwelaerts [Wed, 16 Nov 2011 18:08:05 +0000 (19:08 +0100)]
speexenc: ensure to free allocated padded data
Mark Nauwelaerts [Wed, 16 Nov 2011 17:57:38 +0000 (18:57 +0100)]
speexenc: reset tag setter interface when appropriate
Mark Nauwelaerts [Wed, 16 Nov 2011 17:57:21 +0000 (18:57 +0100)]
flacenc: reset tag setter interface when appropriate
Vincent Penquerc'h [Mon, 14 Nov 2011 15:34:57 +0000 (15:34 +0000)]
flacparse: detect when a file lies about fixed block size
If the sample/block number happens to be the same as the block
size, we assume variable block size, and thus counters in samples
in the headers. This can only get us a false positive for a block
size of 1, which is invalid. We can get false negatives more
often though (eg, if not starting at the start of the stream),
but then that's already GIGO.
Olivier Crête [Fri, 2 Sep 2011 23:20:07 +0000 (19:20 -0400)]
gstrtpsession: Add special mode to use FIR as repair as Google does
https://bugzilla.gnome.org/show_bug.cgi?id=658419
Olivier Crête [Thu, 1 Sep 2011 21:47:38 +0000 (17:47 -0400)]
rtpsession: Send FIR requests in response to key unit requests with all-headers=TRUE
https://bugzilla.gnome.org/show_bug.cgi?id=658419
Olivier Crête [Thu, 1 Sep 2011 20:25:21 +0000 (16:25 -0400)]
rtpsession: Put the PLI requests in each RTPSource
Also refactor a bit and put all the keyframe request code in one
place inside rtpsession.c
https://bugzilla.gnome.org/show_bug.cgi?id=658419
Olivier Crête [Wed, 31 Aug 2011 18:35:33 +0000 (14:35 -0400)]
rtpsession: Hack to FIR because Google doesn't set the sender ssrc correctly
https://bugzilla.gnome.org/show_bug.cgi?id=658419
Olivier Crête [Tue, 30 Aug 2011 23:06:13 +0000 (19:06 -0400)]
rtpsession: Process received Full Intra Requests
Process FIR requests according to RFC 5104
https://bugzilla.gnome.org/show_bug.cgi?id=658419
Sjoerd Simons [Mon, 7 Nov 2011 18:43:26 +0000 (18:43 +0000)]
v4l2: Set pixel-aspect-ratio to 1/1
We don't currently support setting the pixel-aspect-ratio from V4L2. So
simply set it to be 1/1 in the caps to prevent negotiation failures when
fixating to weird values (e.g. when the downstream caps has
pixel-aspect-ratio = [ MIN, MAX ] )
https://bugzilla.gnome.org/show_bug.cgi?id=663580
Thiago Santos [Fri, 11 Nov 2011 13:06:25 +0000 (10:06 -0300)]
pulseaudiosink: fix caps leak
Mark Nauwelaerts [Fri, 11 Nov 2011 13:55:48 +0000 (14:55 +0100)]
pulsesink: do not leak clientname when setting up property
Arun Raghavan [Fri, 11 Nov 2011 12:35:35 +0000 (18:05 +0530)]
pulse: Chain up dispose() in pulseaudiosink
Vincent Penquerc'h [Tue, 8 Nov 2011 15:35:26 +0000 (15:35 +0000)]
avidemux: fix wrong stride when inverting uncompressed video
Such frames have a stride multiple of 4, see
http://lscube.org/pipermail/ffmpeg-issues/2010-April/010247.html.
This showed up on a sample using a odd width of 24 bit video.
https://bugzilla.gnome.org/show_bug.cgi?id=652288
Mark Nauwelaerts [Wed, 9 Nov 2011 09:32:06 +0000 (10:32 +0100)]
qtdemux: minimal sanity check on creation datetime
Olivier Crête [Wed, 2 Nov 2011 16:58:12 +0000 (12:58 -0400)]
rtph263ppay: Return the sink pad template as sink caps, not the src's
https://bugzilla.gnome.org/show_bug.cgi?id=577784
Olivier Crête [Sun, 15 Mar 2009 23:26:48 +0000 (19:26 -0400)]
rtph263ppay: Also implement size/framerate restrictions in getcaps
https://bugzilla.gnome.org/show_bug.cgi?id=577784
Olivier Crête [Thu, 5 Mar 2009 01:50:19 +0000 (20:50 -0500)]
rtph263ppay: Implement getcaps following RFC 4629, picks the right annexes
https://bugzilla.gnome.org/show_bug.cgi?id=577784
Mark Nauwelaerts [Tue, 8 Nov 2011 13:31:34 +0000 (14:31 +0100)]
qtdemux: also set segment stop at startup rather than only post seek
... so as to ensure consistent playback with or without seek, especially
in presence of some bogus edit list entries.
Raul Gutierrez Segales [Wed, 2 Nov 2011 17:02:54 +0000 (17:02 +0000)]
gst/flv/: add amfdefs.h to noinst_HEADERS
https://bugzilla.gnome.org/show_bug.cgi?id=663334
Vincent Penquerc'h [Mon, 3 Oct 2011 16:50:43 +0000 (17:50 +0100)]
flvdemux: detect large pts gaps and resync
Should work on multiple gaps, but tested on only one.
https://bugzilla.gnome.org/show_bug.cgi?id=631430
Vincent Penquerc'h [Mon, 22 Aug 2011 09:40:45 +0000 (10:40 +0100)]
flacdec: fix off by one between granpos and last_stop