Sebastian Dröge [Wed, 16 Mar 2011 08:35:50 +0000 (09:35 +0100)]
matroskademux: Use ARTIST Matroska tag instead of AUTHOR for GST_TAG_ARTIST
AUTHOR only existed in an old version of the spec and ARTIST is
the new replacement for this. We are still reading both to still
be compatible with old files.
Fixes bug #644875.
Tim-Philipp Müller [Tue, 15 Mar 2011 20:19:48 +0000 (20:19 +0000)]
tests: enable more formats in videofilter unit test, check more resolutions
Youness Alaoui [Mon, 14 Mar 2011 23:14:07 +0000 (19:14 -0400)]
videoflip: Fix buffer overflow bug for odd resolutions and Y422 colorspaces
https://bugzilla.gnome.org/show_bug.cgi?id=644773
Vincent Penquerc'h [Tue, 15 Mar 2011 17:36:01 +0000 (19:36 +0200)]
speexdec: silence warning message when appropriate
If we did not know how many frames to expect, then we get an unexpected
end of stream when trying to decode more frames that are there, if there
are leftover bits to pad to the next byte
Youness Alaoui [Mon, 14 Mar 2011 23:14:07 +0000 (19:14 -0400)]
videoflip: Add support for YUY2, UVYV and YVYU colorspaces
https://bugzilla.gnome.org/show_bug.cgi?id=644773
Tim-Philipp Müller [Tue, 15 Mar 2011 09:43:35 +0000 (09:43 +0000)]
tests: in videofilter unit test also check with 'odd' widths and heights
And only use one test suite.
Sebastian Dröge [Mon, 14 Mar 2011 18:28:07 +0000 (19:28 +0100)]
speexdec: Always process the number of frames per packet as specified in the header
Looking at the remaining bits in the bitstream after decoding a
single frame can't be used as loop condition. The remaining
bits might not give a complete frame and the speex decoder will
then output nothing but access uninitialized memory, which leads
to valgrind warnings.
Fixes bug #644669.
Andoni Morales Alastruey [Mon, 14 Mar 2011 14:46:50 +0000 (15:46 +0100)]
matroskamux: return TRUE from sink pad event function for tag events, which are handled
https://bugzilla.gnome.org/show_bug.cgi?id=644730
Philip Jägenstedt [Fri, 11 Mar 2011 19:14:31 +0000 (00:44 +0530)]
pulsesink: Better fix for deadlock on failed connect
This reverts the previous fix that would cause a double-unlock when the
stream connect failed.
https://bugzilla.gnome.org/show_bug.cgi?id=644510
Arun Raghavan [Fri, 11 Mar 2011 17:36:31 +0000 (23:06 +0530)]
pulsesink: Fix deadlock if connecting to PA fails
Commit
dd4ec22e introduced a deadlock in the failure path while trying
to connect to PulseAudio. This makes sure we drop the lock on the
resource mutex to avoid this.
https://bugzilla.gnome.org/show_bug.cgi?id=644510
Stefan Kost [Fri, 11 Mar 2011 14:59:10 +0000 (16:59 +0200)]
tests: order state-test blacklist and add jack elements
Jack audio src/sink elements recently got moved from bad and should be excluded
from the test (like the other device specific source and sinks).
Fixes #644288
Sebastian Dröge [Fri, 11 Mar 2011 12:47:26 +0000 (13:47 +0100)]
dvdemux: Chain up to the parent class' ::send_event for non-seek events
Sebastian Dröge [Fri, 11 Mar 2011 12:46:05 +0000 (13:46 +0100)]
dvdemux: Fix refcount issues with the seek event
Fixes bug #642963.
Tim-Philipp Müller [Fri, 11 Mar 2011 09:54:02 +0000 (09:54 +0000)]
docs: fix pulsesink gtk-doc markup
Philippe Normand [Fri, 11 Mar 2011 09:29:08 +0000 (10:29 +0100)]
jack: fix build against jack 0.120.2
jack_port_get_total_latency() has been deprecated in favor of
jack_port_get_latency_range().
https://bugzilla.gnome.org/show_bug.cgi?id=644477
Stefan Kost [Thu, 10 Mar 2011 12:29:25 +0000 (14:29 +0200)]
spectrum: more comments and tune and logging
Stefan Kost [Thu, 10 Mar 2011 12:15:42 +0000 (14:15 +0200)]
spectrum: avoid unneccesary extra fft runs
Before it was possible that we run an extra fft when the time for sending a new
message is due. Only do this if we have not run the fft for the interval at all.
Stefan Kost [Thu, 10 Mar 2011 12:12:01 +0000 (14:12 +0200)]
spectrum: only scale the vectors that we are processing
Phase is not produced by default, so lets not scale it unconditionally to save a
few cycles.
Stefan Kost [Thu, 10 Mar 2011 12:10:25 +0000 (14:10 +0200)]
spectrum: put number of channels to instance variable
When freeing data the format might have changed. Thus we need to remember for
which format we allocated memory.
Stefan Kost [Thu, 10 Mar 2011 08:27:14 +0000 (10:27 +0200)]
spectrum: update doc review stamp
Stefan Kost [Thu, 10 Mar 2011 08:22:29 +0000 (10:22 +0200)]
spectrum: use function pointers for data readers
Don't check the format for each sample frame to read. We can make that decission
in _setup already. This is still not ideal as we call the function per frame.
Ideally we determine how many samples we can copy and have a loop in the input
reader. As an alternative we might also consider to use the fft variants for the
various formats and not convert to float for all cases - we would still need to
mix or deinterleave though.
Mark Nauwelaerts [Wed, 9 Mar 2011 16:07:47 +0000 (17:07 +0100)]
rtspsrc: improve recovery from failed seek
In case server-side fails to perform seek, i.e. PLAY at non-zero requested
position, recovery so far would arrange for streaming to continue, albeit
having lost position tracking in the process. So, query position prior
to seek and use upon failed seek.
Mark Nauwelaerts [Wed, 9 Mar 2011 15:51:00 +0000 (16:51 +0100)]
jitterbuffer: handle position query
Stefan Kost [Wed, 9 Mar 2011 14:57:28 +0000 (16:57 +0200)]
spectrum: multi-channel support
Add a boolean multi-channel property with a default of FALSE. When set to TRUE
the element won't mix all input channels to mono, but instead run a FFT on each
channel. In that case the result message would contain a 2 dimensional array
of channel x data for magnitude and phase.
API: GstSpectrum:multi-channel
https://bugzilla.gnome.org/show_bug.cgi?id=593482
Stefan Kost [Wed, 9 Mar 2011 14:55:56 +0000 (16:55 +0200)]
spectrum: more xrefs in the docs
Stefan Kost [Wed, 9 Mar 2011 10:41:15 +0000 (12:41 +0200)]
spectrum: factor out the code that accumulated samples into the ring-buffer
Use a separate function to read a sample frame into a ringbuffer slot. In the
future we can use format-specific function pointer to avoid the reoccuring
format checks.
Stefan Kost [Wed, 9 Mar 2011 10:38:52 +0000 (12:38 +0200)]
spectrum: pull format to temp var to improve readability of lines using it
Stefan Kost [Wed, 9 Mar 2011 10:20:11 +0000 (12:20 +0200)]
spectrum: code cleanup for copying data to ring-buffer
Rename fp to is_float and restructure if-else part for handling the different formats.
Stefan Kost [Wed, 9 Mar 2011 09:40:48 +0000 (11:40 +0200)]
spectrum: add a GstSpecrtumChannel context structure
We now keep the fft data that is related to one channel in a separate structure
to prepare for multichannel support. We also refactor the code to operate more
often on the channel context.
Stefan Kost [Wed, 9 Mar 2011 09:18:19 +0000 (11:18 +0200)]
spectrum: call the instance var spectrum instead of filter
Stefan Kost [Wed, 9 Mar 2011 09:14:37 +0000 (11:14 +0200)]
spectrum: don't value we already took from the gvalue
Tim-Philipp Müller [Tue, 8 Mar 2011 16:28:27 +0000 (16:28 +0000)]
Merge ad-hoc release branch '0.10.28'
Tim-Philipp Müller [Tue, 8 Mar 2011 15:47:52 +0000 (15:47 +0000)]
Release 0.10.28
Ad-hoc release to fix build issue with newer kernels.
Tim-Philipp Müller [Thu, 3 Mar 2011 00:16:47 +0000 (00:16 +0000)]
v4l2: remove unnecessary linux/videodev.h include
Causes compilation issues with newer kernel headers where the old
v4l interface has been removed.
https://bugzilla.gnome.org/show_bug.cgi?id=643716
Mark Nauwelaerts [Mon, 7 Mar 2011 15:56:43 +0000 (16:56 +0100)]
jitterbuffer: also estimate eos if very near eos
Mark Nauwelaerts [Mon, 7 Mar 2011 15:56:18 +0000 (16:56 +0100)]
jitterbuffer: avoid trying to buffer more than is available.
That is, in case of short (or near eos of) stream, deadlock (until timeout)
would occur trying to buffer more than is yet forthcoming.
Mark Nauwelaerts [Mon, 7 Mar 2011 10:01:06 +0000 (11:01 +0100)]
jitterbuffer: reset element base_time upon flush
... to arrange for properly scheduled timeout (following seek).
Sebastian Dröge [Mon, 7 Mar 2011 09:54:22 +0000 (10:54 +0100)]
cairooverlay: Add a bus handler to the example to handle EOS/ERROR/WARNING
Also clean up the pipeline properly.
Sebastian Dröge [Mon, 7 Mar 2011 09:47:23 +0000 (10:47 +0100)]
examples: Always dist the cairo example
Sebastian Dröge [Mon, 7 Mar 2011 09:46:12 +0000 (10:46 +0100)]
cairooverlay: Use LDADD instead of LDFLAGS for libs and add $(GST_LIBS)
Jon Nordby [Sat, 5 Mar 2011 23:22:58 +0000 (23:22 +0000)]
cairooverlay: Remove unnecessary gtk/gtk-x11 use in example.
This removes code, and allows the example to be used on any platform.
Fixes bug #643981.
David Schleef [Sat, 5 Mar 2011 02:37:38 +0000 (18:37 -0800)]
v4l2: Use #ifdefs for V4L2_PIX_FMT_PJPG
It's only recently added to kernel headers.
Mark Nauwelaerts [Wed, 23 Feb 2011 15:50:43 +0000 (16:50 +0100)]
wavparse: tune output max buffer size to material
... to avoid ending up with tons of short time buffers for e.g. high sample
rate audio.
Stefan Kost [Fri, 4 Mar 2011 13:50:01 +0000 (15:50 +0200)]
pulsesink: add a doc example for setting stream-properties
Stefan Kost [Fri, 4 Mar 2011 13:42:19 +0000 (15:42 +0200)]
pulsesink: fix the xml in the docs
Tim-Philipp Müller [Thu, 3 Mar 2011 00:16:47 +0000 (00:16 +0000)]
v4l2: remove unnecessary linux/videodev.h include
Causes compilation issues with newer kernel headers where the old
v4l interface has been removed.
https://bugzilla.gnome.org/show_bug.cgi?id=643716
Sebastian Dröge [Wed, 2 Mar 2011 22:21:15 +0000 (23:21 +0100)]
cairooverlay: The example always requires gtk-x11
Check for gtk-x11 and only build the example if it's available.
Sebastian Dröge [Wed, 2 Mar 2011 22:14:36 +0000 (23:14 +0100)]
cairooverlay: Some minor cleanup
Sebastian Dröge [Wed, 2 Mar 2011 22:09:21 +0000 (23:09 +0100)]
docs: Update inspected plugin data
Jon Nordby [Fri, 28 Jan 2011 00:14:04 +0000 (02:14 +0200)]
cairooverlay: Add generic Cairo overlay video element.
Allows applications to connect to the "draw" signal of
the element and do their custom drawing there.
Includes an example application demonstrating usage.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=595520
Stefan Kost [Wed, 2 Mar 2011 11:00:31 +0000 (13:00 +0200)]
monoscope: don't leak the monoscope_state data
The monoscope_close() implementation was empty.
Stefan Kost [Wed, 2 Mar 2011 10:59:35 +0000 (12:59 +0200)]
monoscope: we have 64 colors, don't access colors[64]
Fixes remaining invalid read.
Mark Nauwelaerts [Wed, 2 Mar 2011 09:25:29 +0000 (10:25 +0100)]
qtdemux: arrange for non-fatal error when parsing non-vital parts
Stefan Kost [Wed, 2 Mar 2011 08:56:33 +0000 (10:56 +0200)]
monoscope: stack needs to be size+1 as we put a end-marker into it
Valgrind is still complaining about one bad read, but this takes care of the
crash mentioned in the comment and in bug #564122.
Stefan Kost [Tue, 1 Mar 2011 20:40:19 +0000 (22:40 +0200)]
example: fix the variable name for the ip-address
Fix the name in the launch pipeline and use a value of "localhost" by default.
Mark Nauwelaerts [Mon, 28 Feb 2011 18:16:00 +0000 (19:16 +0100)]
configure.ac: cygwin/mingw; enable plugin linking to static lib
Useful for DirectX plugin(s).
Fixes #642507.
Mark Nauwelaerts [Mon, 28 Feb 2011 18:13:41 +0000 (19:13 +0100)]
configure.ac: export plugin description more platform independent
Fixes #642504.
Mark Nauwelaerts [Mon, 28 Feb 2011 17:32:54 +0000 (18:32 +0100)]
Automatic update of common submodule
From
1de7f6a to
6aec6b9
Philip Jägenstedt [Wed, 23 Feb 2011 16:41:22 +0000 (17:41 +0100)]
pulsesink: release pa_shared_resource_mutex before pa_threaded_mainloop_wait
Not doing so can result in a deadlock when two threads enter
gst_pulseringbuffer_open_device at the same time, as
pa_threaded_mainloop_wait releases the mainloop lock while waiting,
allowing another thread to take it, resulting in a deadlock as two
threads waits for the lock the other is holding.
https://bugzilla.gnome.org/show_bug.cgi?id=643087
Philip Jägenstedt [Wed, 23 Feb 2011 16:18:19 +0000 (17:18 +0100)]
pulsesink: s/ressource/resource/
https://bugzilla.gnome.org/show_bug.cgi?id=643087
David Schleef [Sat, 26 Feb 2011 04:12:35 +0000 (20:12 -0800)]
qtdemux: remove accidental debug message
in previous commit
David Schleef [Sat, 26 Feb 2011 03:35:51 +0000 (19:35 -0800)]
qtdemux: Add support for 2Vuy and r210
Sebastian Dröge [Thu, 24 Feb 2011 13:08:25 +0000 (14:08 +0100)]
deinterlace: Add support for NV21 colorspace
Carsten Kroll [Thu, 24 Feb 2011 13:00:37 +0000 (14:00 +0100)]
deinterlace: Add support for NV12 colorspace
Fixes bug #642961.
Carsten Kroll [Thu, 24 Feb 2011 12:56:04 +0000 (13:56 +0100)]
dvdemux: First try if upstream handles TIME seeks before handling them here
Fixes bug #642963.
Robert Swain [Mon, 8 Nov 2010 13:25:59 +0000 (14:25 +0100)]
deinterlace: Simplify setcaps
The current code never uses upstream negotiation so the code can be
significantly simplified.
Robert Swain [Mon, 24 Jan 2011 11:48:18 +0000 (12:48 +0100)]
deinterlace: Port greedyl to GstDeinterlaceSimpleMethod
The main goal of this change is to reuse the complex but now neatly
written scanline pointer calculation code from the simple methods.
Stefan Kost [Tue, 22 Feb 2011 13:20:11 +0000 (15:20 +0200)]
Revert "id3demux: ensure a taglist before adding the container tag"
This reverts commit
a86bab66893bb1a3323a756410573c117b8219ef. The issue is
fixed with commit
ff5e5a8f0daa1fdf89792d0726ea063bbd99db18 instead.
Stefan Kost [Tue, 22 Feb 2011 13:19:00 +0000 (15:19 +0200)]
id3demux: return ID3TAGS_BROKEN_TAG for unsupported versions
This prevents us for trying to work with a NULL taglist.
Edward Hervey [Tue, 22 Feb 2011 13:15:27 +0000 (14:15 +0100)]
qtdemux: Fix unitialized variable.
Mark Nauwelaerts [Tue, 22 Feb 2011 13:01:27 +0000 (14:01 +0100)]
avidemux: ensure sane parameters when parsing superindex
Mark Nauwelaerts [Tue, 22 Feb 2011 13:00:11 +0000 (14:00 +0100)]
avidemux: check for NULL audio stream format header when parsing stream
Stefan Kost [Tue, 22 Feb 2011 12:52:18 +0000 (14:52 +0200)]
rtp-examples: move capsfilter behind converters
We need to have the capsfilter behin the converters to make the converters
convert from the formats v4l2src can do to what we request with the
capsfilter.
Stefan Kost [Tue, 22 Feb 2011 12:50:59 +0000 (14:50 +0200)]
rtp-examples: fix ascii-art
Some boxes where misaligned due to long "audiotetssrc" name. Trim trailing
whitespace.
Blaise Gassend [Tue, 22 Feb 2011 12:29:26 +0000 (13:29 +0100)]
rtpbin: handle NULL demux elements
When using gstrtpbin with ignore-pt=true, the free_stream function tries to
call gst_element_set_locked_state and gst_element_set_state on a stream->demux
which is NULL.
fixes #642412
Robert Swain [Mon, 24 Jan 2011 11:18:39 +0000 (12:18 +0100)]
deinterlace: small clean-ups
Improve debug output by printing the buffer pointer when
popping a buffer and simplify code to use scanlines.bottom_field
as appropriate.
https://bugzilla.gnome.org/show_bug.cgi?id=642691
Robert Swain [Mon, 24 Jan 2011 11:18:39 +0000 (12:18 +0100)]
deinterlace: fix assigned method_id when using fallback
https://bugzilla.gnome.org/show_bug.cgi?id=642691
Wim Taymans [Mon, 21 Feb 2011 16:17:32 +0000 (17:17 +0100)]
rtpbin: fix setting the SDES property
Only the sdes veriable is protected with the object lock.
Use the right object when setting the sdes property.
Edward Hervey [Mon, 21 Feb 2011 11:09:07 +0000 (12:09 +0100)]
Revert "Check that collectpads exists before removing pad"
This reverts commit
8e6b876e76c94410db160afe5eb30f21452e419f.
Depends on a core commit that was reverted
Tim-Philipp Müller [Mon, 21 Feb 2011 00:55:49 +0000 (00:55 +0000)]
icydemux: fix tag list handling issues that might have caused crashes
Fix slightly confused tag handling in some places: make it clear when
we're taking ownership of a tag list and when not. For example,
gst_icydemux_tag_found() was taking ownership when the source pad
existed, but otherwise not (leak). Also, gst_event_parse_tag() does
not return a newly-allocated taglist, but a tag list that belongs to
the tag event, so don't give ownership of it away.
While we're at it, some minor clean-ups: don't re-invent g_strndup()
and simplify gst_icydemux_parse_and_send_tags() a bit, and don't
leak the tag list in case no valid tags where found.
https://bugzilla.gnome.org/show_bug.cgi?id=641330
David Schleef [Mon, 21 Feb 2011 07:39:41 +0000 (23:39 -0800)]
Check that collectpads exists before removing pad
The core now calls release pad from finalize, at which point
the collectpads might have already been freed.
David Schleef [Sat, 19 Feb 2011 23:48:22 +0000 (15:48 -0800)]
pngdec: Handle 16-bit-per-channel images
Stefan Kost [Fri, 18 Feb 2011 08:12:47 +0000 (10:12 +0200)]
avidemux: stream->current_total is accumulated byte size and not time
Use timestamp for the stream index as well.
David Schleef [Wed, 16 Feb 2011 03:33:45 +0000 (19:33 -0800)]
udpsink: warn when packet is too large
David Schleef [Fri, 18 Feb 2011 01:59:25 +0000 (17:59 -0800)]
matroskaparse: New element
Copied from demux. Duplicates much code, also some dead code
remaining.
David Schleef [Fri, 18 Feb 2011 01:57:55 +0000 (17:57 -0800)]
matroskademux: Earlier debug category initialization
David Schleef [Sat, 22 Jan 2011 08:13:16 +0000 (00:13 -0800)]
flvmux: don't set duration for live stream
David Schleef [Thu, 6 Jan 2011 23:44:24 +0000 (15:44 -0800)]
debugutils: remove bitrotten negotiation element
Wasn't enabled, didn't work, and planned features have been
superceded by capsfilter and capsdebug.
David Schleef [Fri, 17 Sep 2010 19:10:38 +0000 (12:10 -0700)]
rtpvrawpay: Implement interlacing
Stefan Kost [Thu, 17 Feb 2011 15:57:42 +0000 (17:57 +0200)]
avidemux: also add the frame-type for the stream index
Stefan Kost [Thu, 17 Feb 2011 15:56:29 +0000 (17:56 +0200)]
avidemux: get the index writer id when the pad has a parent
Otherwise the index writer has a weired name, as the pad has no parent yet.
Stefan Kost [Thu, 17 Feb 2011 12:00:48 +0000 (14:00 +0200)]
avidemux, flvdemux: formatting cleanup
Trim trailing whitespaces and fix the formatting of double negation.
Stefan Kost [Thu, 17 Feb 2011 11:57:37 +0000 (13:57 +0200)]
avidemux, flvdemux: mark delta-units in the index
We need to use the 'delta' flag for delta units and not the 'none' flag.
Tim-Philipp Müller [Thu, 17 Feb 2011 11:58:42 +0000 (11:58 +0000)]
.gitignore: ignore moved equalizer test binary
Stefan Kost [Thu, 17 Feb 2011 10:46:14 +0000 (12:46 +0200)]
qtdemux: mark delta-unit in the index
We need to use the delta flag fro delta units and not none. Print more details
to the debug log.
Stefan Kost [Thu, 17 Feb 2011 10:44:01 +0000 (12:44 +0200)]
qtdemux: formatting cleanup
Trim trailing whitespaces and fix the formatting of double negation.
Stefan Kost [Wed, 16 Feb 2011 15:09:20 +0000 (17:09 +0200)]
matroskamux: rework _request_new_pad to handle explict req-pad-names
Don't ignore explicit pad-names.
Stefan Kost [Wed, 16 Feb 2011 15:06:51 +0000 (17:06 +0200)]
avimux: rework _request_new_pad to handle explict req-pad-names
Don't ignore explicit pad-names. Rearrange the code and the error handling a
bit. Add a FIXME-0.11 for the bad pad-names.
Sebastian Dröge [Wed, 16 Feb 2011 14:28:53 +0000 (15:28 +0100)]
icles: Add equalizer-test to the build system
Sebastian Dröge [Wed, 16 Feb 2011 14:23:50 +0000 (15:23 +0100)]
[MOVED FROM BAD 5/5] equalizer-test: Initialize debug category after gst_init() to fix segfault