platform/upstream/gstreamer.git
15 years agogst-libs/gst/audio/: Complete Sebastien's commit from the 13th by exporting the _slav...
Edward Hervey [Tue, 30 Dec 2008 17:55:07 +0000 (17:55 +0000)]
gst-libs/gst/audio/: Complete Sebastien's commit from the 13th by exporting the _slave_method_get_type() methods.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.h:
* gst-libs/gst/audio/gstbaseaudiosink.h:
Complete Sebastien's commit from the 13th by exporting the
_slave_method_get_type() methods.

15 years agogst-libs/gst/app/gstappsrc.*: Add properties and methods to configure and retrieve...
Wim Taymans [Mon, 29 Dec 2008 16:45:20 +0000 (16:45 +0000)]
gst-libs/gst/app/gstappsrc.*: Add properties and methods to configure and retrieve the min and max latencies.

Original commit message from CVS:
* gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init),
(gst_app_src_init), (gst_app_src_set_property),
(gst_app_src_get_property), (gst_app_src_query),
(gst_app_src_set_latencies), (gst_app_src_set_latency),
(gst_app_src_get_latency), (gst_app_src_push_buffer_full):
* gst-libs/gst/app/gstappsrc.h:
Add properties and methods to configure and retrieve the min and max
latencies.

15 years agoext/: Implement URI query. Fixes bug #562949.
Sebastian Dröge [Sat, 20 Dec 2008 17:38:41 +0000 (17:38 +0000)]
ext/: Implement URI query. Fixes bug #562949.

Original commit message from CVS:
* ext/gio/gstgiobasesink.c: (gst_gio_base_sink_query):
* ext/gio/gstgiobasesrc.c: (gst_gio_base_src_class_init),
(gst_gio_base_src_query):
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnome_vfs_sink_query):
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_class_init),
(gst_gnome_vfs_src_query):
Implement URI query. Fixes bug #562949.

15 years agogst/playback/gstplaybin2.c: Add some debug info.
Wim Taymans [Sat, 20 Dec 2008 12:48:43 +0000 (12:48 +0000)]
gst/playback/gstplaybin2.c: Add some debug info.

Original commit message from CVS:
* gst/playback/gstplaybin2.c: (no_more_pads_cb):
Add some debug info.
* gst/playback/gstplaysink.c: (gen_video_chain), (gen_audio_chain),
(gst_play_sink_reconfigure), (gst_play_sink_request_pad),
(gst_play_sink_release_pad):
Add some more debug info.
Reconfigure the audio chain when we switch between raw and encoded audio
in gapless playback.

15 years agogst-libs/gst/audio/gstbaseaudiosink.c: Pause the write thread before deactivating...
Wim Taymans [Sat, 20 Dec 2008 12:45:03 +0000 (12:45 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Pause the write thread before deactivating and releasing the ringbuffer to avo...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_setcaps):
Pause the write thread before deactivating and releasing the ringbuffer
to avoid a deadlock when we do gapless playback with different sample
rates in playbin2.  Fixes #564929.

15 years agogst-libs/gst/audio/gstbaseaudiosrc.c: Make GstAudioSrcSlaveMethod get_type() function...
Sebastian Dröge [Fri, 19 Dec 2008 13:03:00 +0000 (13:03 +0000)]
gst-libs/gst/audio/gstbaseaudiosrc.c: Make GstAudioSrcSlaveMethod get_type() function non-static as it's public now.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.c:
Make GstAudioSrcSlaveMethod get_type() function non-static
as it's public now.
* win32/common/libgstaudio.def:
* win32/common/libgstnetbuffer.def:
Add some missing functions to the list of exported symbols.

15 years agogst-libs/gst/netbuffer/gstnetbuffer.*: Make gst_netaddress_get_ip4_address fail for...
Andrew Feren [Thu, 18 Dec 2008 12:37:33 +0000 (12:37 +0000)]
gst-libs/gst/netbuffer/gstnetbuffer.*: Make gst_netaddress_get_ip4_address fail for v6 addresses.

Original commit message from CVS:
Patch by: Andrew Feren <acferen at yahoo dot com>
* gst-libs/gst/netbuffer/gstnetbuffer.c:
(gst_netaddress_get_ip4_address), (gst_netaddress_get_ip6_address),
(gst_netaddress_get_address_bytes),
(gst_netaddress_set_address_bytes):
* gst-libs/gst/netbuffer/gstnetbuffer.h:
Make gst_netaddress_get_ip4_address fail for v6 addresses.
Make gst_netaddress_get_ip6_address either fail or return the v4
address as a transitional v6 address.
Add two convenience functions:
API: gst_netaddress_get_address_bytes()
API: gst_netaddress_set_address_bytes()
Fixes #564896.

15 years agoAdd appsrc and appsink documentation.
Wim Taymans [Wed, 17 Dec 2008 13:51:46 +0000 (13:51 +0000)]
Add appsrc and appsink documentation.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* gst-libs/gst/app/gstappsink.c:
* gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init):
Add appsrc and appsink documentation.

15 years agogst/adder/: Cleanup variable names to make the adder-loop easier to understand.
Stefan Kost [Wed, 17 Dec 2008 08:51:34 +0000 (08:51 +0000)]
gst/adder/: Cleanup variable names to make the adder-loop easier to understand.

Original commit message from CVS:
* gst/adder/Makefile.am:
* gst/adder/gstadder.c:
Cleanup variable names to make the adder-loop easier to understand.
Also try to use liboil to spee it up, but ifdef it out as it does not
make any change for me (Intel pentim M (sse,sse2) please try on other
systems).

15 years agoAdd minimal docs to make the remaining tcp elements show up.
Wim Taymans [Tue, 16 Dec 2008 20:16:17 +0000 (20:16 +0000)]
Add minimal docs to make the remaining tcp elements show up.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* gst/tcp/gsttcpclientsink.c:
* gst/tcp/gsttcpclientsrc.c:
* gst/tcp/gsttcpserversrc.c:
Add minimal docs to make the remaining tcp elements show up.
Fixes #564139.

15 years agoexamples/app/: Fix example to unref after emiting the push-buffer action.
Wim Taymans [Mon, 15 Dec 2008 12:02:26 +0000 (12:02 +0000)]
examples/app/: Fix example to unref after emiting the push-buffer action.

Original commit message from CVS:
* examples/app/appsrc-ra.c: (feed_data):
* examples/app/appsrc-seekable.c: (feed_data):
* examples/app/appsrc-stream.c: (read_data):
* examples/app/appsrc-stream2.c: (feed_data):
Fix example to unref after emiting the push-buffer action.
* gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init),
(gst_app_src_push_buffer_full), (gst_app_src_push_buffer),
(gst_app_src_push_buffer_action):
Don't take the ref on the buffer in push-buffer action because it's too
awkward for bindings. Fixes #564482.

15 years agowin32/common/config.h: Update to CVS version.
Tim-Philipp Müller [Sat, 13 Dec 2008 19:32:13 +0000 (19:32 +0000)]
win32/common/config.h: Update to CVS version.

Original commit message from CVS:
* win32/common/config.h:
Update to CVS version.
* win32/common/config.h.in:
Hardcode path to plugin install helper exe, just like we hardcode
the paths in core. Removes another source of VCS conflicts for
people hacking gst-plugins-base on systems with autotools.

15 years agom4/Makefile.am: And a couple more .m4 that don't exist anymore with gettext 0.17
Edward Hervey [Sat, 13 Dec 2008 16:21:12 +0000 (16:21 +0000)]
m4/Makefile.am: And a couple more .m4 that don't exist anymore with gettext 0.17

Original commit message from CVS:
* m4/Makefile.am:
And a couple more .m4 that don't exist anymore with gettext 0.17

15 years agom4/Makefile.am: inttypes.m4 hasn't been available since gettext-0.15, and since we...
Edward Hervey [Sat, 13 Dec 2008 12:41:56 +0000 (12:41 +0000)]
m4/Makefile.am: inttypes.m4 hasn't been available since gettext-0.15, and since we now require gettext >= 0.17 ... we...

Original commit message from CVS:
* m4/Makefile.am:
inttypes.m4 hasn't been available since gettext-0.15, and since we now
require gettext >= 0.17 ... we can remove it from the list of files to
dist.

15 years agogst-libs/gst/audio/: API: Add GST_TYPE_BASE_AUDIO_(SRC|SINK)_SLAVE_METHOD to the...
Sebastian Dröge [Sat, 13 Dec 2008 06:57:09 +0000 (06:57 +0000)]
gst-libs/gst/audio/: API: Add GST_TYPE_BASE_AUDIO_(SRC|SINK)_SLAVE_METHOD to the public API. This is needed for the C...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_slave_method_get_type),
(gst_base_audio_sink_class_init):
* gst-libs/gst/audio/gstbaseaudiosink.h:
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_slave_method_get_type),
(gst_base_audio_src_class_init):
* gst-libs/gst/audio/gstbaseaudiosrc.h:
API: Add GST_TYPE_BASE_AUDIO_(SRC|SINK)_SLAVE_METHOD to the
public API. This is needed for the C++ bindings to be able
to use this base classes. Fixes bug #564200, #564206.

15 years agogst-libs/gst/cdda/gstcddabasesrc.c: Remove erroneous gst_buffer_ref().
Edward Hervey [Fri, 12 Dec 2008 19:41:28 +0000 (19:41 +0000)]
gst-libs/gst/cdda/gstcddabasesrc.c: Remove erroneous gst_buffer_ref().

Original commit message from CVS:
* gst-libs/gst/cdda/gstcddabasesrc.c:
(gst_cdda_base_src_handle_event):
Remove erroneous gst_buffer_ref().
* tests/check/libs/rtp.c: (GST_START_TEST):
Don't forget to unref the buffer once you're done with it.

15 years agogst/playback/: XRef to GstXOverlay.
Stefan Kost [Fri, 12 Dec 2008 13:06:48 +0000 (13:06 +0000)]
gst/playback/: XRef to GstXOverlay.

Original commit message from CVS:
* gst/playback/gstplaybin.c:
* gst/playback/gstplaybin2.c:
XRef to GstXOverlay.

15 years agogst/playback/gsturidecodebin.c: Free the factory array when finalizing.
Edward Hervey [Fri, 12 Dec 2008 10:54:45 +0000 (10:54 +0000)]
gst/playback/gsturidecodebin.c: Free the factory array when finalizing.

Original commit message from CVS:
* gst/playback/gsturidecodebin.c: (gst_uri_decode_bin_finalize):
Free the factory array when finalizing.
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_base_init):
Use a GstStaticPadTemplate since the src pad caps are fixed.

15 years agoext/vorbis/vorbisenc.c: Make vorbisenc's pad template behave like vorbisdec's. Fixes...
Edward Hervey [Fri, 12 Dec 2008 07:17:21 +0000 (07:17 +0000)]
ext/vorbis/vorbisenc.c: Make vorbisenc's pad template behave like vorbisdec's. Fixes a leak with pad templates.

Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_base_init),
(gst_vorbis_enc_init):
Make vorbisenc's pad template behave like vorbisdec's. Fixes a leak with
pad templates.

15 years agogst-libs/gst/riff/riff-media.c: Add mapping for VP6 in avi/riff.
Edward Hervey [Fri, 12 Dec 2008 07:15:22 +0000 (07:15 +0000)]
gst-libs/gst/riff/riff-media.c: Add mapping for VP6 in avi/riff.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
(gst_riff_create_video_template_caps):
Add mapping for VP6 in avi/riff.

15 years agogst/subparse/samiparse.c: Some versions of libxml seem to be very picky as to strict...
Edward Hervey [Thu, 11 Dec 2008 15:49:12 +0000 (15:49 +0000)]
gst/subparse/samiparse.c: Some versions of libxml seem to be very picky as to strict formatting of the input and neve...

Original commit message from CVS:
* gst/subparse/samiparse.c: (sami_context_push_state),
(sami_context_pop_state), (start_sami_element), (end_sami_element):
Some versions of libxml seem to be very picky as to strict formatting
of the input and never 'close' the final </body> tag.
In order to fix that bad behaviour, we trigger the flushing of
remaining data on both </body> and </sami>.
Fixes #557365

15 years agogst/typefind/gsttypefindfunctions.c: Add typefinders for MS Word files and OS X ...
Guillaume Emont [Thu, 11 Dec 2008 12:32:03 +0000 (12:32 +0000)]
gst/typefind/gsttypefindfunctions.c: Add typefinders for MS Word files and OS X .DS_Store files to prevent them to be...

Original commit message from CVS:
Patch by: Guillaume Emont <guillaume at fluendo dot com>
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
Add typefinders for MS Word files and OS X .DS_Store files to
prevent them to be recognized as MPEG files. Fixes bug #564098.

15 years agogst/playback/gstplaysink.c: Add some more debug info.
Wim Taymans [Thu, 11 Dec 2008 11:04:14 +0000 (11:04 +0000)]
gst/playback/gstplaysink.c: Add some more debug info.

Original commit message from CVS:
* gst/playback/gstplaysink.c: (gen_audio_chain),
(gst_play_sink_reconfigure):
Add some more debug info.
Fix linking of just an encoded sink.
Handle failure to create a sink chain more gracefully than crashing.

15 years agotests/check/pipelines/theoraenc.c: Pushing 10 buffers is enough to run the test.
Wim Taymans [Thu, 11 Dec 2008 10:33:48 +0000 (10:33 +0000)]
tests/check/pipelines/theoraenc.c: Pushing 10 buffers is enough to run the test.

Original commit message from CVS:
* tests/check/pipelines/theoraenc.c: (GST_START_TEST):
Pushing 10 buffers is enough to run the test.

15 years agotests/examples/seek/seek.c: Hook up the SKIP seek flag.
Wim Taymans [Thu, 11 Dec 2008 10:28:43 +0000 (10:28 +0000)]
tests/examples/seek/seek.c: Hook up the SKIP seek flag.

Original commit message from CVS:
* tests/examples/seek/seek.c: (do_seek), (stop_cb),
(skip_toggle_cb), (rate_spinbutton_changed_cb), (msg_segment_done),
(main):
Hook up the SKIP seek flag.

15 years agogst/playback/gstplaybin2.c: Error out with a missing-plugin error when the input...
Wim Taymans [Wed, 10 Dec 2008 18:43:32 +0000 (18:43 +0000)]
gst/playback/gstplaybin2.c: Error out with a missing-plugin error when the input-selector was not found.

Original commit message from CVS:
* gst/playback/gstplaybin2.c: (pad_added_cb):
Error out with a missing-plugin error when the input-selector was not
found.
* gst/playback/gstplaysink.c: (gst_play_sink_reconfigure):
Indentation.

15 years agogst/playback/gstplaysink.c: Use G_DEFINE_TYPE.
Wim Taymans [Wed, 10 Dec 2008 17:39:32 +0000 (17:39 +0000)]
gst/playback/gstplaysink.c: Use G_DEFINE_TYPE.

Original commit message from CVS:
* gst/playback/gstplaysink.c: (gst_play_sink_class_init),
(gst_play_sink_dispose), (gst_play_sink_finalize), (try_element),
(gen_video_chain), (gen_audio_chain), (gst_play_sink_reconfigure),
(gst_play_sink_send_event), (gst_play_sink_change_state):
Use G_DEFINE_TYPE.
Try to set the selected sink to READY before using it. This will allow
for detection of incompatible formats sooner.
Don't cause a fatal error when conversion elements are missing but post
a missing-element message and a warning instead because things might
still link and run fine.
Simplyfy the construction of audio and video sink chains.

15 years agoext/ogg/gstoggdemux.c: Use G_DEFINE_TYPE for the OggPad to get some threadsafe type...
Wim Taymans [Wed, 10 Dec 2008 14:55:10 +0000 (14:55 +0000)]
ext/ogg/gstoggdemux.c: Use G_DEFINE_TYPE for the OggPad to get some threadsafe type init from glib.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_class_init),
(gst_ogg_pad_dispose), (gst_ogg_pad_finalize):
Use G_DEFINE_TYPE for the OggPad to get some threadsafe type
init from glib.

15 years agogst/: Include glib.h instead of a specific GLib header. Including single
Luis Menina [Wed, 10 Dec 2008 08:19:13 +0000 (08:19 +0000)]
gst/: Include glib.h instead of a specific GLib header. Including single

Original commit message from CVS:
Patch by: Luis Menina <liberforce at freeside dot fr>
* gst-libs/gst/floatcast/floatcast.h:
* gst/typefind/gsttypefindfunctions.c:
Include glib.h instead of a specific GLib header. Including single
GLib headers is deprecated. Fixes bug #563904.

15 years agogst-libs/gst/riff/riff-media.c: Support higher max audio rates for some formats ...
Julien Moutte [Tue, 9 Dec 2008 18:30:10 +0000 (18:30 +0000)]
gst-libs/gst/riff/riff-media.c: Support higher max audio rates for some formats (WAV, Vorbis, LPCM).

Original commit message from CVS:
2008-12-09  Julien Moutte  <julien@fluendo.com>

* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
Support higher max audio rates for some formats (WAV, Vorbis, LPCM).

15 years agogst-libs/gst/riff/riff-read.c: Fix handling of odd chunks in riff metadata.
Stefan Kost [Tue, 9 Dec 2008 17:21:37 +0000 (17:21 +0000)]
gst-libs/gst/riff/riff-read.c: Fix handling of odd chunks in riff metadata.

Original commit message from CVS:
* gst-libs/gst/riff/riff-read.c:
Fix handling of odd chunks in riff metadata.

15 years agogst/volume/gstvolume.c: Use new basetransform vmethod to reconfigure the dynamic...
Wim Taymans [Mon, 8 Dec 2008 18:44:22 +0000 (18:44 +0000)]
gst/volume/gstvolume.c: Use new basetransform vmethod to reconfigure the dynamic properties and any pending volume/mu...

Original commit message from CVS:
* gst/volume/gstvolume.c: (gst_volume_class_init),
(volume_before_transform), (volume_transform_ip):
Use new basetransform vmethod to reconfigure the dynamic properties and
any pending volume/mute changes. Fixes #563508.

15 years agoconfigure.ac: First check for "theoraenc theoradec" and if that failed check for...
Sebastian Dröge [Mon, 8 Dec 2008 18:12:18 +0000 (18:12 +0000)]
configure.ac: First check for "theoraenc theoradec" and if that failed check for "theora >= 1.0alpha5". The former ap...

Original commit message from CVS:
* configure.ac:
First check for "theoraenc theoradec" and if that failed check
for "theora >= 1.0alpha5". The former appeared in 1.0beta3 and
deprecate the latter. Also linking on Windows fails with just "theora"
and the version check would fail for the release candidates.
Fixes bug #563718.

15 years agogst/playback/: Add basic docs to decodebin and link to decodebin from decodebin2.
Stefan Kost [Mon, 8 Dec 2008 15:25:13 +0000 (15:25 +0000)]
gst/playback/: Add basic docs to decodebin and link to decodebin from decodebin2.

Original commit message from CVS:
* gst/playback/gstdecodebin.c:
* gst/playback/gstdecodebin2.c:
Add basic docs to decodebin and link to decodebin from decodebin2.

15 years agogst-libs/gst/rtp/gstrtcpbuffer.*: Implement gst_rtcp_packet_remove(). Fixes #563174.
Olivier Crete [Mon, 8 Dec 2008 12:08:32 +0000 (12:08 +0000)]
gst-libs/gst/rtp/gstrtcpbuffer.*: Implement gst_rtcp_packet_remove(). Fixes #563174.

Original commit message from CVS:
Patch by: Olivier Crete  <tester at tester ca>
* gst-libs/gst/rtp/gstrtcpbuffer.c: (gst_rtcp_packet_remove):
* gst-libs/gst/rtp/gstrtcpbuffer.h:
Implement gst_rtcp_packet_remove(). Fixes #563174.
* tests/check/libs/rtp.c: (GST_START_TEST), (rtp_suite):
Add unit test for some RTCP functions.

15 years agoconfigure.ac: Apparently AC_CONFIG_MACRO_DIR breaks when using more than one macro...
Sebastian Dröge [Thu, 4 Dec 2008 20:09:19 +0000 (20:09 +0000)]
configure.ac: Apparently AC_CONFIG_MACRO_DIR breaks when using more than one macro directory, reverting last change.

Original commit message from CVS:
* configure.ac:
Apparently AC_CONFIG_MACRO_DIR breaks when using more
than one macro directory, reverting last change.

15 years agoconfigure.ac: Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to our M4 macros.
Sebastian Dröge [Thu, 4 Dec 2008 19:47:12 +0000 (19:47 +0000)]
configure.ac: Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to our M4 macros.

Original commit message from CVS:
* configure.ac:
Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
our M4 macros.

15 years agosys/: Clear all flags on buffers returned from the image pool.
Edward Hervey [Wed, 3 Dec 2008 17:47:44 +0000 (17:47 +0000)]
sys/: Clear all flags on buffers returned from the image pool.

Original commit message from CVS:
* sys/ximage/ximagesink.c: (gst_ximagesink_buffer_alloc):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_buffer_alloc):
Clear all flags on buffers returned from the image pool.
Fixes #563143

15 years agogst-libs/gst/app/gstappsrc.c: Don't forget to release the lock again if we bail out...
이문형 [Mon, 1 Dec 2008 19:36:35 +0000 (19:36 +0000)]
gst-libs/gst/app/gstappsrc.c: Don't forget to release the lock again if we bail out because some pad is flushing or w...

Original commit message from CVS:
Patch by: 이문형 <iwings at gmail dot com>
* gst-libs/gst/app/gstappsrc.c: (gst_app_src_push_buffer):
Don't forget to release the lock again if we bail out because some
pad is flushing or we've reached EOS, otherwise things will lock up
next time _push_buffer() is called (#562802).

15 years agoRequire gettext 0.17 because older versions don't mix with libtool 2.2. At build...
Sebastian Dröge [Sat, 29 Nov 2008 13:31:47 +0000 (13:31 +0000)]
Require gettext 0.17 because older versions don't mix with libtool 2.2. At build time an older gettext version will s...

Original commit message from CVS:
Patch by: Cygwin Ports maintainer
<yselkowitz at users dot sourceforge dot net>
* autogen.sh:
* configure.ac:
Require gettext 0.17 because older versions don't mix with libtool
2.2. At build time an older gettext version will still work.
Fixes bug #556091.

15 years agofix build
Christian Schaller [Fri, 28 Nov 2008 13:30:36 +0000 (13:30 +0000)]
fix build

Original commit message from CVS:
fix build

15 years agoUpdate documentation of speexresample for the new element name.
Sebastian Dröge [Fri, 28 Nov 2008 09:44:12 +0000 (09:44 +0000)]
Update documentation of speexresample for the new element name.

Original commit message from CVS:
* docs/plugins/gst-plugins-base-plugins.args:
* docs/plugins/gst-plugins-base-plugins.hierarchy:
* docs/plugins/gst-plugins-base-plugins.interfaces:
* docs/plugins/gst-plugins-base-plugins.prerequisites:
* docs/plugins/inspect/plugin-videorate.xml:
* gst/speexresample/gstspeexresample.c:
Update documentation of speexresample for the new element name.

15 years agogst/speexresample/README: Update README with the latest diff between the Speex resamp...
Sebastian Dröge [Fri, 28 Nov 2008 09:04:46 +0000 (09:04 +0000)]
gst/speexresample/README: Update README with the latest diff between the Speex resampler and our copy.

Original commit message from CVS:
* gst/speexresample/README:
Update README with the latest diff between the Speex resampler
and our copy.

15 years agogst/speexresample/gstspeexresample.c: Update the debug category from speex_resample...
Sebastian Dröge [Fri, 28 Nov 2008 08:37:50 +0000 (08:37 +0000)]
gst/speexresample/gstspeexresample.c: Update the debug category from speex_resample to audioresample.

Original commit message from CVS:
* gst/speexresample/gstspeexresample.c: (plugin_init):
Update the debug category from speex_resample to audioresample.

15 years agoRemove audioresample files.
Sebastian Dröge [Thu, 27 Nov 2008 19:13:59 +0000 (19:13 +0000)]
Remove audioresample files.

Original commit message from CVS:
* gst/audioresample/Makefile.am:
* gst/audioresample/buffer.c:
* gst/audioresample/buffer.h:
* gst/audioresample/debug.c:
* gst/audioresample/debug.h:
* gst/audioresample/functable.c:
* gst/audioresample/functable.h:
* gst/audioresample/gstaudioresample.c:
* gst/audioresample/gstaudioresample.h:
* gst/audioresample/resample.c:
* gst/audioresample/resample.h:
* gst/audioresample/resample_chunk.c:
* gst/audioresample/resample_functable.c:
* gst/audioresample/resample_ref.c:
* tests/check/elements/audioresample.c:
Remove audioresample files.

15 years agodocs/plugins/inspect/plugin-audioresample.xml: Regenerated for library filename change.
Sebastian Dröge [Thu, 27 Nov 2008 17:04:07 +0000 (17:04 +0000)]
docs/plugins/inspect/plugin-audioresample.xml: Regenerated for library filename change.

Original commit message from CVS:
* docs/plugins/inspect/plugin-audioresample.xml:
Regenerated for library filename change.

15 years agoRename the moved speexresample to audioresample, integrate into the build system...
Sebastian Dröge [Thu, 27 Nov 2008 16:57:09 +0000 (16:57 +0000)]
Rename the moved speexresample to audioresample, integrate into the build system and remove the old audioresample fro...

Original commit message from CVS:
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* docs/plugins/gst-plugins-base-plugins.args:
* docs/plugins/gst-plugins-base-plugins.hierarchy:
* docs/plugins/gst-plugins-base-plugins.interfaces:
* docs/plugins/gst-plugins-base-plugins.prerequisites:
* docs/plugins/inspect/plugin-adder.xml:
* docs/plugins/inspect/plugin-alsa.xml:
* docs/plugins/inspect/plugin-audioconvert.xml:
* docs/plugins/inspect/plugin-audiorate.xml:
* docs/plugins/inspect/plugin-audioresample.xml:
* docs/plugins/inspect/plugin-audiotestsrc.xml:
* docs/plugins/inspect/plugin-cdparanoia.xml:
* docs/plugins/inspect/plugin-decodebin.xml:
* docs/plugins/inspect/plugin-ffmpegcolorspace.xml:
* docs/plugins/inspect/plugin-gdp.xml:
* docs/plugins/inspect/plugin-gio.xml:
* docs/plugins/inspect/plugin-gnomevfs.xml:
* docs/plugins/inspect/plugin-libvisual.xml:
* docs/plugins/inspect/plugin-ogg.xml:
* docs/plugins/inspect/plugin-pango.xml:
* docs/plugins/inspect/plugin-playback.xml:
* docs/plugins/inspect/plugin-queue2.xml:
* docs/plugins/inspect/plugin-subparse.xml:
* docs/plugins/inspect/plugin-tcp.xml:
* docs/plugins/inspect/plugin-theora.xml:
* docs/plugins/inspect/plugin-typefindfunctions.xml:
* docs/plugins/inspect/plugin-uridecodebin.xml:
* docs/plugins/inspect/plugin-video4linux.xml:
* docs/plugins/inspect/plugin-videorate.xml:
* docs/plugins/inspect/plugin-videoscale.xml:
* docs/plugins/inspect/plugin-videotestsrc.xml:
* docs/plugins/inspect/plugin-volume.xml:
* docs/plugins/inspect/plugin-vorbis.xml:
* docs/plugins/inspect/plugin-ximagesink.xml:
* docs/plugins/inspect/plugin-xvimagesink.xml:
* gst/speexresample/gstspeexresample.c: (plugin_init):
* gst/speexresample/Makefile.am:
* tests/check/Makefile.am:
* tests/check/elements/speexresample.c: (setup_speexresample),
(GST_START_TEST), (test_pipeline):
Rename the moved speexresample to audioresample, integrate into the
build system and remove the old audioresample from the build system.
Fixes bug #558124, #385061, #346218, #116051.

15 years agogst-libs/gst/audio/gstbaseaudiosrc.c: Avoid nasty int overflows after about 12 hours...
Wim Taymans [Thu, 27 Nov 2008 16:47:41 +0000 (16:47 +0000)]
gst-libs/gst/audio/gstbaseaudiosrc.c: Avoid nasty int overflows after about 12 hours and 25 minutes when these code p...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_get_offset), (gst_base_audio_src_create):
Avoid nasty int overflows after about 12 hours and 25 minutes when these
code paths are triggered.
A free beer to Håvard Graff for finding this!

15 years agogst-libs/gst/rtsp/gstrtspconnection.c: A successful gst_poll_wait() doesn't always...
이문형 [Thu, 27 Nov 2008 11:16:44 +0000 (11:16 +0000)]
gst-libs/gst/rtsp/gstrtspconnection.c: A successful gst_poll_wait() doesn't always mean successful connect() on

Original commit message from CVS:
Patch by: 이문형 <iwings at gmail dot com>
* gst-libs/gst/rtsp/gstrtspconnection.c:
(gst_rtsp_connection_connect):
A successful gst_poll_wait() doesn't always mean successful connect() on
Windows.  We should check errors by calling gst_poll_fd_has_error().
See #561924.

15 years agotests/check/elements/speexresample.c: Make unit test again faster to prevent timeouts...
Sebastian Dröge [Tue, 25 Nov 2008 16:37:50 +0000 (16:37 +0000)]
tests/check/elements/speexresample.c: Make unit test again faster to prevent timeouts with valgrind.

Original commit message from CVS:
* tests/check/elements/speexresample.c: (test_pipeline):
Make unit test again faster to prevent timeouts with valgrind.

15 years agogst-libs/gst/rtp/gstrtcpbuffer.c: Fix typo in the docs.
Wim Taymans [Tue, 25 Nov 2008 15:33:30 +0000 (15:33 +0000)]
gst-libs/gst/rtp/gstrtcpbuffer.c: Fix typo in the docs.

Original commit message from CVS:
* gst-libs/gst/rtp/gstrtcpbuffer.c:
Fix typo in the docs.

15 years agoext/ogg/gstoggdemux.c: If no stream was found before receiving EOS, post an error...
Wim Taymans [Tue, 25 Nov 2008 15:28:36 +0000 (15:28 +0000)]
ext/ogg/gstoggdemux.c: If no stream was found before receiving EOS, post an error message.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_sink_event):
If no stream was found before receiving EOS, post an error message.
Fixes #561924.

15 years agoext/theora/: Parse segment events.
Wim Taymans [Tue, 25 Nov 2008 15:14:30 +0000 (15:14 +0000)]
ext/theora/: Parse segment events.

Original commit message from CVS:
* ext/theora/gsttheoraenc.h:
* ext/theora/theoraenc.c: (gst_theora_enc_init),
(theora_buffer_from_packet), (theora_push_packet),
(theora_enc_sink_event), (theora_enc_is_discontinuous),
(theora_enc_chain):
Parse segment events.
Pass incomming buffer timestamps to outgoing buffers.
Use the running_time to construct the granulepos.
Fixes #562163.

15 years agogst/playback/gstplaybin2.c: Fix buffer-duration property.
Wim Taymans [Tue, 25 Nov 2008 11:00:55 +0000 (11:00 +0000)]
gst/playback/gstplaybin2.c: Fix buffer-duration property.

Original commit message from CVS:
* gst/playback/gstplaybin2.c: (activate_group):
Fix buffer-duration property.

15 years agogst-libs/gst/audio/gstbaseaudiosink.c: Really fix audiosink drain handling by keeping...
Wim Taymans [Tue, 25 Nov 2008 10:32:49 +0000 (10:32 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Really fix audiosink drain handling by keeping track of the running_time of th...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_drain), (gst_base_audio_sink_event),
(gst_base_audio_sink_sync_latency), (gst_base_audio_sink_render),
(gst_base_audio_sink_change_state):
Really fix audiosink drain handling by keeping track of the running_time
of the last sample.

15 years agogst/playback/gstplaybin2.c: Add notification of current stream. Add ability to config...
Michael Smith [Mon, 24 Nov 2008 20:25:24 +0000 (20:25 +0000)]
gst/playback/gstplaybin2.c: Add notification of current stream. Add ability to configure buffer sizes.

Original commit message from CVS:
* gst/playback/gstplaybin2.c:
Add notification of current stream. Add ability to configure buffer
sizes.
* gst/playback/gsturidecodebin.c:
Add ability to configure buffer sizes for streaming mode.
Bug #561734.

15 years agogst-libs/gst/audio/gstbaseaudiosink.c: Time is already in running_time. Remove base_t...
Stefan Kost [Mon, 24 Nov 2008 20:11:52 +0000 (20:11 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Time is already in running_time. Remove base_time handling. Fixes audiosinks n...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
Time is already in running_time. Remove base_time handling. Fixes
audiosinks not draining and thus chopping some audio in the end.

15 years agoext/ogg/gstoggmux.*: If we're muxing a dirac stream, flush the page after every picture.
David Schleef [Mon, 24 Nov 2008 19:18:59 +0000 (19:18 +0000)]
ext/ogg/gstoggmux.*: If we're muxing a dirac stream, flush the page after every picture.

Original commit message from CVS:
* ext/ogg/gstoggmux.c:
* ext/ogg/gstoggmux.h:
If we're muxing a dirac stream, flush the page after every picture.

15 years agogst-libs/gst/audio/gstbaseaudiosink.c: Add one log message to check for audio_drained...
Stefan Kost [Mon, 24 Nov 2008 12:56:54 +0000 (12:56 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Add one log message to check for audio_drained. Sync one log message with the ...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
Add one log message to check for audio_drained. Sync one log message
with the condition. Send EOS after draining audio in pull mode.

15 years agoext/: Use gst_buffer_try_new_and_alloc() and fail properly if the allocation failed...
Sebastian Dröge [Mon, 24 Nov 2008 12:07:10 +0000 (12:07 +0000)]
ext/: Use gst_buffer_try_new_and_alloc() and fail properly if the allocation failed. This prevents abort() if downstr...

Original commit message from CVS:
* ext/gio/gstgiobasesrc.c: (gst_gio_base_src_create):
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_create):
Use gst_buffer_try_new_and_alloc() and fail properly if the
allocation failed. This prevents abort() if downstream elements
request an insane amount of memory.

15 years agogst/volume/gstvolume.*: Cleanup volume, define and use default values.
Jon Trowbridge [Mon, 24 Nov 2008 12:03:11 +0000 (12:03 +0000)]
gst/volume/gstvolume.*: Cleanup volume, define and use default values.

Original commit message from CVS:
* gst/volume/gstvolume.c: (volume_choose_func),
(volume_update_volume), (gst_volume_set_volume),
(gst_volume_get_volume), (gst_volume_set_mute),
(gst_volume_class_init), (gst_volume_init),
(volume_process_double), (volume_process_float),
(volume_process_int32), (volume_process_int32_clamp),
(volume_process_int24), (volume_process_int24_clamp),
(volume_process_int16), (volume_process_int16_clamp),
(volume_process_int8), (volume_process_int8_clamp), (volume_setup),
(volume_transform_ip), (volume_set_property),
(volume_get_property):
* gst/volume/gstvolume.h:
Cleanup volume, define and use default values.
Recalculate new volume and mute setup before processing. Fixes #561789.
* tests/check/elements/volume.c: (GST_START_TEST), (volume_suite):
Add controller unit test. Patch by: Jonathan Matthew
Fix bogus test that messed with basetransform's internal state.

15 years agotests/check/elements/speexresample.c: Make the unit test a bit faster to prevent...
Sebastian Dröge [Sat, 22 Nov 2008 15:02:15 +0000 (15:02 +0000)]
tests/check/elements/speexresample.c: Make the unit test a bit faster to prevent timeouts, especially with valgrind.

Original commit message from CVS:
* tests/check/elements/speexresample.c: (GST_START_TEST):
Make the unit test a bit faster to prevent timeouts, especially
with valgrind.

15 years agogst/videorate/gstvideorate.c: Add jpeg and png image media types to the caps. Fixes...
Wim Taymans [Sat, 22 Nov 2008 14:44:26 +0000 (14:44 +0000)]
gst/videorate/gstvideorate.c: Add jpeg and png image media types to the caps. Fixes #561436.

Original commit message from CVS:
* gst/videorate/gstvideorate.c:
Add jpeg and png image media types to the caps. Fixes #561436.

15 years agogst/playback/gstplaysink.c: Don't post an error when we can't configure the volume...
Wim Taymans [Sat, 22 Nov 2008 14:31:43 +0000 (14:31 +0000)]
gst/playback/gstplaysink.c: Don't post an error when we can't configure the volume but post a warning instead. Fixes ...

Original commit message from CVS:
* gst/playback/gstplaysink.c: (gen_audio_chain):
Don't post an error when we can't configure the volume but post a
warning instead. Fixes #561780.

15 years agogst/videotestsrc/: Add a zone plate pattern generator based on BBC R&D Report 1978...
Jonathan Rosser [Fri, 21 Nov 2008 20:32:56 +0000 (20:32 +0000)]
gst/videotestsrc/: Add a zone plate pattern generator based on BBC R&D Report 1978/23 (yeah *that* 1978).  Try 'video...

Original commit message from CVS:
Patch by: Jonathan Rosser <jonathan.rosser@rd.bbc.co.uk>
* gst/videotestsrc/gstvideotestsrc.c:
* gst/videotestsrc/gstvideotestsrc.h:
* gst/videotestsrc/videotestsrc.c:
* gst/videotestsrc/videotestsrc.h:
Add a zone plate pattern generator based on BBC R&D Report
1978/23 (yeah *that* 1978).  Try 'videotestsrc pattern=zone-plate
kx2=20 ky2=20 kt=1'.

15 years agogst/speexresample/gstspeexresample.c: Add a "filter-length" property that maps to...
Sebastian Dröge [Fri, 21 Nov 2008 15:45:15 +0000 (15:45 +0000)]
gst/speexresample/gstspeexresample.c: Add a "filter-length" property that maps to the quality values for compatibilty...

Original commit message from CVS:
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_class_init), (gst_speex_resample_set_property),
(gst_speex_resample_get_property):
Add a "filter-length" property that maps to the quality values
for compatibilty with audioresample.

15 years agogst/playback/gstdecodebin2.c: Fix random fat-fingering making this not compile.
Michael Smith [Fri, 21 Nov 2008 00:04:48 +0000 (00:04 +0000)]
gst/playback/gstdecodebin2.c: Fix random fat-fingering making this not compile.

Original commit message from CVS:
* gst/playback/gstdecodebin2.c:
Fix random fat-fingering making this not compile.

15 years agogst/playback/gstdecodebin2.c: If the top-level type of the stream is plain text,...
Michael Smith [Thu, 20 Nov 2008 22:11:38 +0000 (22:11 +0000)]
gst/playback/gstdecodebin2.c: If the top-level type of the stream is plain text, don't try to decode it, matching beh...

Original commit message from CVS:
* gst/playback/gstdecodebin2.c:
If the top-level type of the stream is plain text, don't try to decode
it, matching behaviour of decodebin.
* gst/playback/gstplaysink.c:
If we fail to generate a text chain (e.g. due to missing optional
plugins), don't crash.

15 years agogst-libs/gst/rtsp/gstrtspdefs.c: Fix win32 build. Oops.
Michael Smith [Thu, 20 Nov 2008 22:06:05 +0000 (22:06 +0000)]
gst-libs/gst/rtsp/gstrtspdefs.c: Fix win32 build. Oops.

Original commit message from CVS:
* gst-libs/gst/rtsp/gstrtspdefs.c:
Fix win32 build. Oops.

15 years agogst-libs/gst/rtsp/gstrtspdefs.c: Use WSAGetLastError() rather than errno/h_errno...
Michael Smith [Thu, 20 Nov 2008 21:40:49 +0000 (21:40 +0000)]
gst-libs/gst/rtsp/gstrtspdefs.c: Use WSAGetLastError() rather than errno/h_errno on win32.

Original commit message from CVS:
* gst-libs/gst/rtsp/gstrtspdefs.c:
Use WSAGetLastError() rather than errno/h_errno on win32.

15 years agogst-libs/gst/riff/riff-media.c: Support WMA Lossless properly.
Michael Smith [Thu, 20 Nov 2008 21:20:27 +0000 (21:20 +0000)]
gst-libs/gst/riff/riff-media.c: Support WMA Lossless properly.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
Support WMA Lossless properly.

15 years agogst/videotestsrc/: Add "colorspec" property, specifying whether to generate BT.601...
David Schleef [Wed, 19 Nov 2008 00:24:44 +0000 (00:24 +0000)]
gst/videotestsrc/: Add "colorspec" property, specifying whether to generate BT.601 or BT.709 video.  This only affect...

Original commit message from CVS:
* gst/videotestsrc/gstvideotestsrc.c:
* gst/videotestsrc/gstvideotestsrc.h:
* gst/videotestsrc/videotestsrc.c:
* gst/videotestsrc/videotestsrc.h:
Add "colorspec" property, specifying whether to generate BT.601
or BT.709 video.  This only affects YCbCr values, not RGB, since
if you're generating a 709 test pattern, presumably you want
709 RGB primaries, not 601.  Also add "smpte75" pattern, which
uses 75% colors instead of 100%, since this is often more useful
for testing (and also follows the SMPTE EG-1 guideline).

15 years agogst/playback/gstdecodebin.c: Add a "sink-caps" property to decodebin like it's done...
Alessandro Decina [Tue, 18 Nov 2008 18:08:42 +0000 (18:08 +0000)]
gst/playback/gstdecodebin.c: Add a "sink-caps" property to decodebin like it's done for decodebin2.

Original commit message from CVS:
* gst/playback/gstdecodebin.c:
Add a "sink-caps" property to decodebin like it's done for decodebin2.
Fixes #560380.

15 years agogst/audioresample/gstaudioresample.c: Guard against a NULL dereference I somehow...
Jan Schmidt [Fri, 14 Nov 2008 21:44:33 +0000 (21:44 +0000)]
gst/audioresample/gstaudioresample.c: Guard against a NULL dereference I somehow encountered - with a FLUSH_STOP arri...

Original commit message from CVS:
* gst/audioresample/gstaudioresample.c:
Guard against a NULL dereference I somehow encountered -
with a FLUSH_STOP arriving either before basetransform _start(),
or after _stop().
* gst/typefind/gsttypefindfunctions.c:
Make sure we never jump backwards when typefinding corrupt mov files.

15 years agogst-libs/gst/interfaces/propertyprobe.c: Fix random type causing a docs warning.
Jan Schmidt [Fri, 14 Nov 2008 21:39:09 +0000 (21:39 +0000)]
gst-libs/gst/interfaces/propertyprobe.c: Fix random type causing a docs warning.

Original commit message from CVS:
* gst-libs/gst/interfaces/propertyprobe.c:
Fix random type causing a docs warning.

15 years agosys/v4l/gstv4l.c: Give it a minimal rank for autovideosrc.
Stefan Kost [Fri, 14 Nov 2008 15:40:28 +0000 (15:40 +0000)]
sys/v4l/gstv4l.c: Give it a minimal rank for autovideosrc.

Original commit message from CVS:
* sys/v4l/gstv4l.c:
Give it a minimal rank for autovideosrc.

15 years agogst/typefind/gsttypefindfunctions.c: Improve typefinding of ISO JPEG2000 mime types.
Mark Nauwelaerts [Thu, 13 Nov 2008 21:11:13 +0000 (21:11 +0000)]
gst/typefind/gsttypefindfunctions.c: Improve typefinding of ISO JPEG2000 mime types.

Original commit message from CVS:
* gst/typefind/gsttypefindfunctions.c: (jp2_type_find),
(plugin_init):
Improve typefinding of ISO JPEG2000 mime types.

15 years agosys/xvimage/xvimagesink.*: Avoid typechecking when we do trivial casts.
Wim Taymans [Thu, 13 Nov 2008 18:18:32 +0000 (18:18 +0000)]
sys/xvimage/xvimagesink.*: Avoid typechecking when we do trivial casts.

Original commit message from CVS:
* sys/xvimage/xvimagesink.c: (gst_xvimage_buffer_finalize),
(gst_xvimagesink_xvimage_put), (gst_xvimagesink_setcaps),
(gst_xvimagesink_show_frame), (gst_xvimagesink_buffer_alloc):
* sys/xvimage/xvimagesink.h:
Avoid typechecking when we do trivial casts.
Move error handling out of the main program flow.
Sneak in the display-region caps property, not completely correct yet.
Cache the width/height in buffer_alloc instead of parsing it from the
caps all the time.

15 years agogst/playback/gstplaybin2.c: don't try to unlink the selector sinkpad when we don...
Wim Taymans [Thu, 13 Nov 2008 17:27:37 +0000 (17:27 +0000)]
gst/playback/gstplaybin2.c: don't try to unlink the selector sinkpad when we don't have it yet. This can happen if an...

Original commit message from CVS:
* gst/playback/gstplaybin2.c: (deactivate_group):
don't try to unlink the selector sinkpad when we don't have it yet. This
can happen if an error occured before the group was complete.

15 years agogst-libs/gst/rtp/gstrtpbuffer.c: Avoid expensive type checks we already did as part...
Wim Taymans [Thu, 13 Nov 2008 15:37:40 +0000 (15:37 +0000)]
gst-libs/gst/rtp/gstrtpbuffer.c: Avoid expensive type checks we already did as part of the _validate() function that ...

Original commit message from CVS:
* gst-libs/gst/rtp/gstrtpbuffer.c: (gst_rtp_buffer_validate_data),
(gst_rtp_buffer_set_packet_len), (gst_rtp_buffer_get_packet_len),
(gst_rtp_buffer_get_header_len), (gst_rtp_buffer_get_version),
(gst_rtp_buffer_set_version), (gst_rtp_buffer_get_padding),
(gst_rtp_buffer_set_padding), (gst_rtp_buffer_pad_to),
(gst_rtp_buffer_get_extension), (gst_rtp_buffer_set_extension),
(gst_rtp_buffer_get_extension_data),
(gst_rtp_buffer_set_extension_data), (gst_rtp_buffer_get_ssrc),
(gst_rtp_buffer_set_ssrc), (gst_rtp_buffer_get_csrc_count),
(gst_rtp_buffer_get_csrc), (gst_rtp_buffer_set_csrc),
(gst_rtp_buffer_get_marker), (gst_rtp_buffer_set_marker),
(gst_rtp_buffer_get_payload_type),
(gst_rtp_buffer_set_payload_type), (gst_rtp_buffer_get_seq),
(gst_rtp_buffer_set_seq), (gst_rtp_buffer_get_timestamp),
(gst_rtp_buffer_set_timestamp),
(gst_rtp_buffer_get_payload_subbuffer),
(gst_rtp_buffer_get_payload_len), (gst_rtp_buffer_get_payload):
Avoid expensive type checks we already did as part of the
_validate() function that should be called first.

15 years agogst-libs/gst/rtp/gstbasertpdepayload.c: Fix some cases where a newsegment event was...
Wim Taymans [Tue, 11 Nov 2008 16:40:50 +0000 (16:40 +0000)]
gst-libs/gst/rtp/gstbasertpdepayload.c: Fix some cases where a newsegment event was not sent.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertpdepayload.c: (create_segment_event),
(gst_base_rtp_depayload_push_full),
(gst_base_rtp_depayload_set_gst_timestamp):
Fix some cases where a newsegment event was not sent.

15 years agogst/playback/gstplaybin2.c: Catch state change errors and stop from the uridecodebin...
Wim Taymans [Tue, 11 Nov 2008 15:52:14 +0000 (15:52 +0000)]
gst/playback/gstplaybin2.c: Catch state change errors and stop from the uridecodebin elements instead of trying to co...

Original commit message from CVS:
* gst/playback/gstplaybin2.c: (activate_group):
Catch state change errors and stop from the uridecodebin elements
instead of trying to continue in vain.

15 years agogst/: Wim, you're a bad boy. You don't want people to contact you or what?
Edward Hervey [Mon, 10 Nov 2008 14:53:45 +0000 (14:53 +0000)]
gst/: Wim, you're a bad boy. You don't want people to contact you or what?

Original commit message from CVS:
* gst-libs/gst/app/gstappsink.c:
* gst-libs/gst/app/gstappsrc.c:
* gst/h264parse/gsth264parse.c:
Wim, you're a bad boy. You don't want people to contact you or what?

15 years agogst-libs/gst/audio/gstbaseaudiosink.c: Use gst_base_sink_do_preroll() to wait for...
Wim Taymans [Mon, 10 Nov 2008 14:22:09 +0000 (14:22 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Use gst_base_sink_do_preroll() to wait for PLAYING and before waiting for the ...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_sync_latency), (gst_base_audio_sink_render),
(gst_base_audio_sink_callback):
Use gst_base_sink_do_preroll() to wait for PLAYING and before waiting
for the latency to expire, fixes #559567.

15 years agogst/adder/gstadder.c: Change author string after seeing output of gst-inspector.
Thomas Vander Stichele [Mon, 10 Nov 2008 13:55:08 +0000 (13:55 +0000)]
gst/adder/gstadder.c: Change author string after seeing output of gst-inspector.

Original commit message from CVS:
* gst/adder/gstadder.c:
Change author string after seeing output of gst-inspector.

15 years agogst/playback/gstplaysink.c: Don't try to do crazy things when we only have a text...
Wim Taymans [Mon, 10 Nov 2008 10:33:26 +0000 (10:33 +0000)]
gst/playback/gstplaysink.c: Don't try to do crazy things when we only have a text pad without a video pad. Fixes #559...

Original commit message from CVS:
* gst/playback/gstplaysink.c: (gst_play_sink_reconfigure):
Don't try to do crazy things when we only have a text pad without a
video pad. Fixes #559478.

15 years agogst-libs/gst/app/gstappsrc.*: Add is-live property.
Wim Taymans [Fri, 7 Nov 2008 17:35:46 +0000 (17:35 +0000)]
gst-libs/gst/app/gstappsrc.*: Add is-live property.

Original commit message from CVS:
* gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init),
(gst_app_src_init), (gst_app_src_set_property),
(gst_app_src_get_property), (gst_app_src_push_buffer):
* gst-libs/gst/app/gstappsrc.h:
Add is-live property.
Add some more docs.

15 years agogst-libs/gst/riff/riff-media.c: Fix case where we don't have a range for the rates...
Wim Taymans [Thu, 6 Nov 2008 12:14:51 +0000 (12:14 +0000)]
gst-libs/gst/riff/riff-media.c: Fix case where we don't have a range for the rates or channels as is the case with tr...

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
Fix case where we don't have a range for the rates or channels as is the
case with truespeech.

15 years agogst/volume/gstvolume.*: Keep negotiated state in a separate variable.
Wim Taymans [Wed, 5 Nov 2008 19:18:25 +0000 (19:18 +0000)]
gst/volume/gstvolume.*: Keep negotiated state in a separate variable.

Original commit message from CVS:
* gst/volume/gstvolume.c: (volume_update_real_volume),
(gst_volume_set_volume), (gst_volume_get_volume),
(gst_volume_set_mute), (gst_volume_init), (volume_setup),
(volume_transform_ip), (volume_update_mute),
(volume_update_volume), (volume_get_property):
* gst/volume/gstvolume.h:
Keep negotiated state in a separate variable.
Protect the volume and mute properties with the object lock.
Protect modifying the transform with the transform lock.

15 years agogst/ffmpegcolorspace/gstffmpegcodecmap.c: Only convert caps to string when debug...
Wim Taymans [Wed, 5 Nov 2008 12:20:21 +0000 (12:20 +0000)]
gst/ffmpegcolorspace/gstffmpegcodecmap.c: Only convert caps to string when debug is enabled.

Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_pixfmt_to_caps):
Only convert caps to string when debug is enabled.

15 years agoext/theora/: Copy seqnum.
Wim Taymans [Tue, 4 Nov 2008 18:17:24 +0000 (18:17 +0000)]
ext/theora/: Copy seqnum.

Original commit message from CVS:
* ext/theora/gsttheoradec.h:
* ext/theora/theoradec.c: (gst_theora_dec_init),
(gst_theora_dec_reset), (theora_dec_src_event),
(theora_dec_sink_event), (theora_handle_type_packet):
Copy seqnum.
Keep events in a pending list, like vorbisdec, instead of trying
to construct a segment event ourselves.
* ext/vorbis/vorbisdec.c: (gst_vorbis_dec_reset),
(vorbis_dec_src_event), (vorbis_dec_sink_event):
* ext/vorbis/vorbisdec.h:
Copy seqnum.

15 years agoext/ogg/gstoggdemux.*: Copy seqnums around to track playback segments and messages.
Wim Taymans [Tue, 4 Nov 2008 17:24:35 +0000 (17:24 +0000)]
ext/ogg/gstoggdemux.*: Copy seqnums around to track playback segments and messages.

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_submit_packet),
(gst_ogg_demux_deactivate_current_chain),
(gst_ogg_demux_perform_seek), (gst_ogg_demux_handle_page),
(gst_ogg_demux_loop):
* ext/ogg/gstoggdemux.h:
Copy seqnums around to track playback segments and messages.

15 years agoDon't install static libs for plugins. Fixes #550851 for -bad.
Stefan Kost [Tue, 4 Nov 2008 12:42:18 +0000 (12:42 +0000)]
Don't install static libs for plugins. Fixes #550851 for -bad.

Original commit message from CVS:
* ext/alsaspdif/Makefile.am:
* ext/amrwb/Makefile.am:
* ext/apexsink/Makefile.am:
* ext/arts/Makefile.am:
* ext/artsd/Makefile.am:
* ext/audiofile/Makefile.am:
* ext/audioresample/Makefile.am:
* ext/bz2/Makefile.am:
* ext/cdaudio/Makefile.am:
* ext/celt/Makefile.am:
* ext/dc1394/Makefile.am:
* ext/dirac/Makefile.am:
* ext/directfb/Makefile.am:
* ext/divx/Makefile.am:
* ext/dts/Makefile.am:
* ext/faac/Makefile.am:
* ext/faad/Makefile.am:
* ext/gsm/Makefile.am:
* ext/hermes/Makefile.am:
* ext/ivorbis/Makefile.am:
* ext/jack/Makefile.am:
* ext/jp2k/Makefile.am:
* ext/ladspa/Makefile.am:
* ext/lcs/Makefile.am:
* ext/libfame/Makefile.am:
* ext/libmms/Makefile.am:
* ext/metadata/Makefile.am:
* ext/mpeg2enc/Makefile.am:
* ext/mplex/Makefile.am:
* ext/musepack/Makefile.am:
* ext/musicbrainz/Makefile.am:
* ext/mythtv/Makefile.am:
* ext/nas/Makefile.am:
* ext/neon/Makefile.am:
* ext/ofa/Makefile.am:
* ext/polyp/Makefile.am:
* ext/resindvd/Makefile.am:
* ext/sdl/Makefile.am:
* ext/shout/Makefile.am:
* ext/snapshot/Makefile.am:
* ext/sndfile/Makefile.am:
* ext/soundtouch/Makefile.am:
* ext/spc/Makefile.am:
* ext/swfdec/Makefile.am:
* ext/tarkin/Makefile.am:
* ext/theora/Makefile.am:
* ext/timidity/Makefile.am:
* ext/twolame/Makefile.am:
* ext/x264/Makefile.am:
* ext/xine/Makefile.am:
* ext/xvid/Makefile.am:
* gst-libs/gst/app/Makefile.am:
* gst-libs/gst/dshow/Makefile.am:
* gst/aiffparse/Makefile.am:
* gst/app/Makefile.am:
* gst/audiobuffer/Makefile.am:
* gst/bayer/Makefile.am:
* gst/cdxaparse/Makefile.am:
* gst/chart/Makefile.am:
* gst/colorspace/Makefile.am:
* gst/dccp/Makefile.am:
* gst/deinterlace/Makefile.am:
* gst/deinterlace2/Makefile.am:
* gst/dvdspu/Makefile.am:
* gst/festival/Makefile.am:
* gst/filter/Makefile.am:
* gst/flacparse/Makefile.am:
* gst/flv/Makefile.am:
* gst/games/Makefile.am:
* gst/h264parse/Makefile.am:
* gst/librfb/Makefile.am:
* gst/mixmatrix/Makefile.am:
* gst/modplug/Makefile.am:
* gst/mpeg1sys/Makefile.am:
* gst/mpeg4videoparse/Makefile.am:
* gst/mpegdemux/Makefile.am:
* gst/mpegtsmux/Makefile.am:
* gst/mpegvideoparse/Makefile.am:
* gst/mve/Makefile.am:
* gst/nsf/Makefile.am:
* gst/nuvdemux/Makefile.am:
* gst/overlay/Makefile.am:
* gst/passthrough/Makefile.am:
* gst/pcapparse/Makefile.am:
* gst/playondemand/Makefile.am:
* gst/rawparse/Makefile.am:
* gst/real/Makefile.am:
* gst/rtjpeg/Makefile.am:
* gst/rtpmanager/Makefile.am:
* gst/scaletempo/Makefile.am:
* gst/sdp/Makefile.am:
* gst/selector/Makefile.am:
* gst/smooth/Makefile.am:
* gst/smoothwave/Makefile.am:
* gst/speed/Makefile.am:
* gst/speexresample/Makefile.am:
* gst/stereo/Makefile.am:
* gst/subenc/Makefile.am:
* gst/tta/Makefile.am:
* gst/vbidec/Makefile.am:
* gst/videodrop/Makefile.am:
* gst/videosignal/Makefile.am:
* gst/virtualdub/Makefile.am:
* gst/vmnc/Makefile.am:
* gst/y4m/Makefile.am:
* sys/acmenc/Makefile.am:
* sys/cdrom/Makefile.am:
* sys/dshowdecwrapper/Makefile.am:
* sys/dshowsrcwrapper/Makefile.am:
* sys/dvb/Makefile.am:
* sys/dxr3/Makefile.am:
* sys/fbdev/Makefile.am:
* sys/oss4/Makefile.am:
* sys/qcam/Makefile.am:
* sys/qtwrapper/Makefile.am:
* sys/vcd/Makefile.am:
* sys/wininet/Makefile.am:
* win32/common/config.h:
Don't install static libs for plugins. Fixes #550851 for -bad.

15 years agoext/alsa/gstalsasink.c: Make all access non-blocking so that we can better handle...
Matthias Kretz [Mon, 3 Nov 2008 15:30:14 +0000 (15:30 +0000)]
ext/alsa/gstalsasink.c: Make all access non-blocking so that we can better handle unplugging of usb devices. Fixes #5...

Original commit message from CVS:
Based on patch by: Matthias Kretz <kretz at kde dot org>
* ext/alsa/gstalsasink.c: (gst_alsasink_open),
(gst_alsasink_prepare), (gst_alsasink_unprepare),
(gst_alsasink_write):
Make all access non-blocking so that we can better handle unplugging
of usb devices. Fixes #559111

15 years agogst-libs/gst/rtsp/gstrtspconnection.c: Make the next call to poll not depend on previ...
Damien Lespiau [Mon, 3 Nov 2008 10:49:24 +0000 (10:49 +0000)]
gst-libs/gst/rtsp/gstrtspconnection.c: Make the next call to poll not depend on previous calls to poll with or withou...

Original commit message from CVS:
Patch by: Damien Lespiau  <damien.lespiau gmail com>
* gst-libs/gst/rtsp/gstrtspconnection.c:
(gst_rtsp_connection_write):
Make the next call to poll not depend on previous calls to poll with or
without reading from the active descriptor. Fixes #544293.

15 years agogst/speexresample/gstspeexresample.c: Add TODO at the top of the file for enabling...
Sebastian Dröge [Mon, 3 Nov 2008 08:55:49 +0000 (08:55 +0000)]
gst/speexresample/gstspeexresample.c: Add TODO at the top of the file for enabling SSE/ARM specific optimizations and...

Original commit message from CVS:
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_convert_buffer):
Add TODO at the top of the file for enabling SSE/ARM specific
optimizations and choosing the fastest implementation at runtime.
Add g_assert_not_reached() at two places that should really never
be reached.

15 years agogst/speexresample/gstspeexresample.c: Fix format string and arguments.
Sebastian Dröge [Sun, 2 Nov 2008 09:19:24 +0000 (09:19 +0000)]
gst/speexresample/gstspeexresample.c: Fix format string and arguments.

Original commit message from CVS:
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_check_discont):
Fix format string and arguments.
* gst/speexresample/resample_sse.h:
Add missing file.

15 years agogst/speexresample/: Add missing headers to Makefile.am.
Sebastian Dröge [Sat, 1 Nov 2008 19:38:36 +0000 (19:38 +0000)]
gst/speexresample/: Add missing headers to Makefile.am.

Original commit message from CVS:
* gst/speexresample/Makefile.am:
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_base_init), (gst_speex_resample_get_funcs),
(gst_speex_resample_convert_buffer), (_benchmark_int_float),
(_benchmark_int_int), (_benchmark_integer_resampling),
(plugin_init):
* gst/speexresample/gstspeexresample.h:
* gst/speexresample/resample.c:
* gst/speexresample/speex_resampler_double.c:
* gst/speexresample/speex_resampler_float.c:
* gst/speexresample/speex_resampler_int.c:
* gst/speexresample/speex_resampler_wrapper.h:
Add missing headers to Makefile.am.
Update copyright, years and my mail address.
Benchmark the integer resampling implementation against the
float implementation and use the faster one for 8/16 bit integer
input. On most recent systems the floating point version is faster.

15 years agogst-libs/gst/riff/: Add support for other fourcc codes that are commonly used for...
Nick Haddad [Fri, 31 Oct 2008 09:49:57 +0000 (09:49 +0000)]
gst-libs/gst/riff/: Add support for other fourcc codes that are commonly used for 'uncompressed RGB', including 'RGB ...

Original commit message from CVS:
Patch by: Nick Haddad <nick at haddads dot net>
* gst-libs/gst/riff/riff-ids.h:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
Add support for other fourcc codes that are commonly used for
'uncompressed RGB', including 'RGB ', 'RAW ', and 0.
Fixes #558553.

15 years agogst/speexresample/gstspeexresample.c: The length for the buffer conversion function...
Sebastian Dröge [Thu, 30 Oct 2008 14:55:43 +0000 (14:55 +0000)]
gst/speexresample/gstspeexresample.c: The length for the buffer conversion function is the number of audio frames, i....

Original commit message from CVS:
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_convert_buffer):
The length for the buffer conversion function is the number of
audio frames, i.e. we need to multiply it by the number of channels
to get the number of values. Also spotted by the unit test after
running in valgrind.