platform/upstream/gst-plugins-good.git
15 years agomatroskademux: Remove gst_util_dump_mem() calls.
Edward Hervey [Fri, 27 Feb 2009 10:04:08 +0000 (11:04 +0100)]
matroskademux: Remove gst_util_dump_mem() calls.

15 years agoavidemux: fix SEEK event handling in push mode
Julien Moutte [Thu, 26 Feb 2009 18:07:35 +0000 (19:07 +0100)]
avidemux: fix SEEK event handling in push mode

When in push mode we should not try to handle the SEEK event as there's
no code to handle it properly. Propagate upstream.

15 years agortspsrc: add the .h file change too
Patrick Radizi [Thu, 26 Feb 2009 18:05:06 +0000 (19:05 +0100)]
rtspsrc: add the .h file change too

Add the .h file change for the new property.

15 years agortspsrc: add property to disable RTCP
Patrick Radizi [Thu, 26 Feb 2009 18:03:52 +0000 (19:03 +0100)]
rtspsrc: add property to disable RTCP

Some old servers don't like us doing RTCP and thus we need a property to disable
it. See #573173.

15 years agoudp: fix gst_udp_set_loop_ttl() again
Jan Smout [Thu, 26 Feb 2009 12:19:31 +0000 (13:19 +0100)]
udp: fix gst_udp_set_loop_ttl() again

Fix the gst_udp_set_loop_ttl() function that was commented out in a
previous commit. See #573115.

15 years agortpvrawdepay: fail on interlaced video
Wim Taymans [Thu, 26 Feb 2009 12:06:17 +0000 (13:06 +0100)]
rtpvrawdepay: fail on interlaced video

Fail on interlaced video until we support it.

15 years agortpvrawpay: fail on interlaced video
Wim Taymans [Thu, 26 Feb 2009 12:00:58 +0000 (13:00 +0100)]
rtpvrawpay: fail on interlaced video

Detect and fail when trying to payload interlaced video.

15 years agoChange how win32/common/config.h is updated
David Schleef [Thu, 26 Feb 2009 04:47:15 +0000 (20:47 -0800)]
Change how win32/common/config.h is updated

Generate win32/common/config.h-new directly from config.h.in,
using shell variables in configure and some hard-coded information.
Change top-level makefile so that 'make win32-update' copies the
generated file to win32/common/config.h, which we keep in source
control.  It's kept in source control so that the git tree is
buildable from VS.

This change is similar to the one recently applied to GStreamer
and gst-plugins-good.  The previous config.h file in -good was in
pretty bad shape, so unlike core and base, I didn't attempt to
leave it strictly the same, but fixed it as necessary.  Needs
testing I cannot do myself.

15 years agodvdec: Add interlacing info to caps and buffers
David Schleef [Thu, 26 Feb 2009 03:58:29 +0000 (19:58 -0800)]
dvdec: Add interlacing info to caps and buffers

15 years agobuild: Update shave init statement for changes in common. Bump common.
Jan Schmidt [Wed, 25 Feb 2009 14:57:33 +0000 (14:57 +0000)]
build: Update shave init statement for changes in common. Bump common.

15 years agoudpsrc: fix compilation
Wim Taymans [Wed, 25 Feb 2009 13:01:26 +0000 (14:01 +0100)]
udpsrc: fix compilation

Fix compilation on systems MSG_ERRQUEUE and IP_RECVERR.

15 years agojpegenc: error out instead of crashing if no caps have been set
Tim-Philipp Müller [Thu, 19 Feb 2009 20:14:10 +0000 (20:14 +0000)]
jpegenc: error out instead of crashing if no caps have been set

Don't crash if we receive a buffer without caps. Fixes #572413.

15 years agoudpsrc: Make sure the sockaddr length used for recvfrom() is big enough.
Peter Kjellerstedt [Wed, 25 Feb 2009 10:35:31 +0000 (11:35 +0100)]
udpsrc: Make sure the sockaddr length used for recvfrom() is big enough.

Previously the sockaddr length used for recvfrom() was calculated as
sizeof (struct sockaddr). However, this is too little to hold an IPv6
address, so the full size of the gst_sockaddr union should be used
instead.

15 years agoudpsrc: Unify the use of union gst_sockaddr.
Peter Kjellerstedt [Wed, 25 Feb 2009 10:32:28 +0000 (11:32 +0100)]
udpsrc: Unify the use of union gst_sockaddr.

15 years agoAutomatic update of common submodule
Jan Schmidt [Wed, 25 Feb 2009 11:32:07 +0000 (11:32 +0000)]
Automatic update of common submodule

From 9cf8c9b to a6ce5c6

15 years agoavidemux: avoid crashing on subtitles
Wim Taymans [Wed, 25 Feb 2009 11:05:22 +0000 (12:05 +0100)]
avidemux: avoid crashing on subtitles

Avoid a crash in avi with subtitles by only dereferencing the video description
when we actually are dealing with video in the _invert function.

15 years agoudp: Fix strict-aliasing warnings from gcc 4.4.0
Jan Schmidt [Tue, 24 Feb 2009 17:58:32 +0000 (17:58 +0000)]
udp: Fix strict-aliasing warnings from gcc 4.4.0

Fix strict aliasing warnings by defining a union on the different
sockaddr structs that we need.

15 years agortp: Fix compiler warning in h264 payloader
Tim-Philipp Müller [Tue, 24 Feb 2009 17:35:46 +0000 (17:35 +0000)]
rtp: Fix compiler warning in h264 payloader

Fix an undefined behaviour warning from gcc 4.4.0

Patch By: Tim-Philipp Müller <tim.muller@collabora.co.uk>
Fixes: #570995
Signed-Off-By: Jan Schmidt <jan.schmidt@sun.com>
15 years agoUse shave for the build output
Jan Schmidt [Sun, 22 Feb 2009 17:23:09 +0000 (17:23 +0000)]
Use shave for the build output

15 years agogconf: Rename gconf.[ch] to gstgconf.[ch] to prevent name conflicts
Sebastian Dröge [Tue, 24 Feb 2009 13:55:28 +0000 (14:55 +0100)]
gconf: Rename gconf.[ch] to gstgconf.[ch] to prevent name conflicts

15 years agoqtdemux: Also use "(c)inf" to fill the comment tag
Edward Hervey [Tue, 24 Feb 2009 13:41:26 +0000 (14:41 +0100)]
qtdemux: Also use "(c)inf" to fill the comment tag

15 years agortspsrc: perform UDP SETUP according to MS RTSP spec
Mark Nauwelaerts [Mon, 26 Jan 2009 10:06:13 +0000 (11:06 +0100)]
rtspsrc: perform UDP SETUP according to MS RTSP spec

MS RTSP spec states that the UDP port pair used in subsequent SETUP
requests for various streams must be identical (since there will actually
be only 1 stream of muxed asf packets).  Following traditional specs and
using different port pairs in the SETUPs for separate streams will result
in all but the first one failing and only one stream being streamed.

So, in appropriate circumstances, retry UDP SETUP using previously used
port pair.  Fixes #552650.

15 years agoRead ICMP error messages instead of looping
Aurelien Grimaud [Mon, 23 Feb 2009 19:49:37 +0000 (20:49 +0100)]
Read ICMP error messages instead of looping

When we are dealing with connected sockets shared between a udpsrc and a udpsink
we might receive ICMP connection refused error messages in udpsrc that will
cause it to go into a bursty loop because the poll returns right away without a
message to read.

Instead of looping, read the error message from the error queue in udpsrc.
Fixes #567857.

15 years agoConditionally compile code for YVYU
Wim Taymans [Mon, 23 Feb 2009 18:53:58 +0000 (19:53 +0100)]
Conditionally compile code for YVYU

Only compile the code for the YVYU format when the format is actually defined.
Spotted by tmatth on IRC.

15 years agov4l2src: Make sort_by_frame_size conditionally compiled
Levente Farkas [Tue, 17 Feb 2009 19:01:47 +0000 (11:01 -0800)]
v4l2src: Make sort_by_frame_size conditionally compiled

sort_by_frame_size is declared static and only used inside
an ifdef, so use the same ifdef to define the function.  Fixes #572185

Signed-off-by: David Schleef <ds@schleef.org>
15 years agoAdd YVYU format to caps
Wim Taymans [Mon, 23 Feb 2009 16:05:43 +0000 (17:05 +0100)]
Add YVYU format to caps

Add YVYU format to the caps. We don't have anything to handle these caps yet,
though.

15 years agoSome cleanups
Wim Taymans [Mon, 23 Feb 2009 14:48:41 +0000 (15:48 +0100)]
Some cleanups

Remove some unused variables.
Avoid a useless _resync call.
Correctly use a gboolean.

15 years agoAlways add PPS to the sprop-parameters-set
Wai-Ming Ho [Mon, 23 Feb 2009 14:43:51 +0000 (15:43 +0100)]
Always add PPS to the sprop-parameters-set

Rework the parsing code that under certain circumstances dropped the PPS from
the sprop-parameters-set.
Fixes #572854.

15 years agoDon't do crazy things with 0/1 framerates
Arnout Vandecappelle [Mon, 23 Feb 2009 11:14:23 +0000 (12:14 +0100)]
Don't do crazy things with 0/1 framerates

We use 0/1 framerates to mark variable framerates and matroskamux should not try
to calculate a frame duration for it.
Fixes #571294.

15 years agoRequire newer gst-p-b for the RTSP extensions.
Wim Taymans [Mon, 23 Feb 2009 10:45:50 +0000 (11:45 +0100)]
Require newer gst-p-b for the RTSP extensions.

--

15 years agoCall new receive_request method
Wim Taymans [Mon, 23 Feb 2009 10:42:53 +0000 (11:42 +0100)]
Call new receive_request method

Call the receive_request extension methods so that extensions can handle the
server request if they want.

15 years agoAdd method for hadling server requests
Wim Taymans [Mon, 23 Feb 2009 10:13:30 +0000 (11:13 +0100)]
Add method for hadling server requests

Add method to handle server requests on the list of RTSP extensions.

15 years agoDon't use GST_ERROR for non-error cases.
Wim Taymans [Fri, 13 Feb 2009 13:39:29 +0000 (14:39 +0100)]
Don't use GST_ERROR for non-error cases.

Turn a GST_ERROR line into a GST_DEBUG line so that we don't spam the log with
errors. Fixes #570781.

15 years agogconfvideo(src|sink): Disconnect GConf notifications
Sjoerd Simons [Sun, 22 Feb 2009 18:30:32 +0000 (19:30 +0100)]
gconfvideo(src|sink): Disconnect GConf notifications

Fixes bug #571321.

15 years agomatroskademux: Unref the buffer and not the memory address of the buffer
Sebastian Dröge [Sun, 22 Feb 2009 18:25:39 +0000 (19:25 +0100)]
matroskademux: Unref the buffer and not the memory address of the buffer

15 years agoalaw/mulaw: Implement _getcaps function for alaw/mulaw decoders
Olivier Crete [Sun, 22 Feb 2009 17:47:35 +0000 (18:47 +0100)]
alaw/mulaw: Implement _getcaps function for alaw/mulaw decoders

Fixes bug #572358.

15 years agoalaw/mulaw: Don't require both, rate and channel, to be set in _getcaps
Olivier Crete [Sun, 22 Feb 2009 17:46:03 +0000 (18:46 +0100)]
alaw/mulaw: Don't require both, rate and channel, to be set in _getcaps

Fixes bug #572358.

15 years agoavidemux: Fix alignment issues by using GST_READ_*
Sebastian Dröge [Sun, 22 Feb 2009 17:32:02 +0000 (18:32 +0100)]
avidemux: Fix alignment issues by using GST_READ_*

Reading integers from random memory addresses will result
in SIGBUS on some architectures if the memory address
is not correctly aligned. This can happen at two
places in avidemux so we should use GST_READ_UINT32_LE
and friends here. Fixes bug #572256.

15 years agopulsemixer: Don't use g_atomic_int_(get|set) for accessing the mixer track flags
Sebastian Dröge [Sun, 22 Feb 2009 17:08:59 +0000 (18:08 +0100)]
pulsemixer: Don't use g_atomic_int_(get|set) for accessing the mixer track flags

g_atomic_int_(get|set) only work on ints and the flags are
an enum (which on most architectures is stored as an int).

Also the way the flags were accessed atomically would still
leave a possible race condition and we don't do it in any
other mixer track implementation, let alone at any other
place where an integer could be changed from different
threads. Removing the g_atomic_int_(get|set) will only
introduce a new race condition on architectures where
integers could be half-written while reading them
which shouldn't be the case for any modern architecture
and if we really care about this we need to use
g_atomic_int_(get|set) at many other places too.

Apart from that g_atomic_int_(set|get) will result in
aliasing warnings if their argument is explicitely
casted to an int *. Fixes bug #571153.

15 years agoAutomatic update of common submodule
Jan Schmidt [Sun, 22 Feb 2009 15:52:06 +0000 (15:52 +0000)]
Automatic update of common submodule

From 5d7c9cc to 9cf8c9b

15 years agohdv1394src: Don't use void * pointer arithmetic
Sebastian Dröge [Sun, 22 Feb 2009 11:41:53 +0000 (12:41 +0100)]
hdv1394src: Don't use void * pointer arithmetic

15 years agoAutomatic update of common submodule
David Schleef [Sat, 21 Feb 2009 19:13:43 +0000 (11:13 -0800)]
Automatic update of common submodule

From 80c627d to 5d7c9cc

15 years agoBack to development -> 0.10.14.1
Jan Schmidt [Sat, 21 Feb 2009 18:42:46 +0000 (18:42 +0000)]
Back to development -> 0.10.14.1

15 years agorespect DEFAULT segment by clipping the last buffer to be sent
Thomas Vander Stichele [Sat, 21 Feb 2009 11:47:00 +0000 (12:47 +0100)]
respect DEFAULT segment by clipping the last buffer to be sent

15 years agoRelease 0.10.14 RELEASE-0_10_14
Jan Schmidt [Thu, 19 Feb 2009 20:09:07 +0000 (20:09 +0000)]
Release 0.10.14

15 years agoUpdate .po files
Jan Schmidt [Thu, 19 Feb 2009 20:07:41 +0000 (20:07 +0000)]
Update .po files

15 years agoUpdate Since: tags in autodetect srcs and audioecho
Jan Schmidt [Thu, 19 Feb 2009 13:16:39 +0000 (13:16 +0000)]
Update Since: tags in autodetect srcs and audioecho

15 years agoUpdate ChangeLog for 0.10.13.3
Jan Schmidt [Thu, 19 Feb 2009 11:12:58 +0000 (11:12 +0000)]
Update ChangeLog for 0.10.13.3

15 years ago0.10.13.3 pre-release
Jan Schmidt [Thu, 19 Feb 2009 11:09:03 +0000 (11:09 +0000)]
0.10.13.3 pre-release

15 years agopulsemixer: Fix compiler warnings.
Mark Nauwelaerts [Tue, 10 Feb 2009 10:25:49 +0000 (11:25 +0100)]
pulsemixer: Fix compiler warnings.

Cast (enum *) to (int *), not necessarily technically right,
but plugs #571153.

15 years agopulsesink: Issue property change notification in streaming thread,
Mark Nauwelaerts [Fri, 13 Feb 2009 17:03:14 +0000 (18:03 +0100)]
pulsesink: Issue property change notification in streaming thread,
rather than PA thread.

pa_threaded_mainloop_lock() (a.o.) and by extension get_property should
not be done from a PA thread, but the latter may occur as a result of a
property change notification.  Fixes #571204 (though current situation
not ideal, e.g. post message rather than signal).

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.