platform/upstream/gst-plugins-good.git
14 years agoMove oss4 plugin from -bad to -good
Tim-Philipp Müller [Tue, 11 May 2010 15:08:21 +0000 (16:08 +0100)]
Move oss4 plugin from -bad to -good

Hook up build infrastructure, docs and tests.

Fixes #614305.

14 years agooss4sink: implement GstStreamVolume interface and add mute and volume properties
Brian Cameron [Thu, 29 Apr 2010 12:18:58 +0000 (13:18 +0100)]
oss4sink: implement GstStreamVolume interface and add mute and volume properties

OSS4 supports per-stream volume control, so expose this using the right
API, so that playbin2 and applications like totem can make use of it
(instead of using a volume element for volume control).

Fixes #614305.

14 years agooss4: 8-bit PCM audio caps don't need an endianness field
Tim-Philipp Müller [Thu, 8 Apr 2010 09:45:33 +0000 (10:45 +0100)]
oss4: 8-bit PCM audio caps don't need an endianness field

14 years agooss4: don't iterate the formats table twice for each entry
Tim-Philipp Müller [Thu, 8 Apr 2010 09:40:02 +0000 (10:40 +0100)]
oss4: don't iterate the formats table twice for each entry

When iterating the formats table, we can just pass the whole
entry to our helper function, which avoids iterating the table
again to find the entry structure from the passed format id.

14 years agooss4: also accept formats not natively supported
Tim-Philipp Müller [Tue, 30 Mar 2010 10:43:04 +0000 (11:43 +0100)]
oss4: also accept formats not natively supported

Also accept formats that are not natively supported by the
hardware, OSS4 can convert them internally. List the native
formats first in the caps though, to express our preference
for the native formats. We need this in order to support the
case properly where the audio hardware supports only e.g.
little endian PCM, but the host is big endian, since many
audio elements only support native endianness and make the
reasonable assumption that any audiosink will be able to
handle audio in native endianness.

Based on patch by Jerry Tan <jerry.tan@sun.com>

Fixes #614317.

14 years agooss4: add comment for translators
Tim-Philipp Müller [Tue, 30 Mar 2010 00:14:58 +0000 (01:14 +0100)]
oss4: add comment for translators

Not that that will make these strings much better. Also remove i18n
marker where it doesn't make sense.

14 years agooss4: Refactor code to make it look more modern
Benjamin Otte [Mon, 22 Mar 2010 15:13:12 +0000 (16:13 +0100)]
oss4: Refactor code to make it look more modern

A side effect is that it passes -Wformat-nonliteral and doesn't read
invalid memory in some cases, like when the mixer track contains
a % sign or there is a number but not a known mixer name.

14 years agooss4: Avoid g_quark_to_string (g_quark_from_string ()) madness
Benjamin Otte [Mon, 22 Mar 2010 13:09:24 +0000 (14:09 +0100)]
oss4: Avoid g_quark_to_string (g_quark_from_string ()) madness

We to the strdup inside gst_oss4_mixer_control_get_translated_name()
instead of in the only caller.

14 years agoAdd -Wmissing-declarations -Wmissing-prototypes to configure flags
Benjamin Otte [Sun, 21 Mar 2010 20:39:18 +0000 (21:39 +0100)]
Add -Wmissing-declarations -Wmissing-prototypes to configure flags

And fix all warnings

14 years agoFix compiler warning about unused return value
Benjamin Otte [Wed, 20 Jan 2010 12:29:52 +0000 (13:29 +0100)]
Fix compiler warning about unused return value

14 years agotests: fix test-oss4 to treat an empty device name the same as a NULL name
Tim-Philipp Müller [Fri, 21 Aug 2009 00:17:18 +0000 (01:17 +0100)]
tests: fix test-oss4 to treat an empty device name the same as a NULL name

14 years agooss4: Attempt to fix a compiler warning
Jan Schmidt [Thu, 16 Jul 2009 12:55:14 +0000 (13:55 +0100)]
oss4: Attempt to fix a compiler warning

Don't store a const gchar * in a non-const gchar * local var.

Also, make the translation string function static since it's only
used in the one file.

14 years agooss4: Enhancements to the mixer and audio output
Garrett D'Amore [Wed, 10 Jun 2009 18:21:21 +0000 (19:21 +0100)]
oss4: Enhancements to the mixer and audio output

Code cleanups, general improvements, support for the
new mixer flags in latest gst-plugins-base.

Fixes: #584252
Patch By: Brian Cameron <brian.cameron@sun.com>
Patch By: Garrett D'Amore <garrett.damore@sun.com>

14 years agoMake build without warnings with debugging disabled
Tim-Philipp Müller [Fri, 19 Jun 2009 15:21:28 +0000 (16:21 +0100)]
Make build without warnings with debugging disabled

14 years agoDon't install static libs for plugins. Fixes #550851 for -bad.
Stefan Kost [Tue, 4 Nov 2008 12:42:30 +0000 (12:42 +0000)]
Don't install static libs for plugins. Fixes #550851 for -bad.

Original commit message from CVS:
* ext/alsaspdif/Makefile.am:
* ext/amrwb/Makefile.am:
* ext/apexsink/Makefile.am:
* ext/arts/Makefile.am:
* ext/artsd/Makefile.am:
* ext/audiofile/Makefile.am:
* ext/audioresample/Makefile.am:
* ext/bz2/Makefile.am:
* ext/cdaudio/Makefile.am:
* ext/celt/Makefile.am:
* ext/dc1394/Makefile.am:
* ext/dirac/Makefile.am:
* ext/directfb/Makefile.am:
* ext/divx/Makefile.am:
* ext/dts/Makefile.am:
* ext/faac/Makefile.am:
* ext/faad/Makefile.am:
* ext/gsm/Makefile.am:
* ext/hermes/Makefile.am:
* ext/ivorbis/Makefile.am:
* ext/jack/Makefile.am:
* ext/jp2k/Makefile.am:
* ext/ladspa/Makefile.am:
* ext/lcs/Makefile.am:
* ext/libfame/Makefile.am:
* ext/libmms/Makefile.am:
* ext/metadata/Makefile.am:
* ext/mpeg2enc/Makefile.am:
* ext/mplex/Makefile.am:
* ext/musepack/Makefile.am:
* ext/musicbrainz/Makefile.am:
* ext/mythtv/Makefile.am:
* ext/nas/Makefile.am:
* ext/neon/Makefile.am:
* ext/ofa/Makefile.am:
* ext/polyp/Makefile.am:
* ext/resindvd/Makefile.am:
* ext/sdl/Makefile.am:
* ext/shout/Makefile.am:
* ext/snapshot/Makefile.am:
* ext/sndfile/Makefile.am:
* ext/soundtouch/Makefile.am:
* ext/spc/Makefile.am:
* ext/swfdec/Makefile.am:
* ext/tarkin/Makefile.am:
* ext/theora/Makefile.am:
* ext/timidity/Makefile.am:
* ext/twolame/Makefile.am:
* ext/x264/Makefile.am:
* ext/xine/Makefile.am:
* ext/xvid/Makefile.am:
* gst-libs/gst/app/Makefile.am:
* gst-libs/gst/dshow/Makefile.am:
* gst/aiffparse/Makefile.am:
* gst/app/Makefile.am:
* gst/audiobuffer/Makefile.am:
* gst/bayer/Makefile.am:
* gst/cdxaparse/Makefile.am:
* gst/chart/Makefile.am:
* gst/colorspace/Makefile.am:
* gst/dccp/Makefile.am:
* gst/deinterlace/Makefile.am:
* gst/deinterlace2/Makefile.am:
* gst/dvdspu/Makefile.am:
* gst/festival/Makefile.am:
* gst/filter/Makefile.am:
* gst/flacparse/Makefile.am:
* gst/flv/Makefile.am:
* gst/games/Makefile.am:
* gst/h264parse/Makefile.am:
* gst/librfb/Makefile.am:
* gst/mixmatrix/Makefile.am:
* gst/modplug/Makefile.am:
* gst/mpeg1sys/Makefile.am:
* gst/mpeg4videoparse/Makefile.am:
* gst/mpegdemux/Makefile.am:
* gst/mpegtsmux/Makefile.am:
* gst/mpegvideoparse/Makefile.am:
* gst/mve/Makefile.am:
* gst/nsf/Makefile.am:
* gst/nuvdemux/Makefile.am:
* gst/overlay/Makefile.am:
* gst/passthrough/Makefile.am:
* gst/pcapparse/Makefile.am:
* gst/playondemand/Makefile.am:
* gst/rawparse/Makefile.am:
* gst/real/Makefile.am:
* gst/rtjpeg/Makefile.am:
* gst/rtpmanager/Makefile.am:
* gst/scaletempo/Makefile.am:
* gst/sdp/Makefile.am:
* gst/selector/Makefile.am:
* gst/smooth/Makefile.am:
* gst/smoothwave/Makefile.am:
* gst/speed/Makefile.am:
* gst/speexresample/Makefile.am:
* gst/stereo/Makefile.am:
* gst/subenc/Makefile.am:
* gst/tta/Makefile.am:
* gst/vbidec/Makefile.am:
* gst/videodrop/Makefile.am:
* gst/videosignal/Makefile.am:
* gst/virtualdub/Makefile.am:
* gst/vmnc/Makefile.am:
* gst/y4m/Makefile.am:
* sys/acmenc/Makefile.am:
* sys/cdrom/Makefile.am:
* sys/dshowdecwrapper/Makefile.am:
* sys/dshowsrcwrapper/Makefile.am:
* sys/dvb/Makefile.am:
* sys/dxr3/Makefile.am:
* sys/fbdev/Makefile.am:
* sys/oss4/Makefile.am:
* sys/qcam/Makefile.am:
* sys/qtwrapper/Makefile.am:
* sys/vcd/Makefile.am:
* sys/wininet/Makefile.am:
* win32/common/config.h:
Don't install static libs for plugins. Fixes #550851 for -bad.

14 years agosys/oss4/: Add some spaces in translateable strings.
Jan Schmidt [Sun, 12 Oct 2008 21:52:27 +0000 (21:52 +0000)]
sys/oss4/: Add some spaces in translateable strings.

Original commit message from CVS:
* sys/oss4/oss4-mixer.c:
* sys/oss4/oss4-sink.c:
* sys/oss4/oss4-source.c:
Add some spaces in translateable strings.
Fixes: #555969 #555968 #555965

14 years agoMake sure gettext returns translations in UTF-8 encoding rather than in the current...
Frederic Crozat [Thu, 7 Aug 2008 16:20:30 +0000 (16:20 +0000)]
Make sure gettext returns translations in UTF-8 encoding rather than in the current locale encoding (#546822).

Original commit message from CVS:
Patch by: Frederic Crozat <fcrozat@mandriva.org>
* ext/sndfile/gstsf.c: (plugin_init):
* sys/dvb/gstdvbsrc.c: (gst_dvbsrc_plugin_init):
* sys/oss4/oss4-audio.c: (plugin_init):
Make sure gettext returns translations in UTF-8 encoding rather
than in the current locale encoding (#546822).

14 years agoFinal round of doc updates.
Stefan Kost [Mon, 16 Jun 2008 07:30:34 +0000 (07:30 +0000)]
Final round of doc updates.

Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
* gst/speed/gstspeed.c:
* gst/speexresample/gstspeexresample.c:
* gst/videosignal/gstvideoanalyse.c:
* gst/videosignal/gstvideodetect.c:
* gst/videosignal/gstvideomark.c:
* sys/dvb/gstdvbsrc.c:
* sys/oss4/oss4-mixer.c:
* sys/oss4/oss4-sink.c:
* sys/oss4/oss4-source.c:
* sys/wininet/gstwininetsrc.c:
Final round of doc updates.

14 years agoDo not use short_description in section docs for elements. We extract them from eleme...
Stefan Kost [Thu, 12 Jun 2008 14:49:18 +0000 (14:49 +0000)]
Do not use short_description in section docs for elements. We extract them from element details and there will be war...

Original commit message from CVS:
* ext/dc1394/gstdc1394.c:
* ext/ivorbis/vorbisdec.c:
* ext/jack/gstjackaudiosink.c:
* ext/metadata/gstmetadatademux.c:
* ext/mythtv/gstmythtvsrc.c:
* ext/theora/theoradec.c:
* gst-libs/gst/app/gstappsink.c:
* gst/bayer/gstbayer2rgb.c:
* gst/deinterlace/gstdeinterlace.c:
* gst/rawparse/gstaudioparse.c:
* gst/rawparse/gstvideoparse.c:
* gst/rtpmanager/gstrtpbin.c:
* gst/rtpmanager/gstrtpclient.c:
* gst/rtpmanager/gstrtpjitterbuffer.c:
* gst/rtpmanager/gstrtpptdemux.c:
* gst/rtpmanager/gstrtpsession.c:
* gst/rtpmanager/gstrtpssrcdemux.c:
* gst/selector/gstinputselector.c:
* gst/selector/gstoutputselector.c:
* gst/videosignal/gstvideoanalyse.c:
* gst/videosignal/gstvideodetect.c:
* gst/videosignal/gstvideomark.c:
* sys/oss4/oss4-mixer.c:
* sys/oss4/oss4-sink.c:
* sys/oss4/oss4-source.c:
Do not use short_description in section docs for elements. We extract
them from element details and there will be warnings if they differ.
Also fixing up the ChangeLog order.

14 years agotests/icles/test-oss4.c: Include stdlib.h.
Stefan Kost [Thu, 12 Jun 2008 13:06:37 +0000 (13:06 +0000)]
tests/icles/test-oss4.c: Include stdlib.h.

Original commit message from CVS:
* tests/icles/test-oss4.c:
Include stdlib.h.

14 years agotests/icles/: Small oss4 test that probes for available devices and retrieves their...
Tim-Philipp Müller [Thu, 22 May 2008 16:33:25 +0000 (16:33 +0000)]
tests/icles/: Small oss4 test that probes for available devices and retrieves their caps and mixer tracks and all tha...

Original commit message from CVS:
* tests/icles/.cvsignore:
* tests/icles/Makefile.am:
* tests/icles/test-oss4.c: (opt_show_mixer_messages), (WAIT_TIME),
(show_mixer_messages), (probe_mixer_tracks), (probe_pad),
(probe_details), (probe_element), (main):
Small oss4 test that probes for available devices and retrieves
their caps and mixer tracks and all that. Also allows testing of
mixer change messages on the bus.

14 years agosys/oss4/: Make device-name probing in NULL state work better (e.g. for the gnome...
Tim-Philipp Müller [Thu, 22 May 2008 15:14:26 +0000 (15:14 +0000)]
sys/oss4/: Make device-name probing in NULL state work better (e.g. for the gnome-control-center sound capplet).

Original commit message from CVS:
* sys/oss4/oss4-mixer.c: (gst_oss4_mixer_open):
* sys/oss4/oss4-property-probe.c:
(gst_oss4_property_probe_find_device_name),
(gst_oss4_property_probe_find_device_name_nofd):
* sys/oss4/oss4-property-probe.h:
* sys/oss4/oss4-sink.c: (gst_oss4_sink_get_property):
* sys/oss4/oss4-source.c: (gst_oss4_source_get_property):
Make device-name probing in NULL state work better (e.g. for the
gnome-control-center sound capplet).

14 years agosys/oss4/oss4-mixer-slider.c: Apparently mono sliders have the mono value repeated...
Clive Wright [Thu, 8 May 2008 19:16:17 +0000 (19:16 +0000)]
sys/oss4/oss4-mixer-slider.c: Apparently mono sliders have the mono value repeated in the upper bits, so mask those o...

Original commit message from CVS:
Based on patch by: Clive Wright <clive_wright ntlworld com>
* sys/oss4/oss4-mixer-slider.c: (gst_oss4_mixer_slider_unpack_volume):
Apparently mono sliders have the mono value repeated in the upper bits,
so mask those out when reading them. Probably makes the mixer applet
work properly in some more cases.

14 years agosys/oss4/: Fix arguments format in debug statements.
Julien Moutte [Fri, 11 Apr 2008 08:13:22 +0000 (08:13 +0000)]
sys/oss4/: Fix arguments format in debug statements.

Original commit message from CVS:
2008-04-11  Julien Moutte  <julien@fluendo.com>

* sys/oss4/oss4-mixer-enum.c:
(gst_oss4_mixer_enum_get_values_locked):
* sys/oss4/oss4-source.c: (gst_oss4_source_delay): Fix arguments
format in debug statements.

14 years agoAdd initial support for OSSv4. Mixer still needs a bit more love, but even magic...
Tim-Philipp Müller [Wed, 2 Apr 2008 20:18:58 +0000 (20:18 +0000)]
Add initial support for OSSv4. Mixer still needs a bit more love, but even magic has its limits.

Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/oss4/Makefile.am:
* sys/oss4/oss4-audio.c:
* sys/oss4/oss4-audio.h:
* sys/oss4/oss4-mixer-enum.c:
* sys/oss4/oss4-mixer-enum.h:
* sys/oss4/oss4-mixer-slider.c:
* sys/oss4/oss4-mixer-slider.h:
* sys/oss4/oss4-mixer-switch.c:
* sys/oss4/oss4-mixer-switch.h:
* sys/oss4/oss4-mixer.c:
* sys/oss4/oss4-mixer.h:
* sys/oss4/oss4-property-probe.c:
* sys/oss4/oss4-property-probe.h:
* sys/oss4/oss4-sink.c:
* sys/oss4/oss4-sink.h:
* sys/oss4/oss4-soundcard.h:
* sys/oss4/oss4-source.c:
* sys/oss4/oss4-source.h:
Add initial support for OSSv4. Mixer still needs a bit more love,
but even magic has its limits.

14 years agoosxvideosink: implement the xoverlay interface. Fixes #618349.
Alessandro Decina [Tue, 11 May 2010 08:52:58 +0000 (10:52 +0200)]
osxvideosink: implement the xoverlay interface. Fixes #618349.

14 years agoqtdemux: fix push based seeking
Mark Nauwelaerts [Tue, 11 May 2010 16:42:32 +0000 (18:42 +0200)]
qtdemux: fix push based seeking

... where it comes down to transforming incoming BYTE segment
to a corresponding TIME segment.

Also fixes #609405.

14 years agoMove imagefreeze plugin from -bad to -good
Tim-Philipp Müller [Tue, 11 May 2010 13:23:47 +0000 (14:23 +0100)]
Move imagefreeze plugin from -bad to -good

Hook up build infrastructure, docs and unit test for new plugin.

Fixes #613786.

14 years agoimagefreeze: Set fixed caps on the correct pad
Sebastian Dröge [Wed, 5 May 2010 10:23:56 +0000 (12:23 +0200)]
imagefreeze: Set fixed caps on the correct pad

This makes the sink getcaps function actually used instead of using
the fixed caps function for it.

14 years agoAdd -Wmissing-declarations -Wmissing-prototypes to configure flags
Benjamin Otte [Sun, 21 Mar 2010 20:39:18 +0000 (21:39 +0100)]
Add -Wmissing-declarations -Wmissing-prototypes to configure flags

And fix all warnings

14 years agoimagefreeze: Only start the task after a seek if a buffer was received already
Sebastian Dröge [Mon, 15 Mar 2010 10:54:02 +0000 (11:54 +0100)]
imagefreeze: Only start the task after a seek if a buffer was received already

14 years agoimagefreeze: Add some unit tests
Sebastian Dröge [Sun, 28 Feb 2010 15:08:14 +0000 (16:08 +0100)]
imagefreeze: Add some unit tests

14 years agoimagefreeze: Set undefined framerate in sink getcaps function
Sebastian Dröge [Sun, 28 Feb 2010 15:04:31 +0000 (16:04 +0100)]
imagefreeze: Set undefined framerate in sink getcaps function

14 years agoimagefreeze: Implement reverse playback and set buffer offsets
Sebastian Dröge [Sun, 28 Feb 2010 14:02:02 +0000 (15:02 +0100)]
imagefreeze: Implement reverse playback and set buffer offsets

14 years agoimagefreeze: Add still frame stream generator element
Sebastian Dröge [Sat, 27 Feb 2010 16:33:05 +0000 (17:33 +0100)]
imagefreeze: Add still frame stream generator element

14 years agoMove capsfilter element from -bad to -good
Tim-Philipp Müller [Tue, 11 May 2010 12:07:19 +0000 (13:07 +0100)]
Move capsfilter element from -bad to -good

Hook up moved files to the build infrastructure and docs.

Fixes #617739.

14 years agocapssetter: Some minor cleanup
Sebastian Dröge [Thu, 6 May 2010 11:12:32 +0000 (13:12 +0200)]
capssetter: Some minor cleanup

14 years agoAdd -Wold-style-definition
Benjamin Otte [Mon, 22 Mar 2010 15:56:03 +0000 (16:56 +0100)]
Add -Wold-style-definition

and fix the warnings

14 years agogst_element_class_set_details => gst_element_class_set_details_simple
Benjamin Otte [Thu, 18 Mar 2010 16:30:26 +0000 (17:30 +0100)]
gst_element_class_set_details => gst_element_class_set_details_simple

14 years agocapssetter: add unit test
Mark Nauwelaerts [Thu, 8 Oct 2009 17:51:31 +0000 (19:51 +0200)]
capssetter: add unit test

14 years agocapssetter: import element into -bad
Mark Nauwelaerts [Thu, 25 Jun 2009 14:41:49 +0000 (16:41 +0200)]
capssetter: import element into -bad

14 years agoavimux: check that pads have been negotiated
Mark Nauwelaerts [Tue, 11 May 2010 10:06:10 +0000 (12:06 +0200)]
avimux: check that pads have been negotiated

Also set fcc_handler field in audio stream header.

Fixes #618351.

14 years agoqtdemux: fix partial parsing of ctts table
Mark Nauwelaerts [Mon, 10 May 2010 16:33:03 +0000 (18:33 +0200)]
qtdemux: fix partial parsing of ctts table

Fixes #616516.

14 years agoqtdemux: cleanup a comment and add some debug and conditional compilation
Mark Nauwelaerts [Mon, 10 May 2010 16:32:15 +0000 (18:32 +0200)]
qtdemux: cleanup a comment and add some debug and conditional compilation

14 years agoconfigure: Check for GTK+ 3.0 and if it's not available for GTK+ 2.0
Sebastian Dröge [Tue, 11 May 2010 08:01:52 +0000 (10:01 +0200)]
configure: Check for GTK+ 3.0 and if it's not available for GTK+ 2.0

14 years agoflvmux: only store the last buffer timestamp if it's valid
Jan Urbański [Mon, 10 May 2010 20:11:10 +0000 (22:11 +0200)]
flvmux: only store the last buffer timestamp if it's valid

Fixes bug #618305

14 years agortph264pay: Re-send SPS/PPS when requested
Olivier Crête [Sat, 9 Jan 2010 03:13:59 +0000 (22:13 -0500)]
rtph264pay: Re-send SPS/PPS when requested

https://bugzilla.gnome.org/show_bug.cgi?id=606689

14 years agortph264pay: fix typo in debug message
Mark Nauwelaerts [Fri, 7 May 2010 15:09:16 +0000 (17:09 +0200)]
rtph264pay: fix typo in debug message

14 years agortptheorapay: add config-interval parameter to re-insert config in stream
Mark Nauwelaerts [Fri, 7 May 2010 13:42:23 +0000 (15:42 +0200)]
rtptheorapay: add config-interval parameter to re-insert config in stream

Add a new config-interval property to instruct the payloader to insert
configuration headers at periodic intervals in the stream
(when a keyframe is countered).

14 years agortptheoradepay: fix in-band configuration parsing
Mark Nauwelaerts [Fri, 7 May 2010 13:31:03 +0000 (15:31 +0200)]
rtptheoradepay: fix in-band configuration parsing

Also make configuration header parsing a bit more relaxed with respect
to length field interpretation.

14 years agortpvorbisdepay: fix in-line configuration parsing
Mark Nauwelaerts [Fri, 7 May 2010 13:30:30 +0000 (15:30 +0200)]
rtpvorbisdepay: fix in-line configuration parsing

Also make configuration header parsing a bit more relaxed with respect
to length field interpretation.

14 years agortptheorapay: do not discard downstream flow return
Mark Nauwelaerts [Tue, 4 May 2010 14:57:35 +0000 (16:57 +0200)]
rtptheorapay: do not discard downstream flow return

14 years agortptheorapay: refactor buffer payloading
Mark Nauwelaerts [Tue, 4 May 2010 14:57:11 +0000 (16:57 +0200)]
rtptheorapay: refactor buffer payloading

14 years agodeinterlace: Add support for UYVY
Sebastian Dröge [Fri, 7 May 2010 18:41:04 +0000 (20:41 +0200)]
deinterlace: Add support for UYVY

14 years agortpsession: fix return value
Wim Taymans [Fri, 7 May 2010 17:06:35 +0000 (19:06 +0200)]
rtpsession: fix return value

14 years agortspsrc: don't leak the session
Wim Taymans [Fri, 7 May 2010 17:02:21 +0000 (19:02 +0200)]
rtspsrc: don't leak the session

14 years agortsp: configure bandwidth properties in the session
Wim Taymans [Fri, 7 May 2010 16:59:42 +0000 (18:59 +0200)]
rtsp: configure bandwidth properties in the session

14 years agortpsession: add properties to configure the bandwidth
Wim Taymans [Fri, 7 May 2010 16:58:58 +0000 (18:58 +0200)]
rtpsession: add properties to configure the bandwidth

Add properties to proxy the bandwidth configuration to the session object.

14 years agortpsession: add properties to configure bandwidths
Wim Taymans [Fri, 7 May 2010 16:57:13 +0000 (18:57 +0200)]
rtpsession: add properties to configure bandwidths

Add properties to configure the sender and receiver bandwidths.
Configure the bandwidths before calculating the RTCP timeout when we need to.

14 years agortpstats: add some debug info
Wim Taymans [Fri, 7 May 2010 16:56:30 +0000 (18:56 +0200)]
rtpstats: add some debug info

14 years agortpsession: small cleanups
Wim Taymans [Fri, 7 May 2010 16:55:34 +0000 (18:55 +0200)]
rtpsession: small cleanups

14 years agortpstats: make bandwidths more configurable
Wim Taymans [Fri, 7 May 2010 14:55:13 +0000 (16:55 +0200)]
rtpstats: make bandwidths more configurable

Add a method to configure the various bandwidths in the session.

14 years agortpsession: handle NONE RTCP intervals
Wim Taymans [Fri, 7 May 2010 11:32:30 +0000 (13:32 +0200)]
rtpsession: handle NONE RTCP intervals

Prepare for handling RTCP reporting intervals of GST_CLOCK_TIME_NONE, which
means don't send RTCP at all.

14 years agortspsrc: fall back to SDP ports instead of server_port
Wim Taymans [Fri, 7 May 2010 10:51:05 +0000 (12:51 +0200)]
rtspsrc: fall back to SDP ports instead of server_port

In multicast, fall back to the ports in the SDP instead of the server_port
attribute as this is more in line with the RFC.

14 years agortspsrc: refactor collecting the transport info
Wim Taymans [Fri, 7 May 2010 10:24:51 +0000 (12:24 +0200)]
rtspsrc: refactor collecting the transport info

Make a method to collect the ports and destination address.

14 years agortspsrc: handle servers that send broken Transports
Wim Taymans [Fri, 7 May 2010 09:28:36 +0000 (11:28 +0200)]
rtspsrc: handle servers that send broken Transports

Handle servers that send their port pairs with the wrong name.

Fixes #617537

14 years agortspsrc: use the SDP connection info in multicast
Wim Taymans [Thu, 6 May 2010 14:52:26 +0000 (16:52 +0200)]
rtspsrc: use the SDP connection info in multicast

Parse the connection info from the SDP.
When we need to configure the multicast destination, fall back to the SDP
connection info when the transport did not specify a destination and ttl.

Fixes #617537

14 years agogoom,monoscope: truncate own caps, instead of copying and using the first only
Stefan Kost [Thu, 6 May 2010 12:42:38 +0000 (15:42 +0300)]
goom,monoscope: truncate own caps, instead of copying and using the first only

We got the caps from an intersect, it is our own, hence we can truncate it.

14 years agopulsesrc: reflow to truncate caps just once
Stefan Kost [Thu, 6 May 2010 12:40:33 +0000 (15:40 +0300)]
pulsesrc: reflow to truncate caps just once

We get writable cpas from the intersection (unless it failed). As we truncate
those anyway, we don't need to manyaly copy the first structure.

14 years agogdkpixbuf: don't leak template caps
Stefan Kost [Thu, 6 May 2010 12:39:31 +0000 (15:39 +0300)]
gdkpixbuf: don't leak template caps

14 years agoauto{audio,video}{src,sink}: use can_intersect to avoid a caps copy
Stefan Kost [Thu, 6 May 2010 12:38:35 +0000 (15:38 +0300)]
auto{audio,video}{src,sink}: use can_intersect to avoid a caps copy

14 years agoflvdemux: tell what we can do
Stefan Kost [Tue, 27 Apr 2010 10:36:35 +0000 (13:36 +0300)]
flvdemux: tell what we can do

Any-caps are bad. If apps scan the registry, they'd like to know what we can
output.

14 years agojpegenc: also lift the arbitrary restrictions for width and height
Stefan Kost [Tue, 27 Apr 2010 10:43:29 +0000 (13:43 +0300)]
jpegenc: also lift the arbitrary restrictions for width and height

This was already done for jpegdec.

14 years agopulsesrc: Allocate/free PA mainloop during state changes
Sebastian Dröge [Thu, 6 May 2010 12:03:11 +0000 (14:03 +0200)]
pulsesrc: Allocate/free PA mainloop during state changes

...also destroy the stream and context during state changes.

14 years agopulsesink: Allocate and free the custom clock in NULL<->READY
Sebastian Dröge [Thu, 6 May 2010 11:57:01 +0000 (13:57 +0200)]
pulsesink: Allocate and free the custom clock in NULL<->READY

14 years agopulsesink: Create and free the PA mainloop in NULL->READY/READY->NULL
Sebastian Dröge [Thu, 6 May 2010 11:51:59 +0000 (13:51 +0200)]
pulsesink: Create and free the PA mainloop in NULL->READY/READY->NULL

This fixes a race condition, when stopping the mainloop during finalization
is done from a mainloop callback.

Fixes bugs #614765 and #590662.

14 years agovideomixer: Make selection of a sinkpad number threadsafe
Sebastian Dröge [Wed, 5 May 2010 17:35:48 +0000 (19:35 +0200)]
videomixer: Make selection of a sinkpad number threadsafe

14 years agodeinterlace: Add support for all common RGB formats
Sebastian Dröge [Wed, 5 May 2010 15:39:32 +0000 (17:39 +0200)]
deinterlace: Add support for all common RGB formats

14 years agodeinterlace: Add support for AYUV
Sebastian Dröge [Wed, 5 May 2010 14:06:51 +0000 (16:06 +0200)]
deinterlace: Add support for AYUV

14 years agortspsrc: make setup url in a smarter way
Wim Taymans [Tue, 4 May 2010 14:34:27 +0000 (16:34 +0200)]
rtspsrc: make setup url in a smarter way

Make sure we always separate the base and control url parts with a / when
creating the setup url.

14 years agortspsrc: handle SEEKING queries.
Alessandro Decina [Tue, 4 May 2010 14:04:39 +0000 (16:04 +0200)]
rtspsrc: handle SEEKING queries.

14 years agortpmp4vpay: add config-interval parameter to re-insert config in stream
Mark Nauwelaerts [Tue, 4 May 2010 09:13:45 +0000 (11:13 +0200)]
rtpmp4vpay: add config-interval parameter to re-insert config in stream

Add a new config-interval property to instruct the payloader to insert
config (VOSH, VOS, etc) at periodic intervals in the stream
(when a GOP or VOP-I is encountered).

Based on patch by <marc.leeman at gmail.com>

Fixes #607452.

14 years agortpjitterbuffer: move some initialization code from change_state to _init.
Alessandro Decina [Mon, 3 May 2010 11:26:32 +0000 (13:26 +0200)]
rtpjitterbuffer: move some initialization code from change_state to _init.

Set ->active to TRUE in _init so it can be set to FALSE after creating the
jitterbuffer and it won't be mistakenly reset to TRUE in the change_state
function.
This is needed to start the jitterbuffer as inactive when rtpbin is buffering.

14 years agortpbin: fix a bug handling BUFFERING messages.
Alessandro Decina [Mon, 3 May 2010 09:56:58 +0000 (11:56 +0200)]
rtpbin: fix a bug handling BUFFERING messages.

If a session exists but has no streams, set the min buffering percent to 0
since it means that we haven't received anything for that session yet.

14 years agortpbin: when a stream is created, pause the jitterbuffer if rtpbin is buffering.
Alessandro Decina [Mon, 3 May 2010 09:51:37 +0000 (11:51 +0200)]
rtpbin: when a stream is created, pause the jitterbuffer if rtpbin is buffering.

14 years agortpbin: fix a bug calculating stream offsets.
Alessandro Decina [Mon, 3 May 2010 09:23:59 +0000 (11:23 +0200)]
rtpbin: fix a bug calculating stream offsets.

14 years agomatroskamux: Write previous cluster's size
Sebastian Dröge [Sat, 1 May 2010 12:20:59 +0000 (14:20 +0200)]
matroskamux: Write previous cluster's size

This is useful for backwards playback, which should be implemented
in matroskademux at some point.

14 years agomatroskademux: Set interlaced flag in the caps if the flag is set in the Matroska...
Sebastian Dröge [Sat, 1 May 2010 12:15:49 +0000 (14:15 +0200)]
matroskademux: Set interlaced flag in the caps if the flag is set in the Matroska file

14 years agomatroskamux: Write interlaced flag if the input video content is interlaced
Sebastian Dröge [Sat, 1 May 2010 12:12:28 +0000 (14:12 +0200)]
matroskamux: Write interlaced flag if the input video content is interlaced

Unfortunately Matroska has no way to specify TFF and friends...

14 years agortp: fix printf format of some debug messages
Tim-Philipp Müller [Sat, 1 May 2010 10:25:26 +0000 (11:25 +0100)]
rtp: fix printf format of some debug messages

14 years agomatroska: init variable to avoid compiler warning on OSX
Tim-Philipp Müller [Sat, 1 May 2010 10:06:53 +0000 (11:06 +0100)]
matroska: init variable to avoid compiler warning on OSX

Fixes (bogus) "'offset' may be used uninitialized in this function"
warning on build bot (also spotted by philn).

14 years agoqtdemux: UYVY is 4:2:2, not 4:2:0
David Schleef [Sat, 1 May 2010 00:19:44 +0000 (17:19 -0700)]
qtdemux: UYVY is 4:2:2, not 4:2:0

14 years agopulse: Don't compare values of two different enum types
Sebastian Dröge [Fri, 30 Apr 2010 20:22:25 +0000 (22:22 +0200)]
pulse: Don't compare values of two different enum types

14 years agodeinterlace: Make automatic detection of interlacing the default
Sebastian Dröge [Fri, 30 Apr 2010 20:13:30 +0000 (22:13 +0200)]
deinterlace: Make automatic detection of interlacing the default

Previously "force deinterlacing" was the default, which is a not very
sensible default for the normal use case where deinterlace should act
in passthrough mode unless interlaced content is present.

14 years agojpegdec: optimise buffer scanning
Mark Nauwelaerts [Thu, 29 Apr 2010 14:26:49 +0000 (16:26 +0200)]
jpegdec: optimise buffer scanning

Specifically, when needing more data, do not rescan from start next time
around, but resume from last position.

See also #583047.

14 years agojpegdec: disregard superfluous lines when indirect decoding
Mark Nauwelaerts [Thu, 29 Apr 2010 13:38:49 +0000 (15:38 +0200)]
jpegdec: disregard superfluous lines when indirect decoding

14 years agojpegdec: add support for RGB and grayscale color space
Mark Nauwelaerts [Tue, 27 Apr 2010 13:44:39 +0000 (15:44 +0200)]
jpegdec: add support for RGB and grayscale color space

Also refactor src caps negotiation and setting.

14 years agojpegenc: support more colour spaces and some cleanups
Mark Nauwelaerts [Tue, 27 Apr 2010 10:19:22 +0000 (12:19 +0200)]
jpegenc: support more colour spaces and some cleanups

14 years agojpegenc: more generic sink getcaps
Mark Nauwelaerts [Fri, 30 Apr 2010 10:47:01 +0000 (12:47 +0200)]
jpegenc: more generic sink getcaps

14 years agojpegdec: more sanity checks on input
Mark Nauwelaerts [Fri, 30 Apr 2010 10:42:42 +0000 (12:42 +0200)]
jpegdec: more sanity checks on input

Specifically, verify input components / colour space is as code
subsequently expects, thereby avoiding crashes or otherwise bogus output.
Presently, that means 3 components YCbCr colour space, and somewhat
limited sampling factors.

Fixes #600553.