Jan Schmidt [Wed, 25 Feb 2009 14:57:33 +0000 (14:57 +0000)]
build: Update shave init statement for changes in common. Bump common.
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.
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.
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.
Peter Kjellerstedt [Wed, 25 Feb 2009 10:32:28 +0000 (11:32 +0100)]
udpsrc: Unify the use of union gst_sockaddr.
Jan Schmidt [Wed, 25 Feb 2009 11:32:07 +0000 (11:32 +0000)]
Automatic update of common submodule
From 9cf8c9b to a6ce5c6
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.
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.
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>
Jan Schmidt [Sun, 22 Feb 2009 17:23:09 +0000 (17:23 +0000)]
Use shave for the build output
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
Edward Hervey [Tue, 24 Feb 2009 13:41:26 +0000 (14:41 +0100)]
qtdemux: Also use "(c)inf" to fill the comment tag
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.
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.
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.
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>
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.
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.
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.
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.
Wim Taymans [Mon, 23 Feb 2009 10:45:50 +0000 (11:45 +0100)]
Require newer gst-p-b for the RTSP extensions.
--
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.
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.
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.
Sjoerd Simons [Sun, 22 Feb 2009 18:30:32 +0000 (19:30 +0100)]
gconfvideo(src|sink): Disconnect GConf notifications
Fixes bug #571321.
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
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.
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.
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.
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.
Jan Schmidt [Sun, 22 Feb 2009 15:52:06 +0000 (15:52 +0000)]
Automatic update of common submodule
From 5d7c9cc to 9cf8c9b
Sebastian Dröge [Sun, 22 Feb 2009 11:41:53 +0000 (12:41 +0100)]
hdv1394src: Don't use void * pointer arithmetic
David Schleef [Sat, 21 Feb 2009 19:13:43 +0000 (11:13 -0800)]
Automatic update of common submodule
From 80c627d to 5d7c9cc
Jan Schmidt [Sat, 21 Feb 2009 18:42:46 +0000 (18:42 +0000)]
Back to development -> 0.10.14.1
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
Jan Schmidt [Thu, 19 Feb 2009 20:09:07 +0000 (20:09 +0000)]
Release 0.10.14
Jan Schmidt [Thu, 19 Feb 2009 20:07:41 +0000 (20:07 +0000)]
Update .po files
Jan Schmidt [Thu, 19 Feb 2009 13:16:39 +0000 (13:16 +0000)]
Update Since: tags in autodetect srcs and audioecho
Jan Schmidt [Thu, 19 Feb 2009 11:12:58 +0000 (11:12 +0000)]
Update ChangeLog for 0.10.13.3
Jan Schmidt [Thu, 19 Feb 2009 11:09:03 +0000 (11:09 +0000)]
0.10.13.3 pre-release
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.
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).
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).
Edward Hervey [Tue, 10 Feb 2009 07:43:59 +0000 (08:43 +0100)]
osxvideosink: Fix build. Fixes #571038
Edward Hervey [Mon, 9 Feb 2009 11:18:36 +0000 (12:18 +0100)]
Bump revision to use for common submodule.
Jan Schmidt [Sat, 7 Feb 2009 16:00:49 +0000 (16:00 +0000)]
ChangeLog: Update ChangeLog 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
Jan Schmidt [Sat, 7 Feb 2009 15:46:07 +0000 (15:46 +0000)]
Release 0.10.13.2
Jan Schmidt [Sat, 7 Feb 2009 15:40:53 +0000 (15:40 +0000)]
po: Add Maltese translation
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.
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.
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.
Thomas Vander Stichele [Thu, 5 Feb 2009 19:02:01 +0000 (20:02 +0100)]
debug on the object
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.
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.
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.
Tim-Philipp Müller [Tue, 3 Feb 2009 22:34:38 +0000 (22:34 +0000)]
configure.ac: bump core/base requirements to released versions
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.
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.
Sebastian Dröge [Tue, 3 Feb 2009 10:52:15 +0000 (11:52 +0100)]
Use guint64 instead of guint for storing guint64
Jonathan Matthew [Mon, 2 Feb 2009 17:37:35 +0000 (18:37 +0100)]
Use correct flag for the GNOME proxy configuration
Fixes bug #552140.
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.
Sebastian Dröge [Sat, 31 Jan 2009 10:08:30 +0000 (11:08 +0100)]
Fix format string compiler warning
Stefan Kost [Fri, 30 Jan 2009 20:24:14 +0000 (22:24 +0200)]
Add releaseinfo with online url.
Jan Schmidt [Fri, 30 Jan 2009 18:04:11 +0000 (18:04 +0000)]
Fix up some compile flags
Jan Schmidt [Fri, 30 Jan 2009 17:35:49 +0000 (17:35 +0000)]
Don't use Glib 2.16 function g_strcmp0.
Jan Schmidt [Fri, 30 Jan 2009 17:34:45 +0000 (17:34 +0000)]
Don't do void pointer arithmetic
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.
Jan Schmidt [Fri, 30 Jan 2009 17:29:45 +0000 (17:29 +0000)]
Bump common
Edward Hervey [Mon, 26 Jan 2009 09:33:55 +0000 (10:33 +0100)]
Remove useless processing for non-raw formats
Edward Hervey [Fri, 30 Jan 2009 14:34:31 +0000 (15:34 +0100)]
Add support for the 'Requirement' and 'Encoder' tags
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)'.
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.
Edward Hervey [Fri, 30 Jan 2009 07:53:06 +0000 (08:53 +0100)]
Use a symbolic link for the pre-commit client-side hook
Thijs Vermeir [Thu, 29 Jan 2009 13:08:56 +0000 (14:08 +0100)]
Only unref the peer when there is one.
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.
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.
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.
Stefan Kost [Thu, 29 Jan 2009 07:42:56 +0000 (09:42 +0200)]
Add examples for the jpeg elements.
Jan Schmidt [Wed, 28 Jan 2009 21:40:11 +0000 (21:40 +0000)]
Fix compile error in the last commit
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>
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.
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.
Edward Hervey [Wed, 28 Jan 2009 10:58:42 +0000 (11:58 +0100)]
Revert previous bogus commit
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.
Stefan Kost [Tue, 27 Jan 2009 21:09:05 +0000 (23:09 +0200)]
Fix example apps by drawing in the main-loop.
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.
Tim-Philipp Müller [Tue, 27 Jan 2009 20:30:02 +0000 (20:30 +0000)]
Make git ignore backup files
Peter Kjellerstedt [Mon, 26 Jan 2009 15:14:47 +0000 (16:14 +0100)]
Plug a memory leak in a debug message.
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.
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.
David Schleef [Mon, 26 Jan 2009 03:26:46 +0000 (19:26 -0800)]
Add a few more video fourcc's
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.
Jan Schmidt [Sun, 25 Jan 2009 14:34:09 +0000 (14:34 +0000)]
Ignore check binaries
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.
Thijs Vermeir [Sat, 24 Jan 2009 13:25:08 +0000 (14:25 +0100)]
Update plugin version in documentation
Thijs Vermeir [Fri, 23 Jan 2009 20:47:40 +0000 (21:47 +0100)]
Fix link in documentation of videocrop element
Thijs Vermeir [Fri, 23 Jan 2009 20:46:13 +0000 (21:46 +0100)]
Add documentation for aspectratiocrop
Sebastian Dröge [Sat, 24 Jan 2009 12:21:39 +0000 (13:21 +0100)]
Update win32/common/config.h for the new development cycle
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.