Wim Taymans [Sun, 27 Feb 2011 18:43:13 +0000 (19:43 +0100)]
meta: fix for new API
Wim Taymans [Fri, 25 Feb 2011 15:29:38 +0000 (16:29 +0100)]
metadata: use metadata for private buffer data
Use buffer metadata to store element private data.
Wim Taymans [Thu, 24 Feb 2011 12:51:32 +0000 (13:51 +0100)]
miniobject: port to 0.11
Use buffer private data instead of subclassing.
Wim Taymans [Thu, 24 Feb 2011 12:50:48 +0000 (13:50 +0100)]
build: don't hardcode version number
Wim Taymans [Thu, 24 Feb 2011 12:03:44 +0000 (13:03 +0100)]
id3: use boxed type instead of miniobject
Wim Taymans [Thu, 24 Feb 2011 12:00:48 +0000 (13:00 +0100)]
miniobject: use buffer private field for extra data
Use the owner private field to store extra buffer data instead of using
subclassing.
Wim Taymans [Thu, 24 Feb 2011 11:23:44 +0000 (12:23 +0100)]
jpegdec: add duration when extimating QoS time
When we need to decide on the next QoS time, take into account the duration of
the buffers.
Wim Taymans [Mon, 28 Feb 2011 10:58:05 +0000 (11:58 +0100)]
Merge branch 'master' into 0.11
Conflicts:
configure.ac
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.
Mark Nauwelaerts [Tue, 1 Feb 2011 18:40:58 +0000 (19:40 +0100)]
directsound: arrange for definition of _swab on Cygwin
gstdirectsoundsink.c: In function 'gst_directsound_sink_write':
gstdirectsoundsink.c:557: error: implicit declaration of function '_swab'
gstdirectsoundsink.c:557: error: nested extern declaration of '_swab'
Olivier Crête [Thu, 7 Oct 2010 01:17:28 +0000 (21:17 -0400)]
rtptheoradepay: Request new keyframe on lost packets
Theora can only use the last frame (or the keyframe) as a reference, so in
practice. If we receive a buffer that references an unknown codebook, request
new headers. It probably means that headers were lost.
Olivier Crête [Fri, 27 Aug 2010 18:11:53 +0000 (14:11 -0400)]
rtpsession: Add action signal to request early RTCP
Olivier Crête [Fri, 27 Aug 2010 20:11:06 +0000 (16:11 -0400)]
rtpsession: Add callback to get the current time
Olivier Crête [Tue, 19 Oct 2010 20:21:54 +0000 (22:21 +0200)]
rtpsession: Don't relay more than one PLI request per RTT
Drop PLI requests if one was relay in the last RTT, the other side may
just not have received the keyframe yet.
Olivier Crête [Wed, 23 Jun 2010 20:43:24 +0000 (16:43 -0400)]
rtpsession: Send GstForceKeyUnit event in response to received RTCP PLI
Sjoerd Simons [Wed, 24 Nov 2010 20:27:46 +0000 (15:27 -0500)]
gstrtpsession: Fallback for FIR to PLI if PLI isn't available
Olivier Crête [Tue, 22 Jun 2010 23:56:50 +0000 (19:56 -0400)]
rtpsession: Implement sending PLI packets in response to GstForceKeyUnit
Olivier Crête [Tue, 22 Jun 2010 17:33:32 +0000 (13:33 -0400)]
rtpsource: Retain RTCP Feedback packets for a specified amount of time
Olivier Crête [Tue, 7 Sep 2010 10:35:16 +0000 (13:35 +0300)]
rtpsession: Make rtcp buffer metadata writable after processing it
Functions that process the rtcp buffer could decide to keep a ref
on the buffer for further processing. So make the metadata writable
only after they are done.
Olivier Crête [Thu, 17 Jun 2010 21:34:19 +0000 (17:34 -0400)]
rtpsession: Emit signal on incoming RTCP FB packet
Wim Taymans [Tue, 1 Feb 2011 17:17:13 +0000 (18:17 +0100)]
rtpsession: fix compilation
Olivier Crête [Tue, 15 Jun 2010 22:39:47 +0000 (18:39 -0400)]
rtpsession: Add method to request early RTCP packet
Implement the early mode defined in RFC 4585. In this mode, RTCP feedback
packets are sent early to notifier.
Olivier Crête [Tue, 1 Jun 2010 23:28:01 +0000 (19:28 -0400)]
rtpsession: Add property for minimum interval between Regular RTCP messages
This can be changed according to RFC 4585
Olivier Crête [Mon, 14 Jun 2010 22:40:33 +0000 (18:40 -0400)]
rtpsession: Emit signal when sending a compound RTCP packet
This allows users to add extra RTCP packets to the compound
RTCP packet.
Olivier Crête [Sat, 19 Jun 2010 23:11:06 +0000 (19:11 -0400)]
rtpptdemux: Tag upstream custom events with payload type
Olivier Crete [Fri, 18 Jun 2010 23:12:40 +0000 (19:12 -0400)]
rtpssrcdemux: Tag upstream custom events with SSRC
Olivier Crête [Fri, 1 Oct 2010 21:19:16 +0000 (17:19 -0400)]
rtpsession: Emit "on-ssrc-validated" when validating by RTCP
Emit "on-ssrc-validated" if the SSRC is validated by receiving
a RTCP SDES packet.
Wim Taymans [Tue, 1 Feb 2011 15:38:20 +0000 (16:38 +0100)]
j2kpay: skip EPH packets
Include EPH markers into the previous chunk of packets.
Olivier Crête [Mon, 31 Jan 2011 22:56:18 +0000 (17:56 -0500)]
rtppcmapay: Rename the class to have the right name
It was name pmca instead of pcma and made debug logs hard to search.
David Henningsson [Mon, 31 Jan 2011 04:58:36 +0000 (05:58 +0100)]
Pulsesink: Allow chunks up to bufsize instead of segsize
By allowing larger chunks to be sent, PulseAudio will have a
lower CPU usage. This is especially important on low-end machines,
where PulseAudio can crash if packets are coming in at a higher
rate than PulseAudio can process them.
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Tim-Philipp Müller [Mon, 31 Jan 2011 13:44:45 +0000 (13:44 +0000)]
deinterlace: simplify template caps
We can merge all the YUV variants into one single structure.
Tim-Philipp Müller [Thu, 27 Jan 2011 15:35:06 +0000 (15:35 +0000)]
win32: fix DEFAULT_AUDIOSINK, should be direct*sound*sink
https://bugzilla.gnome.org/show_bug.cgi?id=640705
Mark Nauwelaerts [Thu, 27 Jan 2011 15:02:46 +0000 (16:02 +0100)]
avidemux: initialize local variable to please mingw32 compiler
Mark Nauwelaerts [Wed, 26 Jan 2011 21:21:31 +0000 (22:21 +0100)]
udp: use socklen_t where appropriate rather than custom type
In particular, fixes Cygwin build where socklen_t is defined as int
in line with native win32 api definition.