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
Sebastian Dröge [Wed, 7 Nov 2007 15:36:59 +0000 (15:36 +0000)]
[MOVED FROM BAD 4/5] tests/icles/equalizer-test.c: Fix gain ranges for the latest equalizer changes.
Original commit message from CVS:
* tests/icles/equalizer-test.c: (do_slider_fiddling):
Fix gain ranges for the latest equalizer changes.
Stefan Kost [Mon, 21 May 2007 14:01:16 +0000 (14:01 +0000)]
[MOVED FROM BAD 3/5] ChangeLog: ChangeLog surgery. gst/equalizer/gstiirequalizer.c (ARG_BAND_WIDTH, _do_init, ARG_GAIN, _GstIirEqualizerBa...
Original commit message from CVS:
* ChangeLog:
ChangeLog surgery.
* gst/equalizer/gstiirequalizer.c (ARG_BAND_WIDTH, _do_init, ARG_GAIN,
_GstIirEqualizerBand, object, _GstIirEqualizerBandClass,
parent_class, gst_iir_equalizer_band_set_property,
gst_iir_equalizer_band_class_init, gst_iir_equalizer_band_get_type,
gst_iir_equalizer_child_proxy_get_child_by_index,
gst_iir_equalizer_child_proxy_get_children_count,
gst_iir_equalizer_child_proxy_interface_init, setup_filter,
gst_iir_equalizer_compute_frequencies, plugin_init):
* tests/icles/equalizer-test.c:
Add fixme and comment for example.
Stefan Kost [Wed, 14 Mar 2007 16:33:03 +0000 (16:33 +0000)]
[MOVED FROM BAD 2/5] tests/icles/equalizer-test.c: Port the example to new equalizer api.
Original commit message from CVS:
* tests/icles/equalizer-test.c: (equalizer_set_band_value),
(equalizer_set_all_band_values),
(equalizer_set_band_value_and_wait),
(equalizer_set_all_band_values_and_wait), (do_slider_fiddling),
(main):
Port the example to new equalizer api.
Tim-Philipp Müller [Sat, 3 Feb 2007 23:35:26 +0000 (23:35 +0000)]
[MOVED FROM BAD 1/5] Fix up to use the newly ported (actually working) GstAudioFilter.
Original commit message from CVS:
* configure.ac:
* gst/equalizer/Makefile.am:
* gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_base_init),
(gst_iir_equalizer_class_init), (gst_iir_equalizer_init),
(setup_filter), (gst_iir_equalizer_compute_frequencies),
(gst_iir_equalizer_set_property), (gst_iir_equalizer_get_property),
(gst_iir_equalizer_transform_ip), (gst_iir_equalizer_setup),
(plugin_init):
* gst/equalizer/gstiirequalizer.h:
Fix up to use the newly ported (actually working) GstAudioFilter.
Bump core/base requirements to CVS for this.
* tests/icles/.cvsignore:
* tests/icles/Makefile.am:
* tests/icles/equalizer-test.c: (check_bus),
(equalizer_set_band_value), (equalizer_set_all_band_values),
(equalizer_set_band_value_and_wait),
(equalizer_set_all_band_values_and_wait), (do_slider_fiddling),
(main):
Add brain-dead interactive test for equalizer.
Thiago Santos [Tue, 15 Feb 2011 18:59:32 +0000 (15:59 -0300)]
v4l2: Add PJPG mapping
Adds mapping of progressive jpeg format
Andy Wingo [Tue, 15 Feb 2011 15:30:20 +0000 (16:30 +0100)]
plug qtdemux refcount leaks
* gst/qtdemux/qtdemux.c (gst_qtdemux_src_convert): Unref the qtdemux; we
weren't doing so before.
(gst_qtdemux_handle_src_event, gst_qtdemux_chain): Fix some error
cases which would leak a ref to the qtdemux.
Andoni Morales Alastruey [Mon, 14 Feb 2011 19:20:08 +0000 (20:20 +0100)]
souphttpsrc: Add URI query handler
Fixes bug #642337.
Mark Nauwelaerts [Mon, 14 Feb 2011 16:49:54 +0000 (17:49 +0100)]
matroskademux: avoid sorting NULL array of cluster positions
Wim Taymans [Mon, 14 Feb 2011 15:46:46 +0000 (16:46 +0100)]
theorapay: handle 0 sized packets
Handle 0 sized packets (repeat frame) in the payloader and depayloader.
Fixes #641827
Tuukka Pasanen [Mon, 14 Feb 2011 13:21:29 +0000 (15:21 +0200)]
taginject: resend tags when they are changed
Allow setting new tags on the property while running and send them.
Fixes #640249
Stefan Kost [Mon, 14 Feb 2011 10:53:27 +0000 (12:53 +0200)]
Automatic update of common submodule
From f94d739 to 1de7f6a
Miguel Angel Cabrera Moya [Mon, 7 Feb 2011 22:32:53 +0000 (23:32 +0100)]
rtspsrc: fix minor leaks when handling server requests.
https://bugzilla.gnome.org/show_bug.cgi?id=640163
Heath Nielson [Mon, 14 Feb 2011 00:49:00 +0000 (00:49 +0000)]
qtdemux: extract MusicBrainz tags
Extract MusicBrainz tags added by MusicBrainz's Picard
tagger application. These tags (esp. the album id) are
helpful for rhythmbox et.al. to automatically downloads
cover art.
https://bugzilla.gnome.org/show_bug.cgi?id=642205
Tim-Philipp Müller [Mon, 14 Feb 2011 00:38:45 +0000 (00:38 +0000)]
qtdemux: refactor iTunes tag parsing a bit
Tim-Philipp Müller [Thu, 10 Feb 2011 23:52:51 +0000 (23:52 +0000)]
doap: update mailing list location
Mark Nauwelaerts [Thu, 10 Feb 2011 17:11:46 +0000 (18:11 +0100)]
qtdemux: propagate error during expose_streams
... as it may occur during initial parsing of fragmented file.
Mark Nauwelaerts [Thu, 10 Feb 2011 17:00:11 +0000 (18:00 +0100)]
qtdemux: avoid skipping exposing a stream following a removed stream
Mark Nauwelaerts [Thu, 10 Feb 2011 10:56:33 +0000 (11:56 +0100)]
matroskademux: store cluster positions provided by SeekHead
... and use those, if available, to locate a cluster rather than scanning.
Mark Nauwelaerts [Wed, 9 Feb 2011 15:22:47 +0000 (16:22 +0100)]
matroskademux: properly resume cluster scanning
... rather than getting offset tracking messed up, and then likely
failing a subsequent assert.
Stefan Kost [Tue, 8 Feb 2011 08:07:43 +0000 (10:07 +0200)]
id3demux: ensure a taglist before adding the container tag
In the case of id3v1 also don't return NULL on empty tags, but also create a new
taglist and add the container tag for consistency.
Stefan Kost [Mon, 7 Feb 2011 15:08:47 +0000 (17:08 +0200)]
rtspsrc: strip trailing spaces
Stefan Kost [Mon, 7 Feb 2011 15:07:42 +0000 (17:07 +0200)]
rtpsrc: set multiple properties in one go
There is no need for separate g_object_set() calls here.
Thiago Santos [Thu, 3 Feb 2011 19:10:49 +0000 (16:10 -0300)]
deinterlace: Handle image caps without asserting
Images might have framerate=0/1 in the caps, which caused an
assertion on deinterlace. I don't know of interlaced image formats
but deinterlace might be hardcoded on some generic pipelines and
it shouldn't assert.
The fix was to set field_duration to 0 if the input has a framerate
with a 0 numerator.
This patch also adds checks for this situation on the unit tests.
https://bugzilla.gnome.org/show_bug.cgi?id=641400
Stefan Kost [Fri, 4 Feb 2011 10:33:09 +0000 (12:33 +0200)]
docs: fix parameter name in udpsrc docs
It is "buffer-size" and not "buffer". Also trim trailing whitespace.
Mark Nauwelaerts [Thu, 3 Feb 2011 22:42:59 +0000 (23:42 +0100)]
v4l2: fix interlaced set_format configuration
Commit
6c8268dbfd5c88fac28c882ef2e4598a6522e2d6 broke recording
from interlaced v4l2 source (e.g. typical tv capture card) since
V4L2_FIELD_SEQ_TB (with fields stored separately) does not map
to currently defined interlaced format (fields stored interleaved).
Besides this mismatch, hardware might quite likely not support or
appreciate this field value, since querying supported formats mapped
_INTERLACED field formats to interlaced=true caps (so the latter should
not be mapped to field value that is not known to be supported).
Wim Taymans [Wed, 2 Feb 2011 17:27:52 +0000 (18:27 +0100)]
source: fix type of ntpnstime
Wim Taymans [Wed, 2 Feb 2011 17:21:26 +0000 (18:21 +0100)]
rtpbin: Get and use the NTP time when receiving RTCP
When we receive an RTCP packet, get the current NTP time in nanseconds so that
we can correctly calculate the round-trip time.