platform/upstream/gst-plugins-good.git
15 years agoaspectratiocrop: Don't forget to call parent finalize implementation.
Edward Hervey [Tue, 10 Feb 2009 10:27:51 +0000 (11:27 +0100)]
aspectratiocrop: Don't forget to call parent finalize implementation.

This fixes a memory leak (leaking the contained elements of the bin).

15 years agoosxvideosink: Fix build. Fixes #571038
Edward Hervey [Tue, 10 Feb 2009 07:43:59 +0000 (08:43 +0100)]
osxvideosink: Fix build. Fixes #571038

15 years agoBump revision to use for common submodule.
Edward Hervey [Mon, 9 Feb 2009 11:18:36 +0000 (12:18 +0100)]
Bump revision to use for common submodule.

15 years agoChangeLog: Update ChangeLog for 0.10.13.2
Jan Schmidt [Sat, 7 Feb 2009 16:00:49 +0000 (16:00 +0000)]
ChangeLog: Update ChangeLog for 0.10.13.2

15 years agopo: Update translations for 0.10.13.2
Jan Schmidt [Sat, 7 Feb 2009 15:58:55 +0000 (15:58 +0000)]
po: Update translations for 0.10.13.2

15 years agoRelease 0.10.13.2
Jan Schmidt [Sat, 7 Feb 2009 15:46:07 +0000 (15:46 +0000)]
Release 0.10.13.2

15 years agopo: Add Maltese translation
Jan Schmidt [Sat, 7 Feb 2009 15:40:53 +0000 (15:40 +0000)]
po: Add Maltese translation

15 years agoqtdemux: Add handling for stps atoms
David Schleef [Sat, 7 Feb 2009 00:16:05 +0000 (16:16 -0800)]
qtdemux: Add handling for stps atoms

stps atoms contain "partial sync" information, which means that it's
a sync point where pts != dts.  This is needed to properly handle
MPEG2, H.264, Dirac, etc., in quicktime.

15 years agoflacdec: if we aborted reading, don't do into an infinite loop.
Michael Smith [Thu, 5 Feb 2009 23:51:42 +0000 (15:51 -0800)]
flacdec: if we aborted reading, don't do into an infinite loop.

If our read callback ran out of data, so had to abort reading, we return
GST_FLOW_ERROR instead of going into an infinite loop.

15 years agoosxvideosink: remove non-embedded mode and fix memory management.
Michael Smith [Thu, 5 Feb 2009 18:19:37 +0000 (10:19 -0800)]
osxvideosink: remove non-embedded mode and fix memory management.

Remove non-embedded mode. Embed mode becomes default and only mode.
embed property is retained for binary compatibility.
Added autorelease pools around all objc functions that might be called
from a non-main thread.

15 years agodebug on the object
Thomas Vander Stichele [Thu, 5 Feb 2009 19:02:01 +0000 (20:02 +0100)]
debug on the object

15 years agoosxaudio fixes: multichannel and changing caps.
Michael Smith [Thu, 5 Feb 2009 00:40:13 +0000 (16:40 -0800)]
osxaudio fixes: multichannel and changing caps.

Ensure we create the ringbuffer segment size as a multiple of the
bytes per sample (fixes 6-channel output).
Reset the segoffset when acquiring the ringbuffer, so we don't retain
a bogus offset when caps change.

15 years agortspsrc: Keep track of connected state
Wim Taymans [Wed, 4 Feb 2009 10:38:30 +0000 (11:38 +0100)]
rtspsrc: Keep track of connected state

Keep track of the state of the connection and don't try to send TEARDOWN when
the server has closed the connection.

15 years agoRead Matroska Title element for the TITLE tag
Robin Stocker [Wed, 4 Feb 2009 08:20:28 +0000 (09:20 +0100)]
Read Matroska Title element for the TITLE tag

Not all Matroska files have a Tags element which contains
information about the title among other things. Most video
Matroska files only contain the Title element so we
should parse this too. Fixes bug #570435.

15 years agoconfigure.ac: bump core/base requirements to released versions
Tim-Philipp Müller [Tue, 3 Feb 2009 22:34:38 +0000 (22:34 +0000)]
configure.ac: bump core/base requirements to released versions

15 years agoFix audioecho unit test on 32 bit systems
Sebastian Dröge [Tue, 3 Feb 2009 16:10:30 +0000 (17:10 +0100)]
Fix audioecho unit test on 32 bit systems

Cast the new value for the "delay" property to GstClockTime.
Integers without type are passed to vararg functions with
an integer type that can hold a pointer.

15 years agoequalizer: Don't reset frequency bands from user settings. Fixes #570343.
Stefan Kost [Tue, 3 Feb 2009 12:09:26 +0000 (14:09 +0200)]
equalizer: Don't reset frequency bands from user settings. Fixes #570343.

Move reallocating the history buffer out of _compute_frequencies() and call the
right function as needed. Add some logging and tweak the formatting of existing
logging. Simplify setting need_new_coefficients when changing properties.

15 years agoUse guint64 instead of guint for storing guint64
Sebastian Dröge [Tue, 3 Feb 2009 10:52:15 +0000 (11:52 +0100)]
Use guint64 instead of guint for storing guint64

15 years agoUse correct flag for the GNOME proxy configuration
Jonathan Matthew [Mon, 2 Feb 2009 17:37:35 +0000 (18:37 +0100)]
Use correct flag for the GNOME proxy configuration

Fixes bug #552140.

15 years agoFix compiler warnings
Wim Taymans [Mon, 2 Feb 2009 12:08:14 +0000 (13:08 +0100)]
Fix compiler warnings

fix compiler warnings due to unused return values of scanf.

15 years agoFix format string compiler warning
Sebastian Dröge [Sat, 31 Jan 2009 10:08:30 +0000 (11:08 +0100)]
Fix format string compiler warning

15 years agoAdd releaseinfo with online url.
Stefan Kost [Fri, 30 Jan 2009 20:24:14 +0000 (22:24 +0200)]
Add releaseinfo with online url.

15 years agoFix up some compile flags
Jan Schmidt [Fri, 30 Jan 2009 18:04:11 +0000 (18:04 +0000)]
Fix up some compile flags

15 years agoDon't use Glib 2.16 function g_strcmp0.
Jan Schmidt [Fri, 30 Jan 2009 17:35:49 +0000 (17:35 +0000)]
Don't use Glib 2.16 function g_strcmp0.

15 years agoDon't do void pointer arithmetic
Jan Schmidt [Fri, 30 Jan 2009 17:34:45 +0000 (17:34 +0000)]
Don't do void pointer arithmetic

15 years agoFix Forte compiler warnings.
Jan Schmidt [Fri, 30 Jan 2009 17:26:19 +0000 (17:26 +0000)]
Fix Forte compiler warnings.

Don't do void pointer arithmetic. Don't have an unreachable statement.

15 years agoBump common
Jan Schmidt [Fri, 30 Jan 2009 17:29:45 +0000 (17:29 +0000)]
Bump common

15 years agoRemove useless processing for non-raw formats
Edward Hervey [Mon, 26 Jan 2009 09:33:55 +0000 (10:33 +0100)]
Remove useless processing for non-raw formats

15 years agoAdd support for the 'Requirement' and 'Encoder' tags
Edward Hervey [Fri, 30 Jan 2009 14:34:31 +0000 (15:34 +0100)]
Add support for the 'Requirement' and 'Encoder' tags

15 years agoModify private-tag name formatter so that it doesn't go mad at fourcc starting with...
Edward Hervey [Fri, 30 Jan 2009 14:33:19 +0000 (15:33 +0100)]
Modify private-tag name formatter so that it doesn't go mad at fourcc starting with '(c)'.

15 years agoFix comparison of the tuner norms
Brijesh Singh [Fri, 30 Jan 2009 13:40:51 +0000 (14:40 +0100)]
Fix comparison of the tuner norms

The V4L2 tuner norms that a device supports could
be a subset of some norm (e.g. NTSC instead of NTSC_M).
The comparison should be done by & instead of ==.

See http://www.linuxtv.org/downloads/video4linux/API/V4L2_API/spec-single/v4l2.html#STANDARD

Fixes bug #569820.

15 years agoUse a symbolic link for the pre-commit client-side hook
Edward Hervey [Fri, 30 Jan 2009 07:53:06 +0000 (08:53 +0100)]
Use a symbolic link for the pre-commit client-side hook

15 years agoOnly unref the peer when there is one.
Thijs Vermeir [Thu, 29 Jan 2009 13:08:56 +0000 (14:08 +0100)]
Only unref the peer when there is one.

15 years agoRemove version numbers from a few gst-launch examples.
Stefan Kost [Thu, 29 Jan 2009 09:07:59 +0000 (11:07 +0200)]
Remove version numbers from a few gst-launch examples.

The majority of the examples doe not use -0.10 and this will also help us to maintain the docs.

15 years agoUpdate and add documentation for platform specific plugins (sys).
Stefan Kost [Thu, 29 Jan 2009 08:10:08 +0000 (10:10 +0200)]
Update and add documentation for platform specific plugins (sys).

Link to properties. Correct titles for examples. Fix examples.

15 years agoAdd ' to framerate argument and remove the word 'simple' as all our pipelines are...
Stefan Kost [Thu, 29 Jan 2009 07:45:25 +0000 (09:45 +0200)]
Add ' to framerate argument and remove the word 'simple' as all our pipelines are apparently simple.

15 years agoAdd examples for the jpeg elements.
Stefan Kost [Thu, 29 Jan 2009 07:42:56 +0000 (09:42 +0200)]
Add examples for the jpeg elements.

15 years agoFix compile error in the last commit
Jan Schmidt [Wed, 28 Jan 2009 21:40:11 +0000 (21:40 +0000)]
Fix compile error in the last commit

15 years agoRewrite the pulse plugin, conditionally enabling new behaviour with
Jan Schmidt [Wed, 28 Jan 2009 20:34:40 +0000 (20:34 +0000)]
Rewrite the pulse plugin, conditionally enabling new behaviour with
newer pulseaudio.

Fixes: #567794

* Hook pulsesink's volume property up with the stream volume -- not the
  sink volume in PA.

* Read the device description directly from the sink instead of going
  via the mixer.

* Properly implement _reset() methods for both sink and source to avoid
  deadlocks when shutting down a pipeline.

* Replace all simple pa_threaded_mainloop_wait() by proper loops to
  guarantee that we wait for the right event in case multiple events are
  fired.  While this is not strictly necessary in many cases it
  certainly is more correct and makes me sleep better at night.

* Replace CHECK_DEAD_GOTO macros with proper functions

* Extend the number of supported channels to 32 since that is the actual
  limit in PA.

* Get rid of _dispose() methods since we don't need them.

* Increase the volume property upper limit of the sink to 1000.

* Reset function pointers after we disconnect a stream/context. Better
  fix for bug 556986.

* Reset the state of the element properly if open/prepare fails

* Cork the PA stream when the pipeline is paused. This allows the PA
* daemon to
  close audio device on pause and thus save a bit of power.

* Set PA stream properties based on GST tags such as GST_TAG_TITLE,
  GST_TAG_ARTIST, and so on.

Signed-off-by: Lennart Poettering <lennart@poettering.net>
15 years agoUpdate and add documentation for plugins with deps (ext).
Stefan Kost [Wed, 28 Jan 2009 15:46:06 +0000 (17:46 +0200)]
Update and add documentation for plugins with deps (ext).

Link to properties. Correct titles for examples. Document a few trivial cases. Keep lists in section file and docs/plugins/Makefile.am alphabetically ordered. Fix warnings that gtk-doc points out.

15 years agoLimit the delay by a new max-delay property
Sebastian Dröge [Wed, 28 Jan 2009 14:57:20 +0000 (15:57 +0100)]
Limit the delay by a new max-delay property

Introduce a new max-delay property that can only
be set before going to PLAYING or PAUSED. This
is used to limit the maximum delay and is set
to the current delay by default.

Using this will make sure that we have enough data
in our internal ringbuffer for the echo. With dynamic
reallocation of the ringbuffer as used before silence
could've been used as the echo directly after setting
a new delay.

15 years agoRevert previous bogus commit
Edward Hervey [Wed, 28 Jan 2009 10:58:42 +0000 (11:58 +0100)]
Revert previous bogus commit

15 years agoUpdate and add documentation for plugins with no deps (gst).
Stefan Kost [Wed, 28 Jan 2009 10:29:42 +0000 (12:29 +0200)]
Update and add documentation for plugins with no deps (gst).

Link to properties. Correct titles for examples. Document a few trivial cases. Keep lists in section file and docs/plugins/Makefile.am alphabetically ordered.

15 years agoFix example apps by drawing in the main-loop.
Stefan Kost [Tue, 27 Jan 2009 21:09:05 +0000 (23:09 +0200)]
Fix example apps by drawing in the main-loop.

15 years agotests: fix build of aspectratio crop unit test in uninstalled environment.
Tim-Philipp Müller [Tue, 27 Jan 2009 20:33:02 +0000 (20:33 +0000)]
tests: fix build of aspectratio crop unit test in uninstalled environment.

15 years agoMake git ignore backup files
Tim-Philipp Müller [Tue, 27 Jan 2009 20:30:02 +0000 (20:30 +0000)]
Make git ignore backup files

15 years agoPlug a memory leak in a debug message.
Peter Kjellerstedt [Mon, 26 Jan 2009 15:14:47 +0000 (16:14 +0100)]
Plug a memory leak in a debug message.

15 years agoCorrect return value from gst_udp_get_addr() when no known family is found.
Peter Kjellerstedt [Thu, 22 Jan 2009 14:59:40 +0000 (15:59 +0100)]
Correct return value from gst_udp_get_addr() when no known family is found.

15 years agoUse libsoup-gnome for proxy configuration if available
Jonathan Matthew [Mon, 26 Jan 2009 08:51:36 +0000 (09:51 +0100)]
Use libsoup-gnome for proxy configuration if available

If libsoup-gnome is found use this as it will give us
the GNOME proxy configuration. Otherwise use normal
libsoup.

The GNOME proxy configuration will only be used if
the proxy properties are not set on souphttpsrc
and if the http_proxy environment variable is not
set.

Fixes bug #552140.

15 years agoAdd a few more video fourcc's
David Schleef [Mon, 26 Jan 2009 03:26:46 +0000 (19:26 -0800)]
Add a few more video fourcc's

15 years agoAdd unit test for aspectratiocrop Fixes bug #527951
Thijs Vermeir [Sat, 24 Jan 2009 13:48:00 +0000 (14:48 +0100)]
Add unit test for aspectratiocrop Fixes bug #527951

Add unit test for aspectratiocrop and refactor this element. Added
finalize function to cleanup leaking mutex.

15 years agoIgnore check binaries
Jan Schmidt [Sun, 25 Jan 2009 14:34:09 +0000 (14:34 +0000)]
Ignore check binaries

15 years agoSave some allocations if the echo delay is increased often
Sebastian Dröge [Sat, 24 Jan 2009 17:28:06 +0000 (18:28 +0100)]
Save some allocations if the echo delay is increased often

Save some allocations if the echo delay is increased often
during playback by always allocating enough memory to hold
data up to the next complete second, i.e. in the worst case
allocate memory for one additional second.

15 years agoUpdate plugin version in documentation
Thijs Vermeir [Sat, 24 Jan 2009 13:25:08 +0000 (14:25 +0100)]
Update plugin version in documentation

15 years agoFix link in documentation of videocrop element
Thijs Vermeir [Fri, 23 Jan 2009 20:47:40 +0000 (21:47 +0100)]
Fix link in documentation of videocrop element

15 years agoAdd documentation for aspectratiocrop
Thijs Vermeir [Fri, 23 Jan 2009 20:46:13 +0000 (21:46 +0100)]
Add documentation for aspectratiocrop

15 years agoUpdate win32/common/config.h for the new development cycle
Sebastian Dröge [Sat, 24 Jan 2009 12:21:39 +0000 (13:21 +0100)]
Update win32/common/config.h for the new development cycle

15 years agoAdd note that audioecho's reverb sounds metallic
Sebastian Dröge [Sat, 24 Jan 2009 10:53:40 +0000 (11:53 +0100)]
Add note that audioecho's reverb sounds metallic

Add a note to the docs that audioecho's reverb will
sound metallic. This happens because for a real
reverb filter additional filtering is necessary.

Also note which values should be used for the delay
property to get an echo effect.

15 years agoMore entries for the gitignores
Jan Schmidt [Fri, 23 Jan 2009 23:38:10 +0000 (23:38 +0000)]
More entries for the gitignores

15 years agoskip video/x-raw-gray in videocrop unit test
Thijs Vermeir [Fri, 23 Jan 2009 19:36:27 +0000 (20:36 +0100)]
skip video/x-raw-gray in videocrop unit test

A recent commit added video/x-raw-gray support to videocrop. However
this lets the videocrop unit test fail. Because videotestsrc can't
generate this format.

15 years agoAdd aspectratiocrop element. Fixes bug #527951
Thijs Vermeir [Fri, 23 Jan 2009 14:39:46 +0000 (15:39 +0100)]
Add aspectratiocrop element. Fixes bug #527951

Add new aspectratiocrop element that crops the video
to a specified aspect ratio using videocrop.

15 years agoFix navigation event forwarding while cropping. Fixes bug #567992.
Thijs Vermeir [Fri, 23 Jan 2009 09:49:28 +0000 (10:49 +0100)]
Fix navigation event forwarding while cropping. Fixes bug #567992.

Fix the navigation event forwarding while cropping by adjusting
the mouse position by the amount of cropped pixels.

15 years agoFix linking on Solaris. Fixes bug #568809.
Brian Cameron [Fri, 23 Jan 2009 09:04:39 +0000 (10:04 +0100)]
Fix linking on Solaris. Fixes bug #568809.

Check for the socket library which is needed
for socket() on Solaris.

15 years agoBump version number again -> 0.10.13.1
Jan Schmidt [Thu, 22 Jan 2009 22:41:43 +0000 (22:41 +0000)]
Bump version number again -> 0.10.13.1

15 years agoAdd releases 0.10.12 and 0.10.13 to the doap file
Jan Schmidt [Thu, 22 Jan 2009 22:41:01 +0000 (22:41 +0000)]
Add releases 0.10.12 and 0.10.13 to the doap file

15 years agoUpdate common snapshot.
Stefan Kost [Thu, 22 Jan 2009 16:08:50 +0000 (18:08 +0200)]
Update common snapshot.

15 years agoBack to devel -> 0.10.12.1
Jan Schmidt [Thu, 22 Jan 2009 14:25:07 +0000 (14:25 +0000)]
Back to devel -> 0.10.12.1

15 years agoRelease 0.10.12
Jan Schmidt [Thu, 22 Jan 2009 01:29:40 +0000 (01:29 +0000)]
Release 0.10.12

15 years agoFix for security advisory TKADV2009-0xx
David Schleef [Thu, 22 Jan 2009 01:22:39 +0000 (17:22 -0800)]
Fix for security advisory TKADV2009-0xx

Fix potential buffer overflows while reading quicktime headers.
Security issue noticed by Tobias Klein.

15 years agoFix typo and small flaw in flac decoder
Jan Schmidt [Wed, 21 Jan 2009 12:56:55 +0000 (12:56 +0000)]
Fix typo and small flaw in flac decoder

15 years agoFix pre-commit hook
Sebastian Dröge [Thu, 22 Jan 2009 12:49:35 +0000 (13:49 +0100)]
Fix pre-commit hook

15 years agoRename audioreverb to audioecho. Fixes bug #568395.
Sebastian Dröge [Thu, 22 Jan 2009 09:40:34 +0000 (10:40 +0100)]
Rename audioreverb to audioecho. Fixes bug #568395.

The element can add an echo and a simple reverb effect to
an audio stream but for a real reverb filter it would need
some additional filtering to prevent a metallic-sounding
result.

15 years agoFree leftover udp ports (if any) when a setup request fails.
Wim Taymans [Thu, 22 Jan 2009 11:21:29 +0000 (12:21 +0100)]
Free leftover udp ports (if any) when a setup request fails.

15 years agoInstall and use pre-commit indentation hook from common
Edward Hervey [Thu, 22 Jan 2009 05:05:26 +0000 (06:05 +0100)]
Install and use pre-commit indentation hook from common

15 years agoWhitespace fixes and some improved debug lines.
Wim Taymans [Wed, 21 Jan 2009 12:25:06 +0000 (13:25 +0100)]
Whitespace fixes and some improved debug lines.

15 years agoautogen.sh : Use git submodule
Edward Hervey [Wed, 21 Jan 2009 03:31:58 +0000 (04:31 +0100)]
autogen.sh : Use git submodule

15 years agosys/v4l2/gstv4l2src.c: Fix error code (the message string also needs love, but not... GIT_CONVERSION
Tim-Philipp Müller [Tue, 20 Jan 2009 15:33:05 +0000 (15:33 +0000)]
sys/v4l2/gstv4l2src.c: Fix error code (the message string also needs love, but not today).

Original commit message from CVS:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read):
Fix error code (the message string also needs love, but not today).

15 years agogst/videocrop/gstvideocrop.c: Add 8bit grayscale support to videocrop plugin. Fixes...
Luotao Fu [Mon, 19 Jan 2009 11:44:36 +0000 (11:44 +0000)]
gst/videocrop/gstvideocrop.c: Add 8bit grayscale support to videocrop plugin. Fixes #567952.

Original commit message from CVS:
Patch by: Luotao Fu <l dot fu at pengutronix dot de>
* gst/videocrop/gstvideocrop.c:
(gst_video_crop_get_image_details_from_caps):
Add 8bit grayscale support to videocrop plugin. Fixes #567952.

15 years agogst/audiofx/audioreverb.c: Set the default value in the instance init function.
Sebastian Dröge [Mon, 19 Jan 2009 11:22:06 +0000 (11:22 +0000)]
gst/audiofx/audioreverb.c: Set the default value in the instance init function.

Original commit message from CVS:
* gst/audiofx/audioreverb.c: (gst_audio_reverb_init):
Set the default value in the instance init function.

15 years agoAdd an echo/reverb filter to the audiofx plugin, with configurable echo delay, intens...
Sebastian Dröge [Mon, 19 Jan 2009 11:19:08 +0000 (11:19 +0000)]
Add an echo/reverb filter to the audiofx plugin, with configurable echo delay, intensity and feedback. Fixes bug #567...

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
* docs/plugins/inspect/plugin-audiofx.xml:
* docs/plugins/inspect/plugin-spectrum.xml:
* gst/audiofx/Makefile.am:
* gst/audiofx/audiofx.c: (plugin_init):
* gst/audiofx/audioreverb.c: (gst_audio_reverb_base_init),
(gst_audio_reverb_class_init), (gst_audio_reverb_init),
(gst_audio_reverb_finalize), (gst_audio_reverb_set_property),
(gst_audio_reverb_get_property), (gst_audio_reverb_setup),
(gst_audio_reverb_stop), (gst_audio_reverb_transform_ip):
* gst/audiofx/audioreverb.h:
* tests/check/Makefile.am:
* tests/check/elements/audioreverb.c: (setup_reverb),
(cleanup_reverb), (GST_START_TEST), (audioreverb_suite):
Add an echo/reverb filter to the audiofx plugin, with configurable
echo delay, intensity and feedback. Fixes bug #567874.

15 years agogst/spectrum/gstspectrum.*: Implement a simple compensation algorithm for rounding...
Sebastian Dröge [Mon, 19 Jan 2009 10:13:53 +0000 (10:13 +0000)]
gst/spectrum/gstspectrum.*: Implement a simple compensation algorithm for rounding errors.

Original commit message from CVS:
* gst/spectrum/gstspectrum.c: (gst_spectrum_reset_state),
(gst_spectrum_transform_ip):
* gst/spectrum/gstspectrum.h:
Implement a simple compensation algorithm for rounding errors.
This makes sure that a spectrum message is posted on the bus
every interval nanoseconds. Fixes bug #567955.

15 years agosys/osxaudio/Makefile.am: Link against CoreServices (needed for osx 10.4) and fix...
Michael Smith [Thu, 15 Jan 2009 21:16:45 +0000 (21:16 +0000)]
sys/osxaudio/Makefile.am: Link against CoreServices (needed for osx 10.4) and fix up the linker flags. Fixes #567853.

Original commit message from CVS:
* sys/osxaudio/Makefile.am:
Link against CoreServices (needed for osx 10.4) and fix up the linker
flags. Fixes #567853.

15 years agogst/qtdemux/qtdemux.c: Catch invalid and commonly wrong playback rates in the elst...
Wim Taymans [Thu, 15 Jan 2009 14:53:18 +0000 (14:53 +0000)]
gst/qtdemux/qtdemux.c: Catch invalid and commonly wrong playback rates in the elst atoms.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_segments):
Catch invalid and commonly wrong playback rates in the elst atoms.
Fixes #567800.

15 years agogst/spectrum/gstspectrum.c: Don't call gst_fft_f32_free() with NULL to prevent a...
Sebastian Dröge [Thu, 15 Jan 2009 11:40:23 +0000 (11:40 +0000)]
gst/spectrum/gstspectrum.c: Don't call gst_fft_f32_free() with NULL to prevent a crash. Fixes bug #567642.

Original commit message from CVS:
* gst/spectrum/gstspectrum.c: (gst_spectrum_reset_state):
Don't call gst_fft_f32_free() with NULL to prevent a
crash. Fixes bug #567642.

15 years agogst/spectrum/gstspectrum.*: Use correct types for frame/fft counters and some minor...
Sebastian Dröge [Wed, 14 Jan 2009 15:44:18 +0000 (15:44 +0000)]
gst/spectrum/gstspectrum.*: Use correct types for frame/fft counters and some minor cleanup.

Original commit message from CVS:
* gst/spectrum/gstspectrum.c: (gst_spectrum_transform_ip):
* gst/spectrum/gstspectrum.h:
Use correct types for frame/fft counters and some minor
cleanup.

15 years agoext/pulse/pulseprobe.c: Fix refcount loop, resulting in a thread leak. Fixes bug...
Lennart Poettering [Wed, 14 Jan 2009 15:37:07 +0000 (15:37 +0000)]
ext/pulse/pulseprobe.c: Fix refcount loop, resulting in a thread leak. Fixes bug #567746.

Original commit message from CVS:
Patch by: Lennart Poettering <lennart at poettering dot net>
* ext/pulse/pulseprobe.c: (gst_pulseprobe_new),
(gst_pulseprobe_free):
Fix refcount loop, resulting in a thread leak. Fixes bug #567746.

15 years agogst/spectrum/: Post a spectrum message on the bus for every interval, even if the...
Sebastian Dröge [Wed, 14 Jan 2009 10:46:54 +0000 (10:46 +0000)]
gst/spectrum/: Post a spectrum message on the bus for every interval, even if the interval is small than the length o...

Original commit message from CVS:
* gst/spectrum/Makefile.am:
* gst/spectrum/README:
* gst/spectrum/gstspectrum.c: (gst_spectrum_base_init),
(gst_spectrum_class_init), (gst_spectrum_init),
(gst_spectrum_reset_state), (gst_spectrum_finalize),
(gst_spectrum_set_property), (gst_spectrum_start),
(gst_spectrum_stop), (gst_spectrum_setup),
(gst_spectrum_transform_ip):
* gst/spectrum/gstspectrum.h:
Post a spectrum message on the bus for every interval, even
if the interval is small than the length of the FFT.
Fixes bug #567642.
Major cleanup of the spectrum element.

15 years agoAdd audioiirfilter and audiofirfilter elements which allow generic IIR/FIR filters...
Sebastian Dröge [Tue, 13 Jan 2009 19:23:57 +0000 (19:23 +0000)]
Add audioiirfilter and audiofirfilter elements which allow generic IIR/FIR filters to be implemented by providing the...

Original commit message from CVS:
* configure.ac:
* gst/audiofx/Makefile.am:
* gst/audiofx/audiofirfilter.c: (gst_audio_fir_filter_base_init),
(gst_audio_fir_filter_class_init),
(gst_audio_fir_filter_update_kernel), (gst_audio_fir_filter_init),
(gst_audio_fir_filter_setup), (gst_audio_fir_filter_finalize),
(gst_audio_fir_filter_set_property),
(gst_audio_fir_filter_get_property):
* gst/audiofx/audiofirfilter.h:
* gst/audiofx/audiofx.c: (plugin_init):
* gst/audiofx/audioiirfilter.c: (gst_audio_iir_filter_base_init),
(gst_audio_iir_filter_class_init),
(gst_audio_iir_filter_update_coefficients),
(gst_audio_iir_filter_init), (gst_audio_iir_filter_setup),
(gst_audio_iir_filter_finalize),
(gst_audio_iir_filter_set_property),
(gst_audio_iir_filter_get_property):
* gst/audiofx/audioiirfilter.h:
Add audioiirfilter and audiofirfilter elements which allow
generic IIR/FIR filters to be implemented by providing the
filter coefficients. Fixes bug #567577.
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
* docs/plugins/gst-plugins-good-plugins.signals:
* docs/plugins/inspect/plugin-alaw.xml:
* docs/plugins/inspect/plugin-audiofx.xml:
* docs/plugins/inspect/plugin-avi.xml:
* docs/plugins/inspect/plugin-flac.xml:
* docs/plugins/inspect/plugin-mulaw.xml:
* docs/plugins/inspect/plugin-video4linux2.xml:
* docs/plugins/inspect/plugin-wavparse.xml:
Add documentation for the audioiirfilter and audiofirfilter
elements.
* tests/check/Makefile.am:
* tests/check/elements/audiofirfilter.c: (on_message),
(on_rate_changed), (on_handoff), (GST_START_TEST),
(audiofirfilter_suite):
* tests/check/elements/audioiirfilter.c: (on_message),
(on_rate_changed), (on_handoff), (GST_START_TEST),
(audioiirfilter_suite):
* tests/examples/Makefile.am:
* tests/examples/audiofx/Makefile.am:
* tests/examples/audiofx/firfilter-example.c: (on_message),
(on_rate_changed), (main):
* tests/examples/audiofx/iirfilter-example.c: (on_message),
(on_rate_changed), (main):
Add unit tests and example applications for the two filter
elements.

15 years agogst/qtdemux/qtdemux.c: Fix format string for guint64.
Thiago Sousa Santos [Tue, 13 Jan 2009 19:09:19 +0000 (19:09 +0000)]
gst/qtdemux/qtdemux.c: Fix format string for guint64.

Original commit message from CVS:
Patch by: Thiago Sousa Santos <thiagoss@embedded.ufcg.edu.br>
* gst/qtdemux/qtdemux.c:
Fix format string for guint64.

15 years agosys/osxaudio/Makefile.am: osxaudio plugin now requires AudioUnit framework, so link...
Michael Smith [Tue, 13 Jan 2009 19:04:09 +0000 (19:04 +0000)]
sys/osxaudio/Makefile.am: osxaudio plugin now requires AudioUnit framework, so link against that.

Original commit message from CVS:
* sys/osxaudio/Makefile.am:
osxaudio plugin now requires AudioUnit framework, so link against that.
Clean up tabs v spaces while I'm there.

15 years agotests/examples/rtp/server-alsasrc-PCMA.c: Add some example code for printing the...
Wim Taymans [Tue, 13 Jan 2009 17:49:07 +0000 (17:49 +0000)]
tests/examples/rtp/server-alsasrc-PCMA.c: Add some example code for printing the RTP manager stats.

Original commit message from CVS:
* tests/examples/rtp/server-alsasrc-PCMA.c: (print_source_stats),
(print_stats), (main):
Add some example code for printing the RTP manager stats.

15 years agogst/audiofx/: Use a custom mutex for protecting the instance fields instead of the...
Sebastian Dröge [Tue, 13 Jan 2009 08:24:25 +0000 (08:24 +0000)]
gst/audiofx/: Use a custom mutex for protecting the instance fields instead of the GstObject lock. Using the latter c...

Original commit message from CVS:
* gst/audiofx/audiochebband.c: (gst_audio_cheb_band_class_init),
(gst_audio_cheb_band_init), (gst_audio_cheb_band_finalize),
(gst_audio_cheb_band_set_property):
* gst/audiofx/audiochebband.h:
* gst/audiofx/audiocheblimit.c: (gst_audio_cheb_limit_class_init),
(gst_audio_cheb_limit_init), (gst_audio_cheb_limit_finalize),
(gst_audio_cheb_limit_set_property):
* gst/audiofx/audiocheblimit.h:
* gst/audiofx/audiowsincband.c: (gst_audio_wsincband_class_init),
(gst_audio_wsincband_init), (gst_audio_wsincband_finalize),
(gst_audio_wsincband_set_property):
* gst/audiofx/audiowsincband.h:
* gst/audiofx/audiowsinclimit.c: (gst_audio_wsinclimit_class_init),
(gst_audio_wsinclimit_init), (gst_audio_wsinclimit_finalize),
(gst_audio_wsinclimit_set_property):
* gst/audiofx/audiowsinclimit.h:
Use a custom mutex for protecting the instance fields instead of
the GstObject lock. Using the latter can lead to deadlocks, especially
with the FIR filters when updating the latency.

15 years agogst/audiofx/: Implement a base class for generic audio FIR filters.
Sebastian Dröge [Sun, 11 Jan 2009 19:03:38 +0000 (19:03 +0000)]
gst/audiofx/: Implement a base class for generic audio FIR filters.

Original commit message from CVS:
* gst/audiofx/Makefile.am:
* gst/audiofx/audiofxbasefirfilter.c:
(gst_audio_fx_base_fir_filter_dispose),
(gst_audio_fx_base_fir_filter_base_init),
(gst_audio_fx_base_fir_filter_class_init),
(gst_audio_fx_base_fir_filter_init),
(gst_audio_fx_base_fir_filter_push_residue),
(gst_audio_fx_base_fir_filter_setup),
(gst_audio_fx_base_fir_filter_transform),
(gst_audio_fx_base_fir_filter_start),
(gst_audio_fx_base_fir_filter_stop),
(gst_audio_fx_base_fir_filter_query),
(gst_audio_fx_base_fir_filter_query_type),
(gst_audio_fx_base_fir_filter_event),
(gst_audio_fx_base_fir_filter_set_kernel):
* gst/audiofx/audiofxbasefirfilter.h:
* gst/audiofx/audiofxbaseiirfilter.c:
Implement a base class for generic audio FIR filters.
* gst/audiofx/audiowsincband.c:
(gst_gst_audio_wsincband_mode_get_type),
(gst_gst_audio_wsincband_window_get_type),
(gst_audio_wsincband_base_init), (gst_audio_wsincband_class_init),
(gst_audio_wsincband_init), (gst_audio_wsincband_build_kernel),
(gst_audio_wsincband_setup), (gst_audio_wsincband_set_property),
(gst_audio_wsincband_get_property):
* gst/audiofx/audiowsincband.h:
* gst/audiofx/audiowsinclimit.c:
(gst_audio_wsinclimit_mode_get_type),
(gst_audio_wsinclimit_window_get_type),
(gst_audio_wsinclimit_base_init),
(gst_audio_wsinclimit_class_init), (gst_audio_wsinclimit_init),
(gst_audio_wsinclimit_build_kernel), (gst_audio_wsinclimit_setup),
(gst_audio_wsinclimit_set_property),
(gst_audio_wsinclimit_get_property):
* gst/audiofx/audiowsinclimit.h:
* tests/check/elements/audiowsincband.c: (GST_START_TEST):
* tests/check/elements/audiowsinclimit.c: (GST_START_TEST):
Use this new base class for audiowsincband and audiowsinclimit.
Also cleanup both elements.

15 years agogst/qtdemux/qtdemux.c: In push mode, error out if we get EOS before we've created...
Michael Smith [Thu, 8 Jan 2009 18:17:13 +0000 (18:17 +0000)]
gst/qtdemux/qtdemux.c: In push mode, error out if we get EOS before we've created any srcpads.

Original commit message from CVS:
* gst/qtdemux/qtdemux.c:
In push mode, error out if we get EOS before we've created any srcpads.
Handle (in pull mode) some files that have a truncated moov atom where
the final sub-atom is a 'free' atom and the contents of that are not
present in the file.

15 years agogst/matroska/: Some cleanups, refactoring and minor enhancements in caps handling.
Mark Nauwelaerts [Thu, 8 Jan 2009 15:56:46 +0000 (15:56 +0000)]
gst/matroska/: Some cleanups, refactoring and minor enhancements in caps handling.

Original commit message from CVS:
* gst/matroska/matroska-demux.c: (gst_matroska_demux_video_caps):
* gst/matroska/matroska-mux.c: (gst_matroska_mux_video_pad_setcaps):
Some cleanups, refactoring and minor enhancements in caps handling.
* gst/matroska/matroska-mux.c: (gst_matroska_mux_class_init),
(gst_matroska_mux_init), (gst_matroska_pad_reset),
(gst_matroska_pad_free), (gst_matroska_mux_reset),
(gst_matroska_mux_video_pad_setcaps),
(gst_matroska_mux_request_new_pad):
* tests/check/elements/matroskamux.c: (teardown_src_pad):
Only remove, release or reset what is appropriate upon state change.

15 years agoext/pulse/pulsesink.*: Use a mutex to protect the current stream pointer, and ignore...
Jan Schmidt [Wed, 7 Jan 2009 20:38:50 +0000 (20:38 +0000)]
ext/pulse/pulsesink.*: Use a mutex to protect the current stream pointer, and ignore callbacks for stream objects tha...

Original commit message from CVS:
* ext/pulse/pulsesink.c:
* ext/pulse/pulsesink.h:
Use a mutex to protect the current stream pointer, and ignore
callbacks for stream objects that have been destroyed already.
Fixes problems with unprepare/prepare cycles caused by the input
caps changing, without reintroducing bug #556986.

15 years agosys/v4l2/gstv4l2src.c: Remove () from translateable string, so that it makes more...
Jan Schmidt [Wed, 7 Jan 2009 16:09:47 +0000 (16:09 +0000)]
sys/v4l2/gstv4l2src.c: Remove () from translateable string, so that it makes more sense.

Original commit message from CVS:
* sys/v4l2/gstv4l2src.c:
Remove () from translateable string, so that it makes more sense.

15 years agogst/avi/gstavimux.c: Minor fix/cleanup in header field calculation.
Mark Nauwelaerts [Wed, 7 Jan 2009 09:43:13 +0000 (09:43 +0000)]
gst/avi/gstavimux.c: Minor fix/cleanup in header field calculation.

Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avi_mux_audsink_set_caps):
Minor fix/cleanup in header field calculation.

15 years agogst/matroska/matroska-mux.*: Remove internal taglist and fully use tagsetter interface.
Mark Nauwelaerts [Tue, 6 Jan 2009 17:48:10 +0000 (17:48 +0000)]
gst/matroska/matroska-mux.*: Remove internal taglist and fully use tagsetter interface.

Original commit message from CVS:
* gst/matroska/matroska-mux.c: (gst_matroska_mux_reset),
(gst_matroska_mux_handle_sink_event), (gst_matroska_mux_finish):
* gst/matroska/matroska-mux.h:
Remove internal taglist and fully use tagsetter interface.

15 years agogst/avi/gstavimux.*: Ensure header size invariance during subsequent rewrite by using...
Mark Nauwelaerts [Tue, 6 Jan 2009 14:50:29 +0000 (14:50 +0000)]
gst/avi/gstavimux.*: Ensure header size invariance during subsequent rewrite by using tags snapshot.

Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avi_mux_reset),
(gst_avi_mux_riff_get_avi_header):
* gst/avi/gstavimux.h:
Ensure header size invariance during subsequent rewrite by using
tags snapshot.