platform/upstream/gst-plugins-good.git
13 years agov4l2: remove unnecessary linux/videodev.h include
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

13 years agocairooverlay: The example always requires gtk-x11
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.

13 years agocairooverlay: Some minor cleanup
Sebastian Dröge [Wed, 2 Mar 2011 22:14:36 +0000 (23:14 +0100)]
cairooverlay: Some minor cleanup

13 years agodocs: Update inspected plugin data
Sebastian Dröge [Wed, 2 Mar 2011 22:09:21 +0000 (23:09 +0100)]
docs: Update inspected plugin data

13 years agocairooverlay: Add generic Cairo overlay video element.
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

13 years agomonoscope: don't leak the monoscope_state data
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.

13 years agomonoscope: we have 64 colors, don't access colors[64]
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.

13 years agoqtdemux: arrange for non-fatal error when parsing non-vital parts
Mark Nauwelaerts [Wed, 2 Mar 2011 09:25:29 +0000 (10:25 +0100)]
qtdemux: arrange for non-fatal error when parsing non-vital parts

13 years agomonoscope: stack needs to be size+1 as we put a end-marker into it
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.

13 years agoexample: fix the variable name for the ip-address
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.

13 years agoconfigure.ac: cygwin/mingw; enable plugin linking to static lib
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.

13 years agoconfigure.ac: export plugin description more platform independent
Mark Nauwelaerts [Mon, 28 Feb 2011 18:13:41 +0000 (19:13 +0100)]
configure.ac: export plugin description more platform independent

Fixes #642504.

13 years agoAutomatic update of common submodule
Mark Nauwelaerts [Mon, 28 Feb 2011 17:32:54 +0000 (18:32 +0100)]
Automatic update of common submodule

From 1de7f6a to 6aec6b9

13 years agopulsesink: release pa_shared_resource_mutex before pa_threaded_mainloop_wait
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

13 years agopulsesink: s/ressource/resource/
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

13 years agoqtdemux: remove accidental debug message
David Schleef [Sat, 26 Feb 2011 04:12:35 +0000 (20:12 -0800)]
qtdemux: remove accidental debug message

in previous commit

13 years agoqtdemux: Add support for 2Vuy and r210
David Schleef [Sat, 26 Feb 2011 03:35:51 +0000 (19:35 -0800)]
qtdemux: Add support for 2Vuy and r210

13 years agodeinterlace: Add support for NV21 colorspace
Sebastian Dröge [Thu, 24 Feb 2011 13:08:25 +0000 (14:08 +0100)]
deinterlace: Add support for NV21 colorspace

13 years agodeinterlace: Add support for NV12 colorspace
Carsten Kroll [Thu, 24 Feb 2011 13:00:37 +0000 (14:00 +0100)]
deinterlace: Add support for NV12 colorspace

Fixes bug #642961.

13 years agodvdemux: First try if upstream handles TIME seeks before handling them here
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.

13 years agodeinterlace: Simplify setcaps
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.

13 years agodeinterlace: Port greedyl to GstDeinterlaceSimpleMethod
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.

13 years agoRevert "id3demux: ensure a taglist before adding the container tag"
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.

13 years agoid3demux: return ID3TAGS_BROKEN_TAG for unsupported versions
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.

13 years agoqtdemux: Fix unitialized variable.
Edward Hervey [Tue, 22 Feb 2011 13:15:27 +0000 (14:15 +0100)]
qtdemux: Fix unitialized variable.

13 years agoavidemux: ensure sane parameters when parsing superindex
Mark Nauwelaerts [Tue, 22 Feb 2011 13:01:27 +0000 (14:01 +0100)]
avidemux: ensure sane parameters when parsing superindex

13 years agoavidemux: check for NULL audio stream format header when parsing stream
Mark Nauwelaerts [Tue, 22 Feb 2011 13:00:11 +0000 (14:00 +0100)]
avidemux: check for NULL audio stream format header when parsing stream

13 years agortp-examples: move capsfilter behind converters
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.

13 years agortp-examples: fix ascii-art
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.

13 years agortpbin: handle NULL demux elements
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

13 years agodeinterlace: small clean-ups
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

13 years agodeinterlace: fix assigned method_id when using fallback
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

13 years agortpbin: fix setting the SDES property
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.

13 years agoRevert "Check that collectpads exists before removing pad"
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

13 years agoicydemux: fix tag list handling issues that might have caused crashes
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

13 years agoCheck that collectpads exists before removing pad
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.

13 years agopngdec: Handle 16-bit-per-channel images
David Schleef [Sat, 19 Feb 2011 23:48:22 +0000 (15:48 -0800)]
pngdec: Handle 16-bit-per-channel images

13 years agoavidemux: stream->current_total is accumulated byte size and not time
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.

13 years agoudpsink: warn when packet is too large
David Schleef [Wed, 16 Feb 2011 03:33:45 +0000 (19:33 -0800)]
udpsink: warn when packet is too large

13 years agomatroskaparse: New element
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.

13 years agomatroskademux: Earlier debug category initialization
David Schleef [Fri, 18 Feb 2011 01:57:55 +0000 (17:57 -0800)]
matroskademux: Earlier debug category initialization

13 years agoflvmux: don't set duration for live stream
David Schleef [Sat, 22 Jan 2011 08:13:16 +0000 (00:13 -0800)]
flvmux: don't set duration for live stream

13 years agodebugutils: remove bitrotten negotiation element
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.

13 years agortpvrawpay: Implement interlacing
David Schleef [Fri, 17 Sep 2010 19:10:38 +0000 (12:10 -0700)]
rtpvrawpay: Implement interlacing

13 years agoavidemux: also add the frame-type for the stream index
Stefan Kost [Thu, 17 Feb 2011 15:57:42 +0000 (17:57 +0200)]
avidemux: also add the frame-type for the stream index

13 years agoavidemux: get the index writer id when the pad has a parent
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.

13 years agoavidemux, flvdemux: formatting cleanup
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.

13 years agoavidemux, flvdemux: mark delta-units in the index
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.

13 years ago.gitignore: ignore moved equalizer test binary
Tim-Philipp Müller [Thu, 17 Feb 2011 11:58:42 +0000 (11:58 +0000)]
.gitignore: ignore moved equalizer test binary

13 years agoqtdemux: mark delta-unit in the index
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.

13 years agoqtdemux: formatting cleanup
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.

13 years agomatroskamux: rework _request_new_pad to handle explict req-pad-names
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.

13 years agoavimux: rework _request_new_pad to handle explict req-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.

13 years agoicles: Add equalizer-test to the build system
Sebastian Dröge [Wed, 16 Feb 2011 14:28:53 +0000 (15:28 +0100)]
icles: Add equalizer-test to the build system

13 years ago[MOVED FROM BAD 5/5] equalizer-test: Initialize debug category after gst_init() to...
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

13 years ago[MOVED FROM BAD 4/5] tests/icles/equalizer-test.c: Fix gain ranges for the latest...
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.

13 years ago[MOVED FROM BAD 3/5] ChangeLog: ChangeLog surgery. gst/equalizer/gstiirequalizer...
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.

13 years ago[MOVED FROM BAD 2/5] tests/icles/equalizer-test.c: Port the example to new equalizer...
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.

13 years ago[MOVED FROM BAD 1/5] Fix up to use the newly ported (actually working) GstAudioFilter.
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.

13 years agov4l2: Add PJPG mapping
Thiago Santos [Tue, 15 Feb 2011 18:59:32 +0000 (15:59 -0300)]
v4l2: Add PJPG mapping

Adds mapping of progressive jpeg format

13 years agoplug qtdemux refcount leaks
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.

13 years agosouphttpsrc: Add URI query handler
Andoni Morales Alastruey [Mon, 14 Feb 2011 19:20:08 +0000 (20:20 +0100)]
souphttpsrc: Add URI query handler

Fixes bug #642337.

13 years agomatroskademux: avoid sorting NULL array of cluster positions
Mark Nauwelaerts [Mon, 14 Feb 2011 16:49:54 +0000 (17:49 +0100)]
matroskademux: avoid sorting NULL array of cluster positions

13 years agotheorapay: handle 0 sized packets
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

13 years agotaginject: resend tags when they are changed
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

13 years agoAutomatic update of common submodule
Stefan Kost [Mon, 14 Feb 2011 10:53:27 +0000 (12:53 +0200)]
Automatic update of common submodule

From f94d739 to 1de7f6a

13 years agortspsrc: fix minor leaks when handling server requests.
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

13 years agoqtdemux: extract MusicBrainz tags
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

13 years agoqtdemux: refactor iTunes tag parsing a bit
Tim-Philipp Müller [Mon, 14 Feb 2011 00:38:45 +0000 (00:38 +0000)]
qtdemux: refactor iTunes tag parsing a bit

13 years agodoap: update mailing list location
Tim-Philipp Müller [Thu, 10 Feb 2011 23:52:51 +0000 (23:52 +0000)]
doap: update mailing list location

13 years agoqtdemux: propagate error during expose_streams
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.

13 years agoqtdemux: avoid skipping exposing a stream following a removed stream
Mark Nauwelaerts [Thu, 10 Feb 2011 17:00:11 +0000 (18:00 +0100)]
qtdemux: avoid skipping exposing a stream following a removed stream

13 years agomatroskademux: store cluster positions provided by SeekHead
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.

13 years agomatroskademux: properly resume cluster 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.

13 years agoid3demux: ensure a taglist before adding the container tag
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.

13 years agortspsrc: strip trailing spaces
Stefan Kost [Mon, 7 Feb 2011 15:08:47 +0000 (17:08 +0200)]
rtspsrc: strip trailing spaces

13 years agortpsrc: set multiple properties in one go
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.

13 years agodeinterlace: Handle image caps without asserting
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

13 years agodocs: fix parameter name in udpsrc docs
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.

13 years agov4l2: fix interlaced set_format configuration
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).

13 years agosource: fix type of ntpnstime
Wim Taymans [Wed, 2 Feb 2011 17:27:52 +0000 (18:27 +0100)]
source: fix type of ntpnstime

13 years agortpbin: Get and use the NTP time when receiving RTCP
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.

13 years agodirectsound: arrange for definition of _swab on Cygwin
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'

13 years agortptheoradepay: Request new keyframe on lost packets
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.

13 years agortpsession: Add action signal to request early RTCP
Olivier Crête [Fri, 27 Aug 2010 18:11:53 +0000 (14:11 -0400)]
rtpsession: Add action signal to request early RTCP

13 years agortpsession: Add callback to get the current time
Olivier Crête [Fri, 27 Aug 2010 20:11:06 +0000 (16:11 -0400)]
rtpsession: Add callback to get the current time

13 years agortpsession: Don't relay more than one PLI request per RTT
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.

13 years agortpsession: Send GstForceKeyUnit event in response to received RTCP PLI
Olivier Crête [Wed, 23 Jun 2010 20:43:24 +0000 (16:43 -0400)]
rtpsession: Send GstForceKeyUnit event in response to received RTCP PLI

13 years agogstrtpsession: Fallback for FIR to PLI if PLI isn't available
Sjoerd Simons [Wed, 24 Nov 2010 20:27:46 +0000 (15:27 -0500)]
gstrtpsession: Fallback for FIR to PLI if PLI isn't available

13 years agortpsession: Implement sending PLI packets in response to GstForceKeyUnit
Olivier Crête [Tue, 22 Jun 2010 23:56:50 +0000 (19:56 -0400)]
rtpsession: Implement sending PLI packets in response to GstForceKeyUnit

13 years agortpsource: Retain RTCP Feedback packets for a specified amount of time
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

13 years agortpsession: Make rtcp buffer metadata writable after processing it
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.

13 years agortpsession: Emit signal on incoming RTCP FB packet
Olivier Crête [Thu, 17 Jun 2010 21:34:19 +0000 (17:34 -0400)]
rtpsession: Emit signal on incoming RTCP FB packet

13 years agortpsession: fix compilation
Wim Taymans [Tue, 1 Feb 2011 17:17:13 +0000 (18:17 +0100)]
rtpsession: fix compilation

13 years agortpsession: Add method to request early RTCP packet
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.

13 years agortpsession: Add property for minimum interval between Regular RTCP messages
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

13 years agortpsession: Emit signal when sending a compound RTCP packet
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.

13 years agortpptdemux: Tag upstream custom events with payload type
Olivier Crête [Sat, 19 Jun 2010 23:11:06 +0000 (19:11 -0400)]
rtpptdemux: Tag upstream custom events with payload type

13 years agortpssrcdemux: Tag upstream custom events with SSRC
Olivier Crete [Fri, 18 Jun 2010 23:12:40 +0000 (19:12 -0400)]
rtpssrcdemux: Tag upstream custom events with SSRC

13 years agortpsession: Emit "on-ssrc-validated" when validating by RTCP
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.