Jan Schmidt [Sun, 22 Feb 2009 17:23:52 +0000 (17:23 +0000)]
Use shave for the build output
Edward Hervey [Mon, 23 Feb 2009 11:17:07 +0000 (12:17 +0100)]
win32: Add new symbol to libgstrtsp.def
Wim Taymans [Mon, 23 Feb 2009 09:57:08 +0000 (10:57 +0100)]
Add method for handling server requests
Add a receive_request so that extensions can react to server requests.
Sebastian Dröge [Sun, 22 Feb 2009 18:20:40 +0000 (19:20 +0100)]
Correctly cast to GstBuffer * before passing to gst_buffer_(copy|unref)
Sebastian Dröge [Sun, 22 Feb 2009 18:19:04 +0000 (19:19 +0100)]
theoraparse: Use the correct unref functions
Sebastian Dröge [Sun, 22 Feb 2009 18:18:41 +0000 (19:18 +0100)]
x(v)imagesink: Correctly cast to GstBuffer * before passing to gst_buffer_unref()
Sebastian Dröge [Sun, 22 Feb 2009 18:12:00 +0000 (19:12 +0100)]
tagdemux: Unref the actual buffer instead of the memory address of the buffer
Jan Schmidt [Sun, 22 Feb 2009 15:47:53 +0000 (15:47 +0000)]
Automatic update of common submodule
From 5d7c9cc to 9cf8c9b
Edward Hervey [Sun, 22 Feb 2009 13:49:29 +0000 (14:49 +0100)]
win32/common: Update .def files for recent API addition
Edward Hervey [Sun, 22 Feb 2009 12:43:35 +0000 (13:43 +0100)]
tests: Fix indentation
Edward Hervey [Sun, 22 Feb 2009 12:42:33 +0000 (13:42 +0100)]
libs/video: Fix gst_video_format_new_caps* functions.
Only add a 'interlaced=True' property to caps *IF* it is interlaced, else
don't add anything.
David Schleef [Sat, 21 Feb 2009 19:13:36 +0000 (11:13 -0800)]
Automatic update of common submodule
From 80c627d to 5d7c9cc
Wim Taymans [Fri, 20 Feb 2009 16:26:40 +0000 (17:26 +0100)]
Improve key/value parsing
Improve header field parsing by keeping a ref to the key/value instead of
copying it into a local variable.
Wim Taymans [Fri, 20 Feb 2009 11:35:53 +0000 (12:35 +0100)]
Add trailing \0 to message length
We always put a trailing 0 at the end of the message body. Reflect this fact in
the length of the message.
Wim Taymans [Fri, 20 Feb 2009 08:50:15 +0000 (09:50 +0100)]
Don't parse headers for data messages
Don't try to parse the headers on a data message because they don't have
headers.
Benjamin M. Schwartz [Thu, 19 Feb 2009 20:18:29 +0000 (12:18 -0800)]
theoraenc: Add property for speed level control
Add property "speed-level" to control the amount of motion searching
the encoder does. This is only available in libtheora >= 1.0 and
will silently fail with earlier libraries. Fixes: #572275.
Signed-off-by: David Schleef <ds@schleef.org>
Edward Hervey [Thu, 19 Feb 2009 16:40:45 +0000 (17:40 +0100)]
video: Fix 'Since' tags
Edward Hervey [Mon, 26 Jan 2009 09:30:53 +0000 (10:30 +0100)]
video: Add flags for interlaced video along with convenience methods for interlaced caps.
These three flags allow all know combinations of interlaced formats. They should
only be used when the caps contain 'interlaced=True'.
Fixes #163577 (yes, it's a 4 year old bug).
Wim Taymans [Thu, 19 Feb 2009 14:51:52 +0000 (15:51 +0100)]
Make RTSPConnection opaque and rename RTSPChannel
Make the RTSPConnection object opaque so that we can extend it in the future.
Rename GstRTSPChannel to GstRTSPWatch to avoid confusing with the RTSP channels.
Edward Hervey [Mon, 26 Jan 2009 09:31:14 +0000 (10:31 +0100)]
Add some more mappings for h264 in riff
Wim Taymans [Thu, 19 Feb 2009 09:49:56 +0000 (10:49 +0100)]
Add new RTSP symbols to def files
Add the new RTSP symbols to the windows def file.
Wim Taymans [Thu, 19 Feb 2009 09:44:31 +0000 (10:44 +0100)]
Add method to install callbacks on appsink
Based on pacth by Martin Samuelsson <martin dot samuelsson at axis dot com>
Fixes #571299.
Add gst_app_sink_set_callbacks() to install a set of callbacks. This is a more
performant alternative to connecting to the signals.
Add a unit test for appsink.
Clean up some of the appsink docs.
API: GstAppSink::gst_app_sink_set_callbacks()
Wim Taymans [Wed, 18 Feb 2009 17:46:35 +0000 (18:46 +0100)]
Add RTSP accept method
Add a method to accept a connection on a socket and create a GstRTSPConnection
for it.
API: gst_rtsp_connection_accept()
Wim Taymans [Wed, 18 Feb 2009 16:42:59 +0000 (17:42 +0100)]
Add RTSP channel object for async io
Add a GstRTSPChannel object that wraps a GSource around the RTSP connection so
that the connection can be monitored from a maincontext. This allows us to
operate in ASYNC mode, which is handy when building a server.
Rework the old code to use the async code under the hood.
API: gst_rtsp_channel_new()
API: gst_rtsp_channel_unref()
API: gst_rtsp_channel_attach()
API: gst_rtsp_channel_queue_message()
Sebastian Dröge [Sun, 15 Feb 2009 06:30:17 +0000 (07:30 +0100)]
audioresample: Add locking to protect the resampling context
When setting the quality/filter-length while PLAYING the
resampling context will be destroyed and created again in
some cases, which will cause crashes in the transform function
if it's called at that time.
Sebastian Dröge [Fri, 13 Feb 2009 09:10:25 +0000 (10:10 +0100)]
ffmpegcolorspace/videotestsrc: Use v308 instead of V308
Sebastian Dröge [Thu, 12 Feb 2009 18:02:59 +0000 (19:02 +0100)]
ffmpegcolorspace: Add support for packed 4:4:4 YUV (format=V308)
Only conversions from/to are implemented, which
gives (indirect) support for all possible conversions.
Partially fixes bug #571147.
Sebastian Dröge [Thu, 12 Feb 2009 17:17:53 +0000 (18:17 +0100)]
videotestsrc: Add support for packed 4:4:4 YUV (format=V308)
Partially fixes bug #571147.
Tim-Philipp Müller [Thu, 12 Feb 2009 09:18:20 +0000 (09:18 +0000)]
tagdemux: don't abort when downstream pulls a buffer of size 0
Pulling a 0-sized buffer is allowed, and we should handle this correctly instead of
aborting. Fixes #571009 (wma file with ID3v2 tag).
Tim-Philipp Müller [Wed, 11 Feb 2009 16:39:55 +0000 (16:39 +0000)]
riff: error out on nonsensical chunk sizes instead of aborting
When encountering a nonsensical chunk size such as (guint)-1, error out cleanly instead of
continuing and trying to g_memdup() 4GB of data that doesn't exist, which will either abort
in g_malloc() or crash.
Fixes #553295, crash with fuzzed AVI file.
Tim-Philipp Müller [Wed, 11 Feb 2009 16:39:06 +0000 (16:39 +0000)]
Make git ignore backup files.
Michael Smith [Wed, 11 Feb 2009 04:38:58 +0000 (20:38 -0800)]
Revert "Remove pad-removed handlers after setting the decodebins to NULL."
This reverts commit
b36d8f3e119f9edc5993c08025614ee32642972e.
This brought back some deadlocks. A small leak is better, for now. Need to
figure out a way to fix the leak properly.
Michael Smith [Wed, 11 Feb 2009 01:16:07 +0000 (17:16 -0800)]
playbin2: Fix segfault on notify after group change.
If our group has been switched, then we get a selector active-pad
notification, we don't need to notify.
Michael Smith [Wed, 11 Feb 2009 01:10:33 +0000 (17:10 -0800)]
playbin2: Look for volume/mute properties recursively in audio element.
Rather than only checking for volume property on the audio sink
directly, recursively look for it on sinks within it (if it's a bin).
Allows use of sink-as-volume-control where the application has supplied
an audio-sink bin that includes a real audio sink internally.
Christian Schaller [Tue, 10 Feb 2009 18:29:22 +0000 (18:29 +0000)]
Update spec file with latest additions and changes, most noteably the move of appsrc appsink into -base
Sebastian Dröge [Tue, 10 Feb 2009 16:39:45 +0000 (17:39 +0100)]
videotestsrc: Add support for Y444 (planar 4:4:4 YUV)
Partially fixes bug #571147.
Peter Kjellerstedt [Tue, 10 Feb 2009 16:37:06 +0000 (17:37 +0100)]
gstrtspmessage: Minor documentation correction.
Corrected documentation about what needs to be freed after calling
gst_rtsp_message_new(), gst_rtsp_message_new_request(),
gst_rtsp_message_new_response() and gst_rtsp_message_new_data().
Antoine Tremblay [Tue, 10 Feb 2009 10:00:12 +0000 (11:00 +0100)]
alsamixer: Fix race condition that made alsamixer not working properly
This is due to race conditions between functions that
modified the mixer like set_volume and
snd_mixer_handle_events since the handle_events
can now be called at any time.
Fixed by adding locking around any snd_mixer call
since even read functions can modify the mixer stucture, since
alsa likes to clear it's values before reading new ones.
The favorite race condition seemed to be that set_volume
called read_elem (in alsalib) that reset the volumes to
0 and then read them with read_x_volume. This read looped
on each channel and as the race condition occured the
channels value could be anything , most of the time
it was 0. Thus no value was read or only the value of
one channel was and the volume was reset to 0.
Fixes bug #478512.
Edward Hervey [Mon, 9 Feb 2009 11:02:21 +0000 (12:02 +0100)]
Bump revision to use for common submodule.
Stefan Kost [Thu, 5 Feb 2009 13:47:00 +0000 (15:47 +0200)]
xvimagesink: do not call _xwindow_clear on ready->paused.
Calling clear at that transition does things like stopping xvideo (which is not
running at that time) and also clearing anything what the application might have drawn.
This breaks handle-expose and autopaint-colorkey features.
Wim Taymans [Wed, 4 Feb 2009 16:03:52 +0000 (17:03 +0100)]
RTSPRange: Add method to serialize ranges
Add gst_rtsp_range_to_string() to serialize a GstRTSPRange to a string that can
be used by a server.
API: GstRTSPRange::gst_rtsp_range_to_string()
Wim Taymans [Wed, 4 Feb 2009 12:16:48 +0000 (13:16 +0100)]
GstRTSPUrl: Add some const to methods
Add const to the methods that do not modify the object.
Stefan Kost [Wed, 4 Feb 2009 11:53:30 +0000 (13:53 +0200)]
playbin2: implement GST_PLAY_FLAG_NATIVE_{AUDIO,VIDEO}
The flags where present but actually not been taken into account.
Stefan Kost [Wed, 4 Feb 2009 10:06:38 +0000 (12:06 +0200)]
audioresample: Add a proper deprecation comment and also drop G_PARAM_CONSTRUCT.
The comment will ensure that is is marked properly in the docs and the
GParamSpecflag was causing a duplicated initialisation of the same value.
Wim Taymans [Wed, 4 Feb 2009 10:18:31 +0000 (11:18 +0100)]
Add more g_return_if_fail() calls
Check that we have a valid file descriptor before entering certain functions in
order to avoid undesirable situations.
Add some more debugging in the connect method.
Stefan Kost [Wed, 4 Feb 2009 08:31:21 +0000 (10:31 +0200)]
audioresample: Only pull in liboil if its actualy used.
Liboil still has quite significant startup overhead especialy on embedded
platforms. In audioresample it was only used for the profiling timer.
Stefan Kost [Tue, 3 Feb 2009 13:26:08 +0000 (15:26 +0200)]
typefind: Make the flac check more tight to not mistace some aac files for flac. Fixes #570356.
Add comments about the flac format. Tighten the check to not allow values that
refer to headers.
Wim Taymans [Tue, 3 Feb 2009 09:52:15 +0000 (10:52 +0100)]
Add new methods
Add new methods to the windows def file.
Tim-Philipp Müller [Mon, 2 Feb 2009 17:25:21 +0000 (17:25 +0000)]
pbutils: remove duplicate detail strings when calling the external codec installer
It doesn't make sense to ask installers for the same codec or element twice, so filter out duplicate requests before calling the external helper script and make the unit test check this works right. Fixes #567636.
Stefan Kost [Mon, 2 Feb 2009 16:05:42 +0000 (18:05 +0200)]
Add a FIXME 0.11. Make the log message a bit more detailed and add comments.
Stefan Kost [Mon, 2 Feb 2009 13:43:03 +0000 (15:43 +0200)]
Allow to configure the resampler function for integer to skip the benchmarking. Fix releasing the intger resampler in benchmark.
Wim Taymans [Mon, 2 Feb 2009 12:30:42 +0000 (13:30 +0100)]
Fix buffer_alloc in ximagesink
Remove some useless debug info that reported wrong image sizes.
When upstream does not accept out suggested size, fall back to allocating an
image of the requested width/height instead of the currently configured size.
The problem is that an image is reused from the pool because the width/height
match but the caps on the new buffer are the requested caps with possibly
different height/width resulting in errors.
Wim Taymans [Mon, 2 Feb 2009 11:54:31 +0000 (12:54 +0100)]
Fix documentation for autoplug-select
fix the documentation strings for the autoplug-select signal.
Fixes #570142.
Wim Taymans [Mon, 2 Feb 2009 09:09:07 +0000 (10:09 +0100)]
Fix string leak in rtspmessage
when we remove a header field from a message we must free the value associated
with the key to avoid a memory leak.
Stefan Kost [Sat, 31 Jan 2009 16:45:47 +0000 (18:45 +0200)]
Its "Base Library" and not just "Library".
Stefan Kost [Sat, 31 Jan 2009 16:44:32 +0000 (18:44 +0200)]
Link to the class, as we can't link to the members yet.
Michael Smith [Sat, 31 Jan 2009 01:48:23 +0000 (17:48 -0800)]
Remove pad-removed handlers after setting the decodebins to NULL.
They do needed cleanup; without this we leak selector requestpads.
Michael Smith [Sat, 31 Jan 2009 01:47:07 +0000 (17:47 -0800)]
Unref selector request pad even if we no longer have a selector.
During destruction, we won't have a selector any more, but we still need
to unref the pad to avoid leaking it.
Michael Smith [Fri, 30 Jan 2009 23:23:23 +0000 (15:23 -0800)]
Unref source in playbin2's finalize method
Michael Smith [Fri, 30 Jan 2009 20:04:01 +0000 (12:04 -0800)]
Fix more leaks of pads and elements in gstplaysink.
Don't keep extra references to volume and mute elements; we don't need
to do so.
Ensure we unref pads that we have references to, and release request
pads.
Michael Smith [Fri, 30 Jan 2009 19:04:37 +0000 (11:04 -0800)]
Avoid leaking all playsinks. Fix some internal leaks.
Playsink was holding references to itself. Don't do that, it's not cool.
Also, free all chains in dispose.
Michael Smith [Fri, 30 Jan 2009 18:54:12 +0000 (10:54 -0800)]
Unref peer request pad after releasing it, since we hold a reference.
Michael Smith [Fri, 30 Jan 2009 18:52:52 +0000 (10:52 -0800)]
Fix caps leak in playbin2.
Michael Smith [Fri, 30 Jan 2009 18:51:11 +0000 (10:51 -0800)]
Unref active pad from selector when finding active stream.
Michael Smith [Fri, 30 Jan 2009 18:49:55 +0000 (10:49 -0800)]
Free uris when finalizing playbin2 instance.
Michael Smith [Fri, 30 Jan 2009 18:38:17 +0000 (10:38 -0800)]
Unref pads when iterating over them in analyse_source.
Fixes leak of source's srcpad when using uridecodebin.
Stefan Kost [Fri, 30 Jan 2009 20:22:07 +0000 (22:22 +0200)]
Add releaseinfo with online url.
Jan Schmidt [Fri, 30 Jan 2009 17:58:15 +0000 (17:58 +0000)]
Fix compilation warning on Forte
Jan Schmidt [Fri, 30 Jan 2009 17:16:39 +0000 (17:16 +0000)]
Don't do void pointer arithmetic.
Jan Schmidt [Fri, 30 Jan 2009 17:25:51 +0000 (17:25 +0000)]
Bump common
Edward Hervey [Fri, 30 Jan 2009 07:50:53 +0000 (08:50 +0100)]
Use a symbolic link for the pre-commit client-side hook
Edward Hervey [Fri, 30 Jan 2009 07:12:42 +0000 (08:12 +0100)]
Add more files/directories to ignore
Wim Taymans [Thu, 29 Jan 2009 13:00:30 +0000 (14:00 +0100)]
fix some typos
Fix some typos in the doc string of the new
gst_rtsp_options_as_string() method.
Wim Taymans [Thu, 29 Jan 2009 10:55:10 +0000 (11:55 +0100)]
Add new RTSP message method to set header
Add gst_rtsp_message_take_header() that takes ownership of the passed header
value. This allows us to avoid an allocations and memory copy in some
situations.
API: GstRTSPMessage::gst_rtsp_message_take_header()
Wim Taymans [Thu, 29 Jan 2009 10:51:23 +0000 (11:51 +0100)]
Add new method to docs
Add the new gst_rtsp_options_as_text() method to the docs.
Wim Taymans [Wed, 28 Jan 2009 10:48:01 +0000 (11:48 +0100)]
Add method to serialize RTSP options
Add gst_rtsp_options_as_text() method to serialize a set of RTSP options to a
string.
API: GstRTSP::gst_rtsp_options_as_text()
Michael Smith [Tue, 27 Jan 2009 01:59:37 +0000 (17:59 -0800)]
Ensure we have sufficient data when using data scan contexts.
Fixes crashes typefinding things that look like they might contain AAC
data (but probably aren't actually AAC).
Jan Schmidt [Mon, 26 Jan 2009 23:32:09 +0000 (23:32 +0000)]
Fix include order for gio plugin
Jan Schmidt [Fri, 23 Jan 2009 23:59:48 +0000 (23:59 +0000)]
Update win32 config.h for 0.10.22.1 dev cycle
Jan Schmidt [Fri, 23 Jan 2009 23:16:11 +0000 (23:16 +0000)]
Extend and clean up git ignores
Sebastian Dröge [Fri, 23 Jan 2009 11:31:06 +0000 (12:31 +0100)]
Rename files and types from speexresample to audioresample
Rename files and types from speexresample to audioresample
to finish the move and to prevent any confusion.
Wim Taymans [Fri, 23 Jan 2009 10:44:53 +0000 (11:44 +0100)]
Add some more debugging to the Xv strides
Add some more debugging to the strides as they are received from the server and
the expected strides.
Wim Taymans [Fri, 23 Jan 2009 10:40:26 +0000 (11:40 +0100)]
Add typefind function for gsm
Because core now supports typefindfactories without a typefind function we can
register a factory fo GSM that will --if all else fails-- assume the file is a
GSM file based on the registered extension.
Fixes #566661.
Wim Taymans [Fri, 23 Jan 2009 10:37:45 +0000 (11:37 +0100)]
Use more performant link function
We can use gst_element_link_pads() instead of the more generic
gst_element_link() function because we know the pads. This saves some cycles
because the more generic function needs to search for possible compatible caps
etc.
Wim Taymans [Fri, 23 Jan 2009 10:33:29 +0000 (11:33 +0100)]
Add more codec ids for RIFF formats
Handle codec ID for various other AAC formats.
Sync the list of possible codec ids with that of ffmpeg.
Fixes #567255
Wim Taymans [Fri, 23 Jan 2009 10:27:16 +0000 (11:27 +0100)]
Use rounded values for image strides and sizes
Round up the height before calculating the expected size and
strides of the output image.
Wim Taymans [Fri, 23 Jan 2009 10:23:09 +0000 (11:23 +0100)]
Improve debug message
Improve the debug message when alsa returns an error.
Wim Taymans [Fri, 23 Jan 2009 10:07:05 +0000 (11:07 +0100)]
Reset queued_bytes counter when flushing
Set the amount of queued bytes in the internal queue back to 0 when we clear the
queue.
Fixes #567982
Benjamin Gaignard [Fri, 23 Jan 2009 09:19:27 +0000 (10:19 +0100)]
Add typefinder for Mobile XMF. Fixes bug #568707.
Brian Cameron [Fri, 23 Jan 2009 09:00:11 +0000 (10:00 +0100)]
Fix linking on Solaris. Fixes bug #568482.
Check for nsl and socket libraries and add them to
LIBS if they're found. They're needed for socket()
and gethostbyname() on Solaris.
Jan Schmidt [Thu, 22 Jan 2009 22:09:47 +0000 (22:09 +0000)]
Fix use-after-unref problem noticed by Josep Torra Valles, and run
gst-indent
Stefan Kost [Thu, 22 Jan 2009 15:46:59 +0000 (17:46 +0200)]
Update common snapshot.
Sebastian Dröge [Thu, 22 Jan 2009 12:47:24 +0000 (13:47 +0100)]
Fix pre-commit hook
Wim Taymans [Thu, 22 Jan 2009 12:12:02 +0000 (13:12 +0100)]
Merge branch 'master' of ssh://git.freedesktop.org/git/gstreamer/gst-plugins-base
Sebastian Dröge [Thu, 22 Jan 2009 09:14:28 +0000 (10:14 +0100)]
Reduce the number of allocations for creating FFT contexts
Reduce the number of allocations from 2 to 1 for every FFT
context by allocating enough memory for the FFT context
and passing parts of it to the kissfft allocation functions.
Jan Schmidt [Thu, 22 Jan 2009 11:32:56 +0000 (11:32 +0000)]
Back to devel -> 0.10.22.1
Edward Hervey [Thu, 22 Jan 2009 04:57:53 +0000 (05:57 +0100)]
Install and use pre-commit indentation hook from common
Wim Taymans [Wed, 21 Jan 2009 12:09:29 +0000 (13:09 +0100)]
Avoid overflows in the padding checks by doing the check slightly
differently.
Add a unit test to check for correct behaviour.
Edward Hervey [Wed, 21 Jan 2009 03:31:32 +0000 (04:31 +0100)]
autogen.sh : Use git submodule
Jan Schmidt [Mon, 19 Jan 2009 23:10:50 +0000 (23:10 +0000)]
Release 0.10.22
Original commit message from CVS:
Release 0.10.22