platform/upstream/gst-plugins-base.git
16 years agogst/playback/gstplay-enum.*: Add enums for configuration flags.
Wim Taymans [Mon, 7 Jan 2008 11:40:04 +0000 (11:40 +0000)]
gst/playback/gstplay-enum.*: Add enums for configuration flags.

Original commit message from CVS:
* gst/playback/gstplay-enum.c:
(register_gst_autoplug_select_result),
(gst_autoplug_select_result_get_type), (register_gst_play_flags),
(gst_play_flags_get_type):
* gst/playback/gstplay-enum.h:
Add enums for configuration flags.
* gst/playback/gstplaybin2.c: (gst_play_bin_class_init),
(init_group), (gst_play_bin_init), (gst_play_bin_set_property),
(gst_play_bin_get_property), (no_more_pads_cb),
(autoplug_select_cb), (gst_play_bin_change_state):
Merge mode with flags.
Add more property getters/setters, defaults and docs.
Add properties to get number of audio/video/text streams.
Create sink object in _init so that we can always rely on it being
there.
* gst/playback/gstplaysink.c: (gst_play_sink_init),
(gen_video_chain), (gen_audio_chain), (gen_vis_chain),
(activate_vis), (gst_play_sink_reconfigure),
(gst_play_sink_set_flags), (gst_play_sink_get_flags),
(gst_play_sink_change_state):
* gst/playback/gstplaysink.h:
Use flags to configure the sink pipelines.
Add tee before audio pipeline so that we can use it for visualisations.
Start working on integrating visualisations.
Remove mode, we can do everything with the flags now.
Add method to configue the sink pipeline.

16 years agoUpdate to GMemoryInputStream API changes in GLib SVN and require gio-2.0 >= 2.15...
Sebastian Dröge [Sun, 6 Jan 2008 16:36:32 +0000 (16:36 +0000)]
Update to GMemoryInputStream API changes in GLib SVN and require gio-2.0 >= 2.15.1 for this. Fixes bug #507584.

Original commit message from CVS:
* configure.ac:
* ext/gio/gstgiobasesrc.c: (gst_gio_base_src_get_size):
* tests/check/pipelines/gio.c: (free_input), (GST_START_TEST):
Update to GMemoryInputStream API changes in GLib SVN and require
gio-2.0 >= 2.15.1 for this. Fixes bug #507584.
We can also report the duration for every GSeekable, not only
GFileInputStream and GMemoryInputStream.

16 years agotests/check/pipelines/theoraenc.c: Turn these functions into macros so we can see...
Tim-Philipp Müller [Sun, 6 Jan 2008 14:39:19 +0000 (14:39 +0000)]
tests/check/pipelines/theoraenc.c: Turn these functions into macros so we can see right away where the failure occured.

Original commit message from CVS:
* tests/check/pipelines/theoraenc.c: (check_buffer_is_header),
(check_buffer_timestamp), (check_buffer_duration):
Turn these functions into macros so we can see right away
where the failure occured.

16 years agosys/xvimage/xvimagesink.c: Add debugging information to understand how X calculates...
Julien Moutte [Sat, 5 Jan 2008 22:25:05 +0000 (22:25 +0000)]
sys/xvimage/xvimagesink.c: Add debugging information to understand how X calculates the stride for XvImages.

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

* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_new): Add
debugging information to understand how X calculates the stride
for XvImages.

16 years agogst/volume/: Use GstAudioFilter as base class for the volume element instead of plain...
Sebastian Dröge [Thu, 3 Jan 2008 20:33:58 +0000 (20:33 +0000)]
gst/volume/: Use GstAudioFilter as base class for the volume element instead of plain GstBaseTransform.

Original commit message from CVS:
* gst/volume/Makefile.am:
* gst/volume/gstvolume.c: (volume_choose_func),
(gst_volume_base_init), (gst_volume_class_init), (gst_volume_init),
(volume_setup):
* gst/volume/gstvolume.h:
Use GstAudioFilter as base class for the volume element instead of
plain GstBaseTransform.

16 years agogst-libs/gst/audio/gstaudiofilter.c: Don't set element details for the abstract GstAu...
Sebastian Dröge [Thu, 3 Jan 2008 07:17:05 +0000 (07:17 +0000)]
gst-libs/gst/audio/gstaudiofilter.c: Don't set element details for the abstract GstAudioFilter class.

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiofilter.c: (gst_audio_filter_get_type):
Don't set element details for the abstract GstAudioFilter class.

16 years agogst-libs/gst/audio/gstaudiofilter.c: Implement get_unit_size() vmethod of GstBaseTran...
Sebastian Dröge [Wed, 2 Jan 2008 12:09:48 +0000 (12:09 +0000)]
gst-libs/gst/audio/gstaudiofilter.c: Implement get_unit_size() vmethod of GstBaseTransform.

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiofilter.c:
(gst_audio_filter_class_init), (gst_audio_filter_get_unit_size):
Implement get_unit_size() vmethod of GstBaseTransform.

16 years agogst-libs/gst/pbutils/: Use glib-enum generator to have a proper enum GType for
Edward Hervey [Tue, 1 Jan 2008 12:53:48 +0000 (12:53 +0000)]
gst-libs/gst/pbutils/: Use glib-enum generator to have a proper enum GType for

Original commit message from CVS:
* gst-libs/gst/pbutils/Makefile.am:
* gst-libs/gst/pbutils/pbutils.h:
Use glib-enum generator to have a proper enum GType for
GST_TYPE_INSTALL_PLUGINS_RETURN so we can easily wrap it in bindings.

16 years agotests/check/: Reenable theoraenc test, which fails on the buildbot but not locally.
David Schleef [Tue, 1 Jan 2008 01:21:47 +0000 (01:21 +0000)]
tests/check/: Reenable theoraenc test, which fails on the buildbot but not locally.

Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/pipelines/theoraenc.c:
Reenable theoraenc test, which fails on the buildbot but
not locally.

16 years agodocs/: Add *-undeclared.txt to fix buildbot.
David Schleef [Mon, 31 Dec 2007 21:31:01 +0000 (21:31 +0000)]
docs/: Add *-undeclared.txt to fix buildbot.

Original commit message from CVS:
* docs/libs/.cvsignore:
* docs/plugins/.cvsignore:
Add *-undeclared.txt to fix buildbot.

16 years agotests/check/Makefile.am: Second attempt at disabling theoraenc test long enough to...
David Schleef [Mon, 31 Dec 2007 20:45:28 +0000 (20:45 +0000)]
tests/check/Makefile.am: Second attempt at disabling theoraenc test long enough to get buildbot to compile -base.

Original commit message from CVS:
* tests/check/Makefile.am:
Second attempt at disabling theoraenc test long enough to
get buildbot to compile -base.

16 years agotests/check/pipelines/theoraenc.c: Disable theoraenc test long enough to get the...
David Schleef [Mon, 31 Dec 2007 20:21:20 +0000 (20:21 +0000)]
tests/check/pipelines/theoraenc.c: Disable theoraenc test long enough to get the buildbot to compile a recent -base.

Original commit message from CVS:
* tests/check/pipelines/theoraenc.c:
Disable theoraenc test long enough to get the buildbot to
compile a recent -base.

16 years agotests/examples/seek/seek.c: Make sure we reset the slider value to 0.0 without racing...
Wim Taymans [Mon, 31 Dec 2007 13:17:29 +0000 (13:17 +0000)]
tests/examples/seek/seek.c: Make sure we reset the slider value to 0.0 without racing against a possible g_idle that ...

Original commit message from CVS:
* tests/examples/seek/seek.c: (stop_cb):
Make sure we reset the slider value to 0.0 without racing against a
possible g_idle that sets it to something else.

16 years agosys/ximage/ximagesink.c: fix typo
Thijs Vermeir [Mon, 31 Dec 2007 00:32:53 +0000 (00:32 +0000)]
sys/ximage/ximagesink.c: fix typo

Original commit message from CVS:
* sys/ximage/ximagesink.c:
fix typo

16 years agogst-libs/gst/rtsp/gstrtspdefs.*: Add Location header so that we can start implementin...
Wim Taymans [Sun, 30 Dec 2007 19:21:16 +0000 (19:21 +0000)]
gst-libs/gst/rtsp/gstrtspdefs.*: Add Location header so that we can start implementing redirects.

Original commit message from CVS:
* gst-libs/gst/rtsp/gstrtspdefs.c: (rtsp_init_status):
* gst-libs/gst/rtsp/gstrtspdefs.h:
Add Location header so that we can start implementing redirects.
See #506025.

16 years agogst/subparse/gstssaparse.c: combine if's
Thijs Vermeir [Sat, 29 Dec 2007 20:55:39 +0000 (20:55 +0000)]
gst/subparse/gstssaparse.c: combine if's

Original commit message from CVS:
* gst/subparse/gstssaparse.c:
combine if's

16 years agogst/subparse/gstssaparse.c: remove duplicate log message
Thijs Vermeir [Sat, 29 Dec 2007 19:23:59 +0000 (19:23 +0000)]
gst/subparse/gstssaparse.c: remove duplicate log message

Original commit message from CVS:
* gst/subparse/gstssaparse.c:
remove duplicate log message

16 years agoUpdate to latest API changes in GLib/GIO and require at least gio-2.0 2.15.0 for...
Sebastian Dröge [Sat, 29 Dec 2007 17:29:17 +0000 (17:29 +0000)]
Update to latest API changes in GLib/GIO and require at least gio-2.0 2.15.0 for this.

Original commit message from CVS:
* configure.ac:
* ext/gio/gstgio.c:
* ext/gio/gstgio.h:
* ext/gio/gstgiobasesink.h:
* ext/gio/gstgiobasesrc.c: (gst_gio_base_src_get_size):
* ext/gio/gstgiobasesrc.h:
* ext/gio/gstgiosink.c: (gst_gio_sink_start):
* ext/gio/gstgiosink.h:
* ext/gio/gstgiosrc.h:
* ext/gio/gstgiostreamsink.h:
* ext/gio/gstgiostreamsrc.h:
* tests/check/pipelines/gio.c:
Update to latest API changes in GLib/GIO and require at least
gio-2.0 2.15.0 for this.
* ext/gio/Makefile.am:
Add GST_PLUGIN_LDFLAGS to LDFLAGS.

16 years agoext/libvisual/visual.c: Fix 'xyz may be used uninitialized' compiler warnings caused...
Sebastian Dröge [Sat, 29 Dec 2007 16:23:23 +0000 (16:23 +0000)]
ext/libvisual/visual.c: Fix 'xyz may be used uninitialized' compiler warnings caused by broken g_assert_not_reached()...

Original commit message from CVS:
* ext/libvisual/visual.c: (gst_visual_chain):
Fix 'xyz may be used uninitialized' compiler warnings caused
by broken g_assert_not_reached() macro in GLib-2.15.x and don't
abort() in any case but properly report the error.

16 years agogst/playback/gstplaybin2.c: Code cleanups.
Wim Taymans [Fri, 28 Dec 2007 09:00:27 +0000 (09:00 +0000)]
gst/playback/gstplaybin2.c: Code cleanups.

Original commit message from CVS:
* gst/playback/gstplaybin2.c: (gst_play_bin_class_init),
(gst_play_bin_finalize), (gst_play_bin_set_uri),
(gst_play_bin_set_suburi), (gst_play_bin_set_property),
(gst_play_bin_get_property), (pad_removed_cb), (drained_cb),
(autoplug_select_cb), (activate_group), (deactivate_group),
(setup_next_source), (save_current_group),
(gst_play_bin_change_state):
Code cleanups.
Remove next-uri, we can use the uri property just fine.
Fix some crasher.
Unref uridecodebin when switching.
Fix going to READY.
* gst/playback/gstplaysink.c: (gst_play_sink_class_init),
(gst_play_sink_init), (gst_play_sink_dispose),
(gst_play_sink_finalize), (gst_play_sink_vis_unblocked),
(gst_play_sink_vis_blocked), (gst_play_sink_set_video_sink),
(gst_play_sink_set_audio_sink), (gst_play_sink_set_vis_plugin),
(gst_play_sink_set_property), (gst_play_sink_get_property),
(gen_video_chain), (gen_text_element), (gen_audio_chain),
(gen_vis_element), (gst_play_sink_get_mode),
(gst_play_sink_set_mode), (gst_play_sink_set_flags),
(gst_play_sink_get_flags), (gst_play_sink_request_pad),
(gst_play_sink_release_pad), (gst_play_sink_send_event_to_sink),
(gst_play_sink_change_state):
* gst/playback/gstplaysink.h:
Add some locking to make things threadsafe.
* gst/playback/test7.c: (about_to_finish_cb):
Fix test.

16 years agogst/videoscale/gstvideoscale.c: Don't claim to be able to handle/transform caps that...
Tim-Philipp Müller [Sat, 22 Dec 2007 12:06:47 +0000 (12:06 +0000)]
gst/videoscale/gstvideoscale.c: Don't claim to be able to handle/transform caps that can't really be handled by the c...

Original commit message from CVS:
* gst/videoscale/gstvideoscale.c: (gst_video_scale_set_property),
(gst_video_scale_get_property), (gst_video_scale_transform_caps),
(gst_video_scale_transform):
Don't claim to be able to handle/transform caps that can't really
be handled by the currently selected scaling method (here: RGB or
packed YUV with 4-tap method). Also add locking to method property.
* tests/check/pipelines/simple-launch-lines.c: (setup_pipeline),
(test_basetransform_based):
Some test pipelines for the above (not entirely valgrind clean yet
apparently).

16 years agogst-libs/gst/video/video.*: Add additional RGBA and RGB-24 video formats.
David Schleef [Sat, 22 Dec 2007 05:19:00 +0000 (05:19 +0000)]
gst-libs/gst/video/video.*: Add additional RGBA and RGB-24 video formats.

Original commit message from CVS:
* gst-libs/gst/video/video.c:
* gst-libs/gst/video/video.h:
Add additional RGBA and RGB-24 video formats.

16 years agotests/check/: Don't use GST_PLUGIN_DEFINE_STATIC, it's not portable and will be depre...
Tim-Philipp Müller [Fri, 21 Dec 2007 22:46:56 +0000 (22:46 +0000)]
tests/check/: Don't use GST_PLUGIN_DEFINE_STATIC, it's not portable and will be deprecated in the future (see #498924).

Original commit message from CVS:
* tests/check/elements/playbin.c: (test_sink_usage_video_only_stream),
(test_suburi_error_unknowntype), (test_suburi_error_invalidfile),
(test_suburi_error_wrongproto), (test_missing_primary_decoder):
* tests/check/libs/cddabasesrc.c: (GST_START_TEST), (GST_START_TEST),
(cddabasesrc_suite):
Don't use GST_PLUGIN_DEFINE_STATIC, it's not portable and will be
deprecated in the future (see #498924).

16 years agogst/playback/gststreamselector.c: Don't leak event.
Tim-Philipp Müller [Fri, 21 Dec 2007 22:26:47 +0000 (22:26 +0000)]
gst/playback/gststreamselector.c: Don't leak event.

Original commit message from CVS:
* gst/playback/gststreamselector.c: (gst_selector_pad_event):
Don't leak event.

16 years agogst-libs/gst/riff/riff-read.c: Use GST_ROUND_UP_2 macro
Thijs Vermeir [Thu, 20 Dec 2007 19:43:25 +0000 (19:43 +0000)]
gst-libs/gst/riff/riff-read.c: Use GST_ROUND_UP_2 macro

Original commit message from CVS:
* gst-libs/gst/riff/riff-read.c:
Use GST_ROUND_UP_2 macro

16 years agogst/playback/.cvsignore: Ignore more.
Tim-Philipp Müller [Thu, 20 Dec 2007 17:13:37 +0000 (17:13 +0000)]
gst/playback/.cvsignore: Ignore more.

Original commit message from CVS:
* gst/playback/.cvsignore:
Ignore more.

16 years agoMake switching off of subtitles work. To avoid all kind of problems with unlinking...
Tim-Philipp Müller [Thu, 20 Dec 2007 10:41:29 +0000 (10:41 +0000)]
Make switching off of subtitles work. To avoid all kind of problems with unlinking of the subtitle input, we just kee...

Original commit message from CVS:
* ext/pango/gsttextoverlay.c: (gst_text_overlay_class_init):
* gst/playback/gstplaybasebin.c: (set_subtitles_visible),
(set_active_source):
* gst/playback/gstplaybasebin.h:
* gst/playback/gstplaybin.c: (gst_play_bin_class_init),
(setup_sinks), (playbin_set_subtitles_visible):
Make switching off of subtitles work. To avoid all kind of
problems with unlinking of the subtitle input, we just keep
the subtitle inputs linked as they are and tell textoverlay
not to render them. Fixes #373011.
Other subtitle switching issues (esp. when there are both
external and in-stream subtitles) remain. They'll be solved
in playbin2.

16 years agogst/playback/gststreamselector.c: Init the pad segment too.
Wim Taymans [Tue, 18 Dec 2007 16:21:35 +0000 (16:21 +0000)]
gst/playback/gststreamselector.c: Init the pad segment too.

Original commit message from CVS:
* gst/playback/gststreamselector.c: (gst_selector_pad_init):
Init the pad segment too.

16 years agogst-libs/gst/audio/gstaudiosink.c: Improve debug output.
Wim Taymans [Tue, 18 Dec 2007 15:56:51 +0000 (15:56 +0000)]
gst-libs/gst/audio/gstaudiosink.c: Improve debug output.

Original commit message from CVS:
* gst-libs/gst/audio/gstaudiosink.c: (audioringbuffer_thread_func),
(gst_audioringbuffer_open_device),
(gst_audioringbuffer_close_device), (gst_audioringbuffer_acquire),
(gst_audioringbuffer_release), (gst_audioringbuffer_start),
(gst_audioringbuffer_pause), (gst_audioringbuffer_stop),
(gst_audio_sink_create_ringbuffer):
Improve debug output.
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_start),
(gst_ring_buffer_pause), (gst_ring_buffer_delay):
Prevent some functions from doing things and failing when the
ringbuffer is not yet acquired.

16 years agogst-libs/gst/interfaces/interfaces.h: Also remove interfaces.h from CVS as it is...
Sebastian Dröge [Tue, 18 Dec 2007 15:32:49 +0000 (15:32 +0000)]
gst-libs/gst/interfaces/interfaces.h: Also remove interfaces.h from CVS as it is not needed anymore.

Original commit message from CVS:
* gst-libs/gst/interfaces/interfaces.h:
Also remove interfaces.h from CVS as it is not needed anymore.

16 years agogst-libs/gst/interfaces/Makefile.am: interfaces.h is not used anymore so remove it...
Sebastian Dröge [Tue, 18 Dec 2007 15:20:12 +0000 (15:20 +0000)]
gst-libs/gst/interfaces/Makefile.am: interfaces.h is not used anymore so remove it from the build process.

Original commit message from CVS:
* gst-libs/gst/interfaces/Makefile.am:
interfaces.h is not used anymore so remove it from the build
process.

16 years agogst/videotestsrc/gstvideotestsrc.*: Add a "blink" pattern. Turn on the pain. Apolog...
David Schleef [Tue, 18 Dec 2007 01:01:23 +0000 (01:01 +0000)]
gst/videotestsrc/gstvideotestsrc.*: Add a "blink" pattern.  Turn on the pain.  Apologies.  It's useful for testing ve...

Original commit message from CVS:
* gst/videotestsrc/gstvideotestsrc.c:
* gst/videotestsrc/gstvideotestsrc.h:
Add a "blink" pattern.  Turn on the pain.  Apologies.  It's useful
for testing vertical refresh synchronization.

16 years agoAdd new GstVideFormat enum and write a bunch of helper functions based around it.
David Schleef [Tue, 18 Dec 2007 00:13:26 +0000 (00:13 +0000)]
Add new GstVideFormat enum and write a bunch of helper functions based around it.

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/video/video.c:
* gst-libs/gst/video/video.h:
Add new GstVideFormat enum and write a bunch of helper functions
based around it.

16 years agoMakefile.am: Use new common/win32.mak.
Tim-Philipp Müller [Mon, 17 Dec 2007 23:41:14 +0000 (23:41 +0000)]
Makefile.am: Use new common/win32.mak.

Original commit message from CVS:
* Makefile.am:
Use new common/win32.mak.

16 years agogst-libs/gst/audio/gstbaseaudiosrc.c: Add debug info.
Wim Taymans [Mon, 17 Dec 2007 16:44:51 +0000 (16:44 +0000)]
gst-libs/gst/audio/gstbaseaudiosrc.c: Add debug info.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_create), (gst_base_audio_src_change_state):
Add debug info.
When going from PLAYING to PAUSED, pause the ringbuffer before calling
the parent state change function, just like the audiosink, because the
parent waits for the element to finish its processing before completing
the state change. This makes going to PAUSED a lot snappier.
When going from READY to PAUSED, don't allow the ringbuffer to start
yet.

16 years agogst-libs/gst/riff/riff-media.c: Yet another fix for broken software that produce...
Edward Hervey [Mon, 17 Dec 2007 00:01:00 +0000 (00:01 +0000)]
gst-libs/gst/riff/riff-media.c: Yet another fix for broken software that produce files with an empty blockalign field...

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
Yet another fix for broken software that produce files with an empty
blockalign field. Instead of completely failing, make a second attempt
at guessing the width/depth by looking at strf->size.

16 years agogst-libs/gst/: Turn a few g_assert_not_reached() into g_return_val_if_reached() to...
Tim-Philipp Müller [Sun, 16 Dec 2007 23:52:58 +0000 (23:52 +0000)]
gst-libs/gst/: Turn a few g_assert_not_reached() into g_return_val_if_reached() to avoid compiler warnings (#503930).

Original commit message from CVS:
* gst-libs/gst/cdda/gstcddabasesrc.c: (gst_cdda_base_src_do_seek),
(gst_cdda_base_src_handle_track_seek), (gst_cdda_base_src_create):
* gst-libs/gst/pbutils/install-plugins.c:
(gst_install_plugins_spawn_child), (gst_install_plugins_supported):
* gst-libs/gst/pbutils/missing-plugins.c:
(gst_missing_plugin_message_get_installer_detail),
(gst_missing_encoder_installer_detail_new):
* gst-libs/gst/rtsp/gstrtspconnection.c: (gst_rtsp_connection_send):
* gst-libs/gst/rtsp/gstrtspmessage.c: (gst_rtsp_message_unset):
Turn a few g_assert_not_reached() into g_return_val_if_reached() to
avoid compiler warnings (#503930).

16 years agogst-libs/gst/riff/riff-media.c: Be apologetic of software that use the 'jpeg' instead...
Edward Hervey [Sun, 16 Dec 2007 23:46:16 +0000 (23:46 +0000)]
gst-libs/gst/riff/riff-media.c: Be apologetic of software that use the 'jpeg' instead of 'JPEG' FOURCC for jpeg video...

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
Be apologetic of software that use the 'jpeg' instead of 'JPEG' FOURCC
for jpeg video streams.
Add the 'avc1'/'AVC1' fourcc mapping for h264, same software-comment as
for the above modification.

16 years agogst-libs/gst/interfaces/xoverlay.c: More guards (we don't want klass to end up being...
Tim-Philipp Müller [Sat, 15 Dec 2007 17:27:48 +0000 (17:27 +0000)]
gst-libs/gst/interfaces/xoverlay.c: More guards (we don't want klass to end up being NULL).

Original commit message from CVS:
* gst-libs/gst/interfaces/xoverlay.c: (gst_x_overlay_expose),
(gst_x_overlay_handle_events):
More guards (we don't want klass to end up being NULL).

16 years agoUse new gst_base_transform_set_gap_aware() function as volume correctly handles GST_B...
Sebastian Dröge [Sat, 15 Dec 2007 03:40:34 +0000 (03:40 +0000)]
Use new gst_base_transform_set_gap_aware() function as volume correctly handles GST_BUFFER_FLAG_GAP. Require core 0.1...

Original commit message from CVS:
* configure.ac:
* gst/volume/gstvolume.c: (gst_volume_init):
Use new gst_base_transform_set_gap_aware() function as volume
correctly handles GST_BUFFER_FLAG_GAP. Require core 0.10.15.1
for this.

16 years agotests/examples/seek/seek.c: Don't go to READY on EOS as this avoids testing of seekin...
Wim Taymans [Fri, 14 Dec 2007 19:06:24 +0000 (19:06 +0000)]
tests/examples/seek/seek.c: Don't go to READY on EOS as this avoids testing of seeking and restarting after EOS, use ...

Original commit message from CVS:
* tests/examples/seek/seek.c: (msg_segment_done), (main):
Don't go to READY on EOS as this avoids testing of seeking and
restarting after EOS, use the stop button when you want to READY.
Don't try to do a flushing seek in segment-done, it does not make
sense to use this for gapless playback and is not needed.

16 years agogst/playback/gstqueue2.c: Use separate timers for input and output rates.
Wim Taymans [Fri, 14 Dec 2007 18:46:12 +0000 (18:46 +0000)]
gst/playback/gstqueue2.c: Use separate timers for input and output rates.

Original commit message from CVS:
* gst/playback/gstqueue2.c: (gst_queue_init), (gst_queue_finalize),
(reset_rate_timer), (update_in_rates), (update_out_rates),
(gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
(gst_queue_chain), (gst_queue_loop):
Use separate timers for input and output rates.
Pause measuring the output rate when we block for more data.
See #503262.

16 years agoupdate spec file and add two missing files for disting
Christian Schaller [Fri, 14 Dec 2007 16:23:06 +0000 (16:23 +0000)]
update spec file and add two missing files for disting

Original commit message from CVS:
update spec file and add two missing files for disting

16 years agogst/playback/gstqueue2.c: Pause the timer to measure the input rate when we block...
Wim Taymans [Fri, 14 Dec 2007 09:24:55 +0000 (09:24 +0000)]
gst/playback/gstqueue2.c: Pause the timer to measure the input rate when we block because the queue is filled. See #5...

Original commit message from CVS:
* gst/playback/gstqueue2.c: (gst_queue_chain):
Pause the timer to measure the input rate when we block because the
queue is filled. See #503262.

16 years agogst-libs/gst/rtsp/gstrtspconnection.c: Close control sockets. Fixes #503440.
Peter Kjellerstedt [Thu, 13 Dec 2007 15:54:00 +0000 (15:54 +0000)]
gst-libs/gst/rtsp/gstrtspconnection.c: Close control sockets. Fixes #503440.

Original commit message from CVS:
Patch by: Peter Kjellerstedt  <pkj at axis com>
* gst-libs/gst/rtsp/gstrtspconnection.c:
(gst_rtsp_connection_free):
Close control sockets. Fixes #503440.

16 years agogst/playback/gstdecodebin2.c: Expose the right pad in the right place with the right...
Wim Taymans [Thu, 13 Dec 2007 12:31:38 +0000 (12:31 +0000)]
gst/playback/gstdecodebin2.c: Expose the right pad in the right place with the right element.

Original commit message from CVS:
* gst/playback/gstdecodebin2.c: (analyze_new_pad), (connect_pad):
Expose the right pad in the right place with the right element.

16 years agogst-libs/gst/pbutils/descriptions.c: Add description for 'private' dts caps (who...
Tim-Philipp Müller [Thu, 13 Dec 2007 11:40:10 +0000 (11:40 +0000)]
gst-libs/gst/pbutils/descriptions.c: Add description for 'private' dts caps (who come up with that name?).

Original commit message from CVS:
* gst-libs/gst/pbutils/descriptions.c: (formats):
Add description for 'private' dts caps (who come up with that name?).

16 years agoMakefile.am: Add check-exports target and run it with 'make check'.
Tim-Philipp Müller [Thu, 13 Dec 2007 10:10:35 +0000 (10:10 +0000)]
Makefile.am: Add check-exports target and run it with 'make check'.

Original commit message from CVS:
* Makefile.am:
Add check-exports target and run it with 'make check'.
* configure.ac:
Be stricter about what we export in our libraries: change regexp so that
we only export _gst_foo(), but not __gst_foo().
* gst-libs/gst/cdda/base64.h: (rfc822_binary):
* gst-libs/gst/cdda/sha1.h: (sha_init), (sha_update), (sha_final):
Change internal functions to __gst_foo so they dont' get exported.
* win32/common/libgstaudio.def:
Add missing symbols.

16 years agoChangeLog: remove conflict markers
David Schleef [Tue, 11 Dec 2007 21:18:57 +0000 (21:18 +0000)]
ChangeLog: remove conflict markers

Original commit message from CVS:
ChangeLog: remove conflict markers

16 years agoext/gnomevfs/: Use gst_tag_freeform_string_to_utf8() here, which also takes into...
Tim-Philipp Müller [Tue, 11 Dec 2007 17:14:13 +0000 (17:14 +0000)]
ext/gnomevfs/: Use gst_tag_freeform_string_to_utf8() here, which also takes into account any character sets specified...

Original commit message from CVS:
* ext/gnomevfs/Makefile.am:
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_unicodify):
Use gst_tag_freeform_string_to_utf8() here, which also takes
into account any character sets specified by the user via
environment variables.

16 years agogst/audioconvert/Makefile.am: Also link to libm.
Wim Taymans [Mon, 10 Dec 2007 15:21:41 +0000 (15:21 +0000)]
gst/audioconvert/Makefile.am: Also link to libm.

Original commit message from CVS:
* gst/audioconvert/Makefile.am:
Also link to libm.

16 years agogst-libs/gst/riff/riff-media.c: No need for floating point operations here. avoids...
Wim Taymans [Mon, 10 Dec 2007 15:13:55 +0000 (15:13 +0000)]
gst-libs/gst/riff/riff-media.c: No need for floating point operations here. avoids having to link against the math li...

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
No need for floating point operations here. avoids having to link
against the math library too.

16 years agoAdd one or two missing formats. Generate ADPCM description dynamically depending...
Tim-Philipp Müller [Mon, 10 Dec 2007 11:16:25 +0000 (11:16 +0000)]
Add one or two missing formats.  Generate ADPCM description dynamically depending on layout/format.

Original commit message from CVS:
* gst-libs/gst/pbutils/descriptions.c: (formats),
(format_info_get_desc):
* tests/check/libs/pbutils.c: (GST_START_TEST), (caps_strings),
(GST_START_TEST):
Add one or two missing formats.  Generate ADPCM description
dynamically depending on layout/format.

16 years agoconfigure.ac: Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
Sebastian Dröge [Sun, 9 Dec 2007 04:28:38 +0000 (04:28 +0000)]
configure.ac: Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.

Original commit message from CVS:
* configure.ac:
Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.

16 years agogst/subparse/gstsubparse.c: Some .srt files start with chunk number 0 and not chunk...
Robin Stocker [Sat, 8 Dec 2007 18:38:39 +0000 (18:38 +0000)]
gst/subparse/gstsubparse.c: Some .srt files start with chunk number 0 and not chunk number 1, recognise and accept th...

Original commit message from CVS:
Patch by: Robin Stocker <robin dot stocker at gmx dot ch>
* gst/subparse/gstsubparse.c: (gst_sub_parse_data_format_autodetect):
Some .srt files start with chunk number 0 and not chunk number 1,
recognise and accept those as well (fixes #502497).
* tests/check/elements/subparse.c: (srt_input), (srt_input0),
(test_src):
Add unit test for the above.

16 years agogst/playback/gstplay-enum.*: Add missing files.
Wim Taymans [Thu, 6 Dec 2007 12:08:21 +0000 (12:08 +0000)]
gst/playback/gstplay-enum.*: Add missing files.

Original commit message from CVS:
* gst/playback/gstplay-enum.c:
(register_gst_autoplug_select_result),
(gst_autoplug_select_result_get_type):
* gst/playback/gstplay-enum.h:
Add missing files.

16 years agogst/playback/Makefile.am: Group decodebin2 and uridecodebin into the same plugin...
Wim Taymans [Wed, 5 Dec 2007 17:11:48 +0000 (17:11 +0000)]
gst/playback/Makefile.am: Group decodebin2 and uridecodebin into the same plugin so that they can share the GEnumType.

Original commit message from CVS:
* gst/playback/Makefile.am:
Group decodebin2 and uridecodebin into the same plugin so that they
can share the GEnumType.
* gst/playback/gstdecodebin2.c: (_gst_array_accumulator),
(_gst_select_accumulator), (gst_decode_bin_class_init),
(gst_decode_bin_init), (gst_decode_bin_autoplug_sort),
(gst_decode_bin_autoplug_select), (gst_decode_bin_autoplug_add),
(analyze_new_pad), (connect_pad), (gst_decode_bin_plugin_init):
Add signal to sort factories instead of the more awkward autoplug-select
signal.
Modify autoplug_select so that we can try, skip or expose the
autopluggin of an element on a pad.
* gst/playback/gstfactorylists.c: (compare_ranks),
(decoders_filter), (sinks_filter), (gst_factory_list_is_type),
(element_filter), (gst_factory_list_get_elements),
(gst_factory_list_debug), (gst_factory_list_filter):
* gst/playback/gstfactorylists.h:
Simplify the API, allow getting elements based on mask.
* gst/playback/gstplay-marshal.list:
Add some more marshallers.
* gst/playback/gstplaybin2.c: (init_group), (gst_play_bin_init),
(gst_play_bin_finalize), (pad_removed_cb), (autoplug_factories_cb),
(autoplug_select_cb), (activate_group):
Add support for managing non-raw sinks by providing a custom element and
sink list to decodebin2.
Try to plug non-raw sinks when decodebin2 using autoplug-select of
decodebin2.
* gst/playback/gstplaysink.c: (gen_video_chain), (gen_audio_chain),
(gst_play_sink_set_mode), (gst_play_sink_request_pad):
* gst/playback/gstplaysink.h:
Add support for raw and non-raw sinks.
Add support to force sinks selected by playbin2.
Don't plug raw converters for non-raw sinks.
* gst/playback/gsturidecodebin.c: (_gst_array_accumulator),
(_gst_select_accumulator), (gst_uri_decode_bin_class_init),
(proxy_autoplug_select_signal), (gst_uri_decode_bin_plugin_init),
(plugin_init):
Use right accumulators.
Proxy new signal.

16 years agogst-libs/gst/rtp/gstbasertppayload.c: Use runnning time as the base time instead...
Wim Taymans [Mon, 3 Dec 2007 13:47:00 +0000 (13:47 +0000)]
gst-libs/gst/rtp/gstbasertppayload.c: Use runnning time as the base time instead of the timestamp.

Original commit message from CVS:
* gst-libs/gst/rtp/gstbasertppayload.c: (gst_basertppayload_push):
Use runnning time as the base time instead of the timestamp.
Spotted by Saur on IRC.

16 years agogst-libs/gst/riff/riff-media.c: Add 'WVC1' codec mapping for Windows Media VC-1 video...
Edward Hervey [Mon, 3 Dec 2007 11:32:30 +0000 (11:32 +0000)]
gst-libs/gst/riff/riff-media.c: Add 'WVC1' codec mapping for Windows Media VC-1 video codec.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):
Add 'WVC1' codec mapping for Windows Media VC-1 video codec.

16 years agoext/ogg/gstoggdemux.c: If we find a new serial number but it does not contain a BOS...
Wim Taymans [Mon, 3 Dec 2007 10:58:14 +0000 (10:58 +0000)]
ext/ogg/gstoggdemux.c: If we find a new serial number but it does not contain a BOS page, make sure we initialize the...

Original commit message from CVS:
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_bisect_forward_serialno),
(gst_ogg_demux_read_chain):
If we find a new serial number but it does not contain a BOS page, make
sure we initialize the chain to NULL because else we will try to scan it
and crash. Fixes #500763

16 years agogst/playback/: Refactor some common code to filter factories and check caps compat.
Wim Taymans [Fri, 30 Nov 2007 17:47:15 +0000 (17:47 +0000)]
gst/playback/: Refactor some common code to filter factories and check caps compat.

Original commit message from CVS:
* gst/playback/Makefile.am:
* gst/playback/gstfactorylists.c: (compare_ranks), (print_feature),
(get_feature_array), (decoders_filter), (sinks_filter),
(gst_factory_list_get_decoders), (gst_factory_list_get_sinks),
(gst_factory_list_filter):
* gst/playback/gstfactorylists.h:
Refactor some common code to filter factories and check caps compat.
* gst/playback/gstdecodebin.c:
* gst/playback/gstdecodebin2.c: (gst_decode_bin_class_init),
(gst_decode_bin_init), (gst_decode_bin_dispose),
(gst_decode_bin_autoplug_continue),
(gst_decode_bin_autoplug_factories),
(gst_decode_bin_autoplug_select), (analyze_new_pad),
(find_compatibles):
* gst/playback/gstplaybin.c:
* gst/playback/gstplaybin2.c: (gst_play_bin_class_init),
(gst_play_bin_init), (gst_play_bin_finalize),
(autoplug_factories_cb), (activate_group):
* gst/playback/gstqueue2.c:
* gst/playback/gsturidecodebin.c: (proxy_unknown_type_signal),
(proxy_autoplug_continue_signal),
(proxy_autoplug_factories_signal), (proxy_autoplug_select_signal),
(proxy_drained_signal):
Add some more debug info and use factor filtering code.

16 years agoconfigure.ac: Add QuickTime Wrapper plug-in.
Julien Moutte [Mon, 26 Nov 2007 13:19:46 +0000 (13:19 +0000)]
configure.ac: Add QuickTime Wrapper plug-in.

Original commit message from CVS:
2007-11-26  Julien Moutte  <julien@fluendo.com>

* configure.ac: Add QuickTime Wrapper plug-in.
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_push_drain), (gst_speex_resample_process): Fix
build on Mac OS X Leopard. Incorrect printf format arguments.
* sys/Makefile.am:
* sys/qtwrapper/Makefile.am:
* sys/qtwrapper/audiodecoders.c:
(qtwrapper_audio_decoder_base_init),
(qtwrapper_audio_decoder_class_init),
(qtwrapper_audio_decoder_init),
(clear_AudioStreamBasicDescription), (fill_indesc_mp3),
(fill_indesc_aac), (fill_indesc_samr), (fill_indesc_generic),
(make_samr_magic_cookie), (open_decoder),
(qtwrapper_audio_decoder_sink_setcaps), (process_buffer_cb),
(qtwrapper_audio_decoder_chain),
(qtwrapper_audio_decoder_sink_event),
(qtwrapper_audio_decoders_register):
* sys/qtwrapper/codecmapping.c: (audio_caps_from_string),
(fourcc_to_caps):
* sys/qtwrapper/codecmapping.h:
* sys/qtwrapper/imagedescription.c: (image_description_for_avc1),
(image_description_for_mp4v), (image_description_from_stsd_buffer),
(image_description_from_codec_data):
* sys/qtwrapper/imagedescription.h:
* sys/qtwrapper/qtutils.c: (get_name_info_from_component),
(get_output_info_from_component), (dump_avcc_atom),
(dump_image_description), (dump_codec_decompress_params),
(addSInt32ToDictionary), (dump_cvpixel_buffer),
(DestroyAudioBufferList), (AllocateAudioBufferList):
* sys/qtwrapper/qtutils.h:
* sys/qtwrapper/qtwrapper.c: (plugin_init):
* sys/qtwrapper/qtwrapper.h:
* sys/qtwrapper/videodecoders.c:
(qtwrapper_video_decoder_base_init),
(qtwrapper_video_decoder_class_init),
(qtwrapper_video_decoder_init), (qtwrapper_video_decoder_finalize),
(fill_image_description), (new_image_description), (close_decoder),
(open_decoder), (qtwrapper_video_decoder_sink_setcaps),
(decompressCb), (qtwrapper_video_decoder_chain),
(qtwrapper_video_decoder_sink_event),
(qtwrapper_video_decoders_register): Initial import of QuickTime
wrapper jointly developped by Songbird authors (Pioneers of the
Inevitable) and Fluendo.

16 years agogst/: Add GAP-flag support.
Stefan Kost [Mon, 26 Nov 2007 12:25:55 +0000 (12:25 +0000)]
gst/: Add GAP-flag support.

Original commit message from CVS:
* gst/audiotestsrc/gstaudiotestsrc.c:
* gst/volume/gstvolume.c:
* gst/volume/gstvolume.h:
Add GAP-flag support.

16 years agogst/speexresample/: Update speex resampler to latest SVN. We're now down to only...
Sebastian Dröge [Mon, 26 Nov 2007 08:43:25 +0000 (08:43 +0000)]
gst/speexresample/: Update speex resampler to latest SVN. We're now down to only the changes noted in README again.

Original commit message from CVS:
* gst/speexresample/README:
* gst/speexresample/arch.h:
* gst/speexresample/resample.c: (resampler_basic_direct_single),
(resampler_basic_direct_double),
(resampler_basic_interpolate_single),
(resampler_basic_interpolate_double),
(speex_resampler_process_native), (speex_resampler_process_float),
(speex_resampler_process_int),
(speex_resampler_process_interleaved_float),
(speex_resampler_process_interleaved_int),
(speex_resampler_get_input_latency),
(speex_resampler_get_output_latency):
* gst/speexresample/speex_resampler.h:
Update speex resampler to latest SVN. We're now down to only the
changes noted in README again.
* gst/speexresample/speex_resampler_wrapper.h:
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_push_drain), (gst_speex_resample_query):
Adjust to API changes.

16 years agotests/examples/seek/seek.c: Increase the range of the rate selector as I would like...
Julien Moutte [Sat, 24 Nov 2007 15:02:01 +0000 (15:02 +0000)]
tests/examples/seek/seek.c: Increase the range of the rate selector as I would like to test QOS behavior at higher fo...

Original commit message from CVS:
2007-11-24  Julien MOUTTE  <julien@moutte.net>

* tests/examples/seek/seek.c: (main): Increase the range of the
rate selector as I would like to test QOS behavior at higher
forward and reverse playback speed like say 64x.

16 years agogst/speexresample/gstspeexresample.c: Only post the latency message if we have a...
Sebastian Dröge [Fri, 23 Nov 2007 10:21:31 +0000 (10:21 +0000)]
gst/speexresample/gstspeexresample.c: Only post the latency message if we have a resampler state already.

Original commit message from CVS:
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_update_state):
Only post the latency message if we have a resampler state already.

16 years agogst/audioresample/gstaudioresample.c: Implement latency query.
Sebastian Dröge [Fri, 23 Nov 2007 10:21:11 +0000 (10:21 +0000)]
gst/audioresample/gstaudioresample.c: Implement latency query.

Original commit message from CVS:
* gst/audioresample/gstaudioresample.c: (gst_audioresample_init),
(audioresample_query), (audioresample_query_type),
(gst_audioresample_set_property):
Implement latency query.

16 years agogst/speexresample/gstspeexresample.c: Also post GST_MESSAGE_LATENCY if the latency...
Sebastian Dröge [Fri, 23 Nov 2007 10:01:33 +0000 (10:01 +0000)]
gst/speexresample/gstspeexresample.c: Also post GST_MESSAGE_LATENCY if the latency changes.

Original commit message from CVS:
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_update_state):
Also post GST_MESSAGE_LATENCY if the latency changes.

16 years agogst/speexresample/: Add functions to push the remaining samples and to get the latenc...
Sebastian Dröge [Fri, 23 Nov 2007 08:48:50 +0000 (08:48 +0000)]
gst/speexresample/: Add functions to push the remaining samples and to get the latency of the resampler. These will g...

Original commit message from CVS:
* gst/speexresample/resample.c: (speex_resampler_get_latency),
(speex_resampler_drain_float), (speex_resampler_drain_int),
(speex_resampler_drain_interleaved_float),
(speex_resampler_drain_interleaved_int):
* gst/speexresample/speex_resampler.h:
* gst/speexresample/speex_resampler_wrapper.h:
Add functions to push the remaining samples and to get the latency
of the resampler. These will get added to Speex SVN in this or a
slightly changed form at some point too and should get merged then
again.
* gst/speexresample/gstspeexresample.c: (gst_speex_resample_init),
(gst_speex_resample_init_state),
(gst_speex_resample_transform_size),
(gst_speex_resample_push_drain), (gst_speex_resample_event),
(gst_speex_fix_output_buffer), (gst_speex_resample_process),
(gst_speex_resample_query), (gst_speex_resample_query_type):
Drop the prepending zeroes and output the remaining samples on EOS.
Also properly implement the latency query for this. speexresample
should be completely ready for production use now.

16 years agogst-libs/gst/audio/gstbaseaudiosink.c: Our EOS time contains the base_time, _wait_eos...
Wim Taymans [Wed, 21 Nov 2007 18:02:21 +0000 (18:02 +0000)]
gst-libs/gst/audio/gstbaseaudiosink.c: Our EOS time contains the base_time, _wait_eos() expects a running_time so we ...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_drain):
Our EOS time contains the base_time, _wait_eos() expects a running_time
so we have to subtract the base_time again before calling the function.
This fixes an EOS regression where the base_time was added twice and EOS
took longer and longer in certain situations.
Fixes #498767.

16 years agoExpose methods for some object properties so that subclasses can more easily configur...
Wim Taymans [Wed, 21 Nov 2007 13:04:17 +0000 (13:04 +0000)]
Expose methods for some object properties so that subclasses can more easily configure them.

Original commit message from CVS:
* docs/libs/gst-plugins-base-libs-sections.txt:
* gst-libs/gst/audio/gstbaseaudiosink.c: (slave_method_get_type),
(gst_base_audio_sink_set_provide_clock),
(gst_base_audio_sink_get_provide_clock),
(gst_base_audio_sink_set_slave_method),
(gst_base_audio_sink_get_slave_method),
(gst_base_audio_sink_set_property),
(gst_base_audio_sink_get_property), (gst_base_audio_sink_drain),
(gst_base_audio_sink_none_slaving),
(gst_base_audio_sink_handle_slaving):
* gst-libs/gst/audio/gstbaseaudiosink.h:
Expose methods for some object properties so that subclasses can more
easily configure them.
Added slave method none, that completely disables slaving to the
internal clock.
API: gst_base_audio_sink_set_provide_clock()
API: gst_base_audio_sink_get_provide_clock()
API: gst_base_audio_sink_set_slave_method()
API: gst_base_audio_sink_get_slave_method()
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_set_provide_clock),
(gst_base_audio_src_get_provide_clock),
(gst_base_audio_src_set_property),
(gst_base_audio_src_get_property), (gst_base_audio_src_create):
* gst-libs/gst/audio/gstbaseaudiosrc.h:
Expose methods for some object properties so that subclasses can more
easily configure them.
API: gst_base_audio_src_set_provide_clock()
API: gst_base_audio_src_get_provide_clock()

16 years agogst/speexresample/README: Add README explaining where the resampling code was taken...
Sebastian Dröge [Wed, 21 Nov 2007 10:18:56 +0000 (10:18 +0000)]
gst/speexresample/README: Add README explaining where the resampling code was taken from and which changes were done.

Original commit message from CVS:
* gst/speexresample/README:
Add README explaining where the resampling code was taken from
and which changes were done.
* gst/speexresample/resample.c: (speex_alloc), (speex_realloc),
(speex_free):
Use g_malloc() and friends instead of malloc() to achieve higher
portability and define the functions inline.
* gst/speexresample/speex_resampler.h:
Add back some useless preprocessor stuff to keep the diff between
our version and the one from the Speex SVN repository lower.

16 years agogst/speexresample/gstspeexresample.c: Some small cleanup and addition of a TODO item.
Sebastian Dröge [Tue, 20 Nov 2007 20:23:25 +0000 (20:23 +0000)]
gst/speexresample/gstspeexresample.c: Some small cleanup and addition of a TODO item.

Original commit message from CVS:
* gst/speexresample/gstspeexresample.c:
(gst_speex_fix_output_buffer), (gst_speex_resample_transform):
Some small cleanup and addition of a TODO item.

16 years agogst/speexresample/Makefile.am: Add missing file.
Sebastian Dröge [Tue, 20 Nov 2007 12:56:00 +0000 (12:56 +0000)]
gst/speexresample/Makefile.am: Add missing file.

Original commit message from CVS:
* gst/speexresample/Makefile.am:
Add missing file.

16 years agogst-libs/gst/sdp/gstsdpmessage.c: Fix compilation on FreeBSD (Gentoo). Fixes #498228.
Joe Peterson [Tue, 20 Nov 2007 07:53:56 +0000 (07:53 +0000)]
gst-libs/gst/sdp/gstsdpmessage.c: Fix compilation on FreeBSD (Gentoo). Fixes #498228.

Original commit message from CVS:
Patch by: Joe Peterson <lavajoe at gentoo dot org>
* gst-libs/gst/sdp/gstsdpmessage.c:
Fix compilation on FreeBSD (Gentoo). Fixes #498228.

16 years agoAdd speexresample to the docs and while at that do a make update.
Sebastian Dröge [Tue, 20 Nov 2007 07:47:27 +0000 (07:47 +0000)]
Add speexresample to the docs and while at that do a make update.

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:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/gst-plugins-bad-plugins.signals:
* docs/plugins/inspect/plugin-bz2.xml:
* docs/plugins/inspect/plugin-cdxaparse.xml:
* docs/plugins/inspect/plugin-dtsdec.xml:
* docs/plugins/inspect/plugin-equalizer.xml:
* docs/plugins/inspect/plugin-faac.xml:
* docs/plugins/inspect/plugin-faad.xml:
* docs/plugins/inspect/plugin-filter.xml:
* docs/plugins/inspect/plugin-freeze.xml:
* docs/plugins/inspect/plugin-gio.xml:
* docs/plugins/inspect/plugin-gsm.xml:
* docs/plugins/inspect/plugin-gstrtpmanager.xml:
* docs/plugins/inspect/plugin-h264parse.xml:
* docs/plugins/inspect/plugin-modplug.xml:
* docs/plugins/inspect/plugin-mpeg2enc.xml:
* docs/plugins/inspect/plugin-musepack.xml:
* docs/plugins/inspect/plugin-musicbrainz.xml:
* docs/plugins/inspect/plugin-nsfdec.xml:
* docs/plugins/inspect/plugin-replaygain.xml:
* docs/plugins/inspect/plugin-soundtouch.xml:
* docs/plugins/inspect/plugin-spcdec.xml:
* docs/plugins/inspect/plugin-spectrum.xml:
* docs/plugins/inspect/plugin-speed.xml:
* docs/plugins/inspect/plugin-tta.xml:
* docs/plugins/inspect/plugin-videosignal.xml:
* docs/plugins/inspect/plugin-xingheader.xml:
* docs/plugins/inspect/plugin-xvid.xml:
* gst/speexresample/gstspeexresample.h:
Add speexresample to the docs and while at that do a make update.

16 years agogst/speexresample/gstspeexresample.c: If the resampler gives less output samples...
Sebastian Dröge [Tue, 20 Nov 2007 07:30:30 +0000 (07:30 +0000)]
gst/speexresample/gstspeexresample.c: If the resampler gives less output samples than expected adjust the output buff...

Original commit message from CVS:
* gst/speexresample/gstspeexresample.c:
(gst_speex_fix_output_buffer), (gst_speex_resample_process):
If the resampler gives less output samples than expected
adjust the output buffer and print a warning.

16 years agoAdd resample element based on the Speex resampling algorithm.
Sebastian Dröge [Tue, 20 Nov 2007 07:02:45 +0000 (07:02 +0000)]
Add resample element based on the Speex resampling algorithm.

Original commit message from CVS:
* configure.ac:
* gst/speexresample/arch.h:
* gst/speexresample/fixed_generic.h:
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_base_init), (gst_speex_resample_class_init),
(gst_speex_resample_init), (gst_speex_resample_start),
(gst_speex_resample_stop), (gst_speex_resample_get_unit_size),
(gst_speex_resample_transform_caps),
(gst_speex_resample_init_state), (gst_speex_resample_update_state),
(gst_speex_resample_reset_state), (gst_speex_resample_parse_caps),
(gst_speex_resample_transform_size), (gst_speex_resample_set_caps),
(gst_speex_resample_event), (gst_speex_resample_check_discont),
(gst_speex_resample_process), (gst_speex_resample_transform),
(gst_speex_resample_set_property),
(gst_speex_resample_get_property), (plugin_init):
* gst/speexresample/gstspeexresample.h:
* gst/speexresample/resample.c: (speex_alloc), (speex_realloc),
(speex_free), (compute_func), (main), (sinc), (cubic_coef),
(resampler_basic_direct_single), (resampler_basic_direct_double),
(resampler_basic_interpolate_single),
(resampler_basic_interpolate_double), (update_filter),
(speex_resampler_init), (speex_resampler_init_frac),
(speex_resampler_destroy), (speex_resampler_process_native),
(speex_resampler_process_float), (speex_resampler_process_int),
(speex_resampler_process_interleaved_float),
(speex_resampler_process_interleaved_int),
(speex_resampler_set_rate), (speex_resampler_get_rate),
(speex_resampler_set_rate_frac), (speex_resampler_get_ratio),
(speex_resampler_set_quality), (speex_resampler_get_quality),
(speex_resampler_set_input_stride),
(speex_resampler_get_input_stride),
(speex_resampler_set_output_stride),
(speex_resampler_get_output_stride), (speex_resampler_skip_zeros),
(speex_resampler_reset_mem), (speex_resampler_strerror):
* gst/speexresample/speex_resampler.h:
* gst/speexresample/speex_resampler_float.c:
* gst/speexresample/speex_resampler_int.c:
* gst/speexresample/speex_resampler_wrapper.h:
Add resample element based on the Speex resampling algorithm.

16 years agotests/check/libs/fft.c: Fix scaling to really have dB instead of something else.
Sebastian Dröge [Mon, 19 Nov 2007 12:30:22 +0000 (12:30 +0000)]
tests/check/libs/fft.c: Fix scaling to really have dB instead of something else.

Original commit message from CVS:
* tests/check/libs/fft.c: (GST_START_TEST):
Fix scaling to really have dB instead of something else.

16 years agotests/examples/seek/seek.c: There's a nice macro to check
Julien Moutte [Mon, 19 Nov 2007 12:08:16 +0000 (12:08 +0000)]
tests/examples/seek/seek.c: There's a nice macro to check

Original commit message from CVS:
2007-11-19  Julien MOUTTE  <julien@moutte.net>

* tests/examples/seek/seek.c: (main): There's a nice macro to
check
GTK version, use it.

16 years agotests/examples/seek/seek.c: Try to support stable version of GTK.
Julien Moutte [Mon, 19 Nov 2007 11:59:20 +0000 (11:59 +0000)]
tests/examples/seek/seek.c: Try to support stable version of GTK.

Original commit message from CVS:
2007-11-19  Julien MOUTTE  <julien@moutte.net>

* tests/examples/seek/seek.c: (main): Try to support stable version
of GTK.

16 years agogst/playback/: Fix the build + little README update.
Stefan Kost [Sat, 17 Nov 2007 15:25:15 +0000 (15:25 +0000)]
gst/playback/: Fix the build + little README update.

Original commit message from CVS:
* gst/playback/README:
* gst/playback/test7.c:
Fix the build + little README update.

16 years agotests/examples/seek/seek.c: Add playbin2 seek pipeline.
Wim Taymans [Fri, 16 Nov 2007 16:02:45 +0000 (16:02 +0000)]
tests/examples/seek/seek.c: Add playbin2 seek pipeline.

Original commit message from CVS:
* tests/examples/seek/seek.c: (make_playerbin2_pipeline), (main):
Add playbin2 seek pipeline.

16 years agogst/playback/: Add playbin2.
Wim Taymans [Fri, 16 Nov 2007 15:44:48 +0000 (15:44 +0000)]
gst/playback/: Add playbin2.

Original commit message from CVS:
* gst/playback/Makefile.am:
* gst/playback/gstplayback.c: (plugin_init):
* gst/playback/test7.c: (update_scale), (warning_cb), (error_cb),
(eos_cb), (about_to_finish_cb), (main):
Add playbin2.
Added gapless playback example.
* gst/playback/gstplaybasebin.c:
* gst/playback/gstplaybasebin.h:
* gst/playback/gstplaybin.c: (gst_play_bin_plugin_init):
* gst/playback/gstqueue2.c:
* gst/playback/test.c:
* gst/playback/gsturidecodebin.c: (gst_uri_decode_bin_class_init),
(pad_removed_cb):
* gst/playback/gststreaminfo.h:
Change email.
* gst/playback/gstplaybin2.c: (gst_play_bin_get_type),
(gst_play_bin_class_init), (init_group), (gst_play_bin_init),
(gst_play_bin_dispose), (gst_play_bin_set_uri),
(gst_play_bin_set_suburi), (gst_play_bin_set_property),
(gst_play_bin_get_property), (gst_play_bin_handle_message),
(pad_added_cb), (pad_removed_cb), (no_more_pads_cb), (perform_eos),
(drained_cb), (unlink_group), (activate_group),
(setup_next_source), (gst_play_bin_change_state),
(gst_play_bin2_plugin_init):
Added raw first version of playbin2. Does chained oggs and gapless
playback fine. No support for raw sinks yet. No visualisations or
subtitles yet.
* gst/playback/gstplaysink.c: (gst_play_sink_get_type),
(gst_play_sink_class_init), (gst_play_sink_init),
(gst_play_sink_dispose), (gst_play_sink_vis_unblocked),
(gst_play_sink_vis_blocked), (gst_play_sink_set_video_sink),
(gst_play_sink_set_audio_sink), (gst_play_sink_set_vis_plugin),
(gst_play_sink_set_property), (gst_play_sink_get_property),
(post_missing_element_message), (free_chain), (add_chain),
(activate_chain), (gen_video_chain), (gen_text_element),
(gen_audio_chain), (gen_vis_element), (gst_play_sink_get_mode),
(gst_play_sink_set_mode), (gst_play_sink_request_pad),
(gst_play_sink_release_pad), (gst_play_sink_send_event_to_sink),
(gst_play_sink_send_event), (gst_play_sink_change_state):
* gst/playback/gstplaysink.h:
Added Element that abstracts the sinks and their pipelines for playbin2.

16 years agogst/playback/gststreamselector.*: Improve streamselector, make it select and unselect...
Wim Taymans [Fri, 16 Nov 2007 15:05:07 +0000 (15:05 +0000)]
gst/playback/gststreamselector.*: Improve streamselector, make it select and unselect the current pad more intelligen...

Original commit message from CVS:
* gst/playback/gststreamselector.c: (gst_selector_pad_get_type),
(gst_selector_pad_class_init), (gst_selector_pad_init),
(gst_selector_pad_finalize), (gst_selector_pad_reset),
(gst_selector_pad_get_linked_pads), (gst_selector_pad_event),
(gst_selector_pad_getcaps), (gst_selector_pad_bufferalloc),
(gst_selector_pad_chain), (gst_stream_selector_get_type),
(gst_stream_selector_base_init), (gst_stream_selector_class_init),
(gst_stream_selector_init), (gst_stream_selector_set_property),
(gst_stream_selector_get_linked_pad),
(gst_stream_selector_getcaps),
(gst_stream_selector_is_active_sinkpad),
(gst_stream_selector_activate_sinkpad),
(gst_stream_selector_get_linked_pads),
(gst_stream_selector_request_new_pad),
(gst_stream_selector_release_pad):
* gst/playback/gststreamselector.h:
Improve streamselector, make it select and unselect the current pad more
intelligently.
Subclass GstPad for the sinkpads of the selector.
Handle segments more correctly.
Fix caps negotiation.
Implement release_pad.

16 years agogst/playback/gstdecodebin2.c: Add drained signal fired when decodebin finishes decodi...
Wim Taymans [Fri, 16 Nov 2007 12:51:44 +0000 (12:51 +0000)]
gst/playback/gstdecodebin2.c: Add drained signal fired when decodebin finishes decoding the data.

Original commit message from CVS:
* gst/playback/gstdecodebin2.c: (gst_decode_bin_class_init),
(gst_decode_group_check_if_drained), (source_pad_event_probe),
(remove_fakesink):
Add drained signal fired when decodebin finishes decoding the data.
Remove deprecated STATE_DIRTY message.
* gst/playback/gsturidecodebin.c: (gst_uri_decode_bin_class_init),
(unknown_type_cb), (new_decoded_pad_cb), (pad_removed_cb),
(analyse_source), (proxy_drained_signal), (make_decoder),
(source_new_pad), (value_list_append_structure_list),
(handle_redirect_message), (handle_message):
Proxy the new drained signal.
Handle pad removed from decodebin.
Handle redirect messages by sorting multiple redirections based on the
connection speed.

16 years agogst-libs/gst/rtsp/gstrtspmessage.c: Fix leaking headers. Fixes #496761.
Tommi Myöhänen [Fri, 16 Nov 2007 11:22:09 +0000 (11:22 +0000)]
gst-libs/gst/rtsp/gstrtspmessage.c: Fix leaking headers. Fixes #496761.

Original commit message from CVS:
Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
* gst-libs/gst/rtsp/gstrtspmessage.c: (gst_rtsp_message_unset):
Fix leaking headers. Fixes #496761.

16 years agosys/: Don't leak the PAR on errors. Fixes #496731.
Tommi Myöhänen [Fri, 16 Nov 2007 11:16:58 +0000 (11:16 +0000)]
sys/: Don't leak the PAR on errors. Fixes #496731.

Original commit message from CVS:
Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_get),
(gst_ximagesink_change_state):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_xcontext_get):
Don't leak the PAR on errors. Fixes #496731.

16 years agogst-libs/gst/tag/gstid3tag.c: Add mapping for audio cd discid tags, so we can extract...
Tim-Philipp Müller [Fri, 16 Nov 2007 10:14:34 +0000 (10:14 +0000)]
gst-libs/gst/tag/gstid3tag.c: Add mapping for audio cd discid tags, so we can extract them from tags as well (see #34...

Original commit message from CVS:
* gst-libs/gst/tag/gstid3tag.c: (user_tag_matches),
(gst_tag_from_id3_user_tag):
Add mapping for audio cd discid tags, so we can extract
them from tags as well (see #347848). Also compare identifiers
in ID3v2 TXXX frames in a case-insensitive way to increase
compatibility when reading tags (discid vs. DiscID vs. DiscId).

16 years agogst-plugins-base.doap: Oops, fix the release name.
Jan Schmidt [Fri, 16 Nov 2007 01:21:40 +0000 (01:21 +0000)]
gst-plugins-base.doap: Oops, fix the release name.

Original commit message from CVS:
* gst-plugins-base.doap:
Oops, fix the release name.

16 years agogst-plugins-base.doap: Add 0.10.15 release
Jan Schmidt [Fri, 16 Nov 2007 00:44:58 +0000 (00:44 +0000)]
gst-plugins-base.doap: Add 0.10.15 release

Original commit message from CVS:
* gst-plugins-base.doap:
Add 0.10.15 release

16 years agoconfigure.ac: Back to CVS
Jan Schmidt [Fri, 16 Nov 2007 00:24:55 +0000 (00:24 +0000)]
configure.ac: Back to CVS

Original commit message from CVS:
* configure.ac:
Back to CVS

16 years agoconfigure.ac: releasing 0.10.15, "No need to argue" RELEASE-0_10_15
Jan Schmidt [Fri, 16 Nov 2007 00:14:33 +0000 (00:14 +0000)]
configure.ac: releasing 0.10.15, "No need to argue"

Original commit message from CVS:
=== release 0.10.15 ===

2007-11-15  Jan Schmidt <jan.schmidt@sun.com>

* configure.ac:
releasing 0.10.15, "No need to argue"

16 years agoUpdate .po files
Jan Schmidt [Fri, 16 Nov 2007 00:04:24 +0000 (00:04 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

16 years agowin32/vs6/libgstfft.dsp: Convert line endings to DOS.
Jan Schmidt [Thu, 15 Nov 2007 21:40:53 +0000 (21:40 +0000)]
win32/vs6/libgstfft.dsp: Convert line endings to DOS.

Original commit message from CVS:
* win32/vs6/libgstfft.dsp:
Convert line endings to DOS.

16 years agowin32/: Add a project file for fft plugin and remove socket based plugin which don...
Sébastien Moutte [Thu, 15 Nov 2007 21:14:04 +0000 (21:14 +0000)]
win32/: Add a project file for fft plugin and remove socket based plugin which don't build from the workspace.* win32...

Original commit message from CVS:
* win32/vs6/gst_plugins_base.dsw:
* win32/vs6/libgstfft.dsp:
* win32/MANIFEST:
Add a project file for fft plugin and remove socket
based plugin which don't build from the workspace.* win32/vs6/libgstaudio.dsp:
* win32/vs6/libgstrtp.dsp:
* win32/vs6/libgsttag.dsp:
Convert line endings back to DOS.
Fixes #496724

17 years agowin32/vs6/: Convert line endings back to DOS
Jan Schmidt [Wed, 14 Nov 2007 12:27:13 +0000 (12:27 +0000)]
win32/vs6/: Convert line endings back to DOS

Original commit message from CVS:
* win32/vs6/libgstinterfaces.dsp:
* win32/vs6/libgstrtsp.dsp:
Convert line endings back to DOS

17 years agogst-libs/gst/fft/: Don't include malloc.h which doesn't exist on Mac OSX.
Jan Schmidt [Wed, 14 Nov 2007 11:08:48 +0000 (11:08 +0000)]
gst-libs/gst/fft/: Don't include malloc.h which doesn't exist on Mac OSX.

Original commit message from CVS:
* gst-libs/gst/fft/kiss_fft_f32.h:
* gst-libs/gst/fft/kiss_fft_f64.h:
* gst-libs/gst/fft/kiss_fft_s16.h:
* gst-libs/gst/fft/kiss_fft_s32.h:
Don't include malloc.h which doesn't exist on Mac OSX.
Instead, pull in glib.h and use g_malloc/g_free for
consistency. Fixes: #496548

17 years agogst/playback/gstdecodebin2.c: Dont leak ghostpad. Fixes #475451.
Stefan Kost [Fri, 9 Nov 2007 15:54:45 +0000 (15:54 +0000)]
gst/playback/gstdecodebin2.c: Dont leak ghostpad. Fixes #475451.

Original commit message from CVS:
* gst/playback/gstdecodebin2.c:
Dont leak ghostpad. Fixes #475451.

17 years agoUpdate some more docs and comments.
Wim Taymans [Fri, 9 Nov 2007 12:21:52 +0000 (12:21 +0000)]
Update some more docs and comments.

Original commit message from CVS:
* docs/design/design-decodebin.txt:
* gst/playback/gstdecodebin2.c: (analyze_new_pad):
Update some more docs and comments.