platform/upstream/gst-plugins-good.git
14 years agomatroskademux: Verify lace size in _parse_blockgroup_or_simpleblock
Philip Jägenstedt [Thu, 13 May 2010 10:10:54 +0000 (12:10 +0200)]
matroskademux: Verify lace size in _parse_blockgroup_or_simpleblock

Failure to do this for corrupt input can cause a subbuffer bigger
than the actual buffer to be created, quickly leading to segfault.
Test case:
bug_s222005751_r0.001____memcpy.webm

14 years agoebml: crude hack to avoid crashing on unexpected metadata
Philip Jägenstedt [Thu, 13 May 2010 08:23:10 +0000 (10:23 +0200)]
ebml: crude hack to avoid crashing on unexpected metadata

The comment says this cannot happen, but it did and I don't know
why. This is not the correct fix, needs investigation. Test case:
bug_s555010094_r0.0005:0.008____IA__g_assertion_message_expr.webm

14 years agoebml: don't modify out str if returning an error in _read_ascii
Philip Jägenstedt [Thu, 13 May 2010 07:18:56 +0000 (09:18 +0200)]
ebml: don't modify out str if returning an error in _read_ascii

This is a regression from ASCII validation changes. Test case:
bug_s66876390_r0.001____malloc_printerr.webm

14 years agoebml: Validate 7-bit ASCII in gst_ebml_read_ascii
Philip Jägenstedt [Wed, 12 May 2010 11:16:28 +0000 (13:16 +0200)]
ebml: Validate 7-bit ASCII in gst_ebml_read_ascii

This was triggering an UTF-8 assertion in gst_caps_set_simple for
corrupt files with garbage as codec id. Test case:
gstreamer_error_trying_to_set_invalid_utf8_as_codec_id.webm

Old gst_ebml_read_ascii renamed to gst_ebml_read_string, also used by
gst_ebml_read_utf8. Unlike for UTF-8, failure to validate is an error,
as gst_ebml_read_ascii is used for reading doctype and codec id and we
might just as well give up early in those cases.

14 years agomatroskademux: Ignore unexpected CodecState
Philip Jägenstedt [Wed, 12 May 2010 12:30:18 +0000 (14:30 +0200)]
matroskademux: Ignore unexpected CodecState

Because GstMatroskaTrackContext *stream is set up in the first
SimpleBlock or Block, a rogue CodecState otherwise causes a segfault on
derefencing the NULL pointer. Test case:
bug_s5506167_r0.001____gst_matroska_demux_parse_blockgroup_or_simpleblock.webm

14 years agomatroskademux: Add video/webm sink caps
Philip Jägenstedt [Mon, 10 May 2010 04:00:49 +0000 (06:00 +0200)]
matroskademux: Add video/webm sink caps

14 years agomatroskamux: Use SimpleBlock for WebM when possible
Philip Jägenstedt [Sun, 9 May 2010 17:46:51 +0000 (19:46 +0200)]
matroskamux: Use SimpleBlock for WebM when possible

14 years agomatroskademux: Support "webm" DocType
Philip Jägenstedt [Sun, 9 May 2010 17:28:59 +0000 (19:28 +0200)]
matroskademux: Support "webm" DocType

14 years agomatroskamux: rename matroska_version to doctype_version
Philip Jägenstedt [Sun, 9 May 2010 10:35:10 +0000 (12:35 +0200)]
matroskamux: rename matroska_version to doctype_version

14 years agomatroskamux: Support "webm" DocType
Philip Jägenstedt [Sun, 9 May 2010 10:09:57 +0000 (12:09 +0200)]
matroskamux: Support "webm" DocType

14 years agoqtdemux: Add VP8
David Schleef [Thu, 13 May 2010 01:38:48 +0000 (18:38 -0700)]
qtdemux: Add VP8

14 years agomatroskamux: Add support for On2 VP8
Sebastian Dröge [Tue, 27 Apr 2010 13:26:13 +0000 (15:26 +0200)]
matroskamux: Add support for On2 VP8

...matroskademux automatically supports it through libgstriff.

14 years agoavimux: Add support for On2 VP8
Sebastian Dröge [Tue, 27 Apr 2010 13:25:32 +0000 (15:25 +0200)]
avimux: Add support for On2 VP8

...avidemux automatically supports it through libgstriff.

14 years agopulse: Don't lock the mainloop in NULL
Sebastian Dröge [Mon, 17 May 2010 15:17:01 +0000 (17:17 +0200)]
pulse: Don't lock the mainloop in NULL

14 years agoconfigure: Use = instead of == in shell scripts for equality checks
Sebastian Dröge [Sat, 15 May 2010 19:15:52 +0000 (21:15 +0200)]
configure: Use = instead of == in shell scripts for equality checks

14 years ago0.10.22.2 pre-release
Tim-Philipp Müller [Fri, 14 May 2010 17:33:32 +0000 (18:33 +0100)]
0.10.22.2 pre-release

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Fri, 14 May 2010 17:24:14 +0000 (18:24 +0100)]
Automatic update of common submodule

From 4d67bd6 to 357b0db

14 years agotests: fix leak in souphttpsrc unit test
Tim-Philipp Müller [Fri, 14 May 2010 17:16:45 +0000 (18:16 +0100)]
tests: fix leak in souphttpsrc unit test

Unref server objects when done. Fixes check-valgrind.

14 years agojpegenc: fix two leaks
Tim-Philipp Müller [Fri, 14 May 2010 16:30:40 +0000 (17:30 +0100)]
jpegenc: fix two leaks

Don't leak othercaps or jpegenc ref.

14 years agortpbin: fix docs
Wim Taymans [Thu, 13 May 2010 11:01:26 +0000 (13:01 +0200)]
rtpbin: fix docs

Documentation error spotted by tony <caicai0119 at gmail.com>

Fixes #618419

14 years agortptheoradepay: make delivery-method parameter optional
Olivier Crête [Tue, 11 May 2010 17:18:42 +0000 (13:18 -0400)]
rtptheoradepay: make delivery-method parameter optional

It probably will not be in the final RFC as it is not in RFC 5215 for Vorbis.
If there is a configuration specified, assume it is in-line and if nothing is
specified, assume it is in-band.

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

14 years agojpegdec: increase acceptable output sizes
Wim Taymans [Thu, 13 May 2010 10:16:59 +0000 (12:16 +0200)]
jpegdec: increase acceptable output sizes

We can perfectly decode 1x1 images so lower the min width and height to 1.

Fixes #618392

14 years agoceltpay: fix queue duration calculations
Wim Taymans [Thu, 13 May 2010 09:30:27 +0000 (11:30 +0200)]
celtpay: fix queue duration calculations

Don't blindly add the durations of incomming buffers to the total queued
duration because it might be invalid. Mark the total queued duration invalid
when we receive an invalid incomming timestamp because that's when we lose track
of the total queued duration.

Fixes #618324

14 years agortph264pay: extract SPS and PPS from property provided parameter set
Mark Nauwelaerts [Mon, 10 May 2010 09:14:39 +0000 (11:14 +0200)]
rtph264pay: extract SPS and PPS from property provided parameter set

... so it can also be regularly inserted into the stream if so configured.

Fixes #617164.

14 years agoosxvideosink: allow switching views at runtime.
Alessandro Decina [Tue, 11 May 2010 20:28:08 +0000 (22:28 +0200)]
osxvideosink: allow switching views at runtime.

14 years agortp: dist missing header file to fix make distcheck
Tim-Philipp Müller [Tue, 11 May 2010 19:26:37 +0000 (20:26 +0100)]
rtp: dist missing header file to fix make distcheck

14 years agooss4: minor cleanup
Tim-Philipp Müller [Tue, 11 May 2010 18:05:08 +0000 (19:05 +0100)]
oss4: minor cleanup

Remove fixed FIXME, change finalise to finalize for consistency.

14 years agodocs: add oss4 elements to docs
Tim-Philipp Müller [Tue, 11 May 2010 18:01:51 +0000 (19:01 +0100)]
docs: add oss4 elements to docs

14 years agopo: move oss4 strings from -bad to -good
Tim-Philipp Müller [Tue, 11 May 2010 15:09:10 +0000 (16:09 +0100)]
po: move oss4 strings from -bad to -good

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