platform/upstream/gstreamer.git
17 years agolibs/gst/controller/: Protect against values larger or smaller than the minimum or...
Sebastian Dröge [Sat, 9 Jun 2007 16:58:30 +0000 (16:58 +0000)]
libs/gst/controller/: Protect against values larger or smaller than the minimum or maximum allowed value for the prop...

Original commit message from CVS:
* libs/gst/controller/gstcontroller.c:
(gst_controlled_property_new):
* libs/gst/controller/gstcontrollerprivate.h:
* libs/gst/controller/gstinterpolation.c:
(gst_controlled_property_find_control_point_node),
(interpolate_none_get), (interpolate_none_get_enum_value_array),
(interpolate_none_get_string_value_array),
(interpolate_trigger_get),
(interpolate_trigger_get_enum_value_array),
(interpolate_trigger_get_string_value_array):
Protect against values larger or smaller than the minimum or maximum
allowed value for the property when using values that can be compared.
Optimize trigger interpolator a bit by taking the last requested value
into account instead of always looping through the complete list.
Fix coding style a bit, everywhere else we use "return foo" instead
of "return (foo)".
* tests/check/libs/controller.c: (GST_START_TEST),
(gst_controller_suite):
Add unit test for the protection against too large or too small
values.

17 years agodocs/random/slomo/controller.txt: Add some thoughts about the future of the controller.
Sebastian Dröge [Fri, 8 Jun 2007 21:08:24 +0000 (21:08 +0000)]
docs/random/slomo/controller.txt: Add some thoughts about the future of the controller.

Original commit message from CVS:
* docs/random/slomo/controller.txt:
Add some thoughts about the future of the controller.

17 years agoplugins/elements/gstidentity.c: Don't overflow in retimestamping code.
Wim Taymans [Fri, 8 Jun 2007 11:00:59 +0000 (11:00 +0000)]
plugins/elements/gstidentity.c: Don't overflow in retimestamping code.

Original commit message from CVS:
* plugins/elements/gstidentity.c: (gst_identity_transform_ip):
Don't overflow in retimestamping code.

17 years agolibs/gst/controller/gstinterpolation.c: Use gst_util_guint64_to_gdouble for conversions.
Sébastien Moutte [Thu, 7 Jun 2007 20:51:35 +0000 (20:51 +0000)]
libs/gst/controller/gstinterpolation.c: Use gst_util_guint64_to_gdouble for conversions.

Original commit message from CVS:
* libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
Use gst_util_guint64_to_gdouble for conversions.
* win32/common/libgstreamer.def:
Add new exported functions.

17 years agogst/gstutils.c: Small docs addition.
Tim-Philipp Müller [Thu, 7 Jun 2007 17:22:47 +0000 (17:22 +0000)]
gst/gstutils.c: Small docs addition.

Original commit message from CVS:
* gst/gstutils.c:
Small docs addition.

17 years agoREADME: Remove that test line again.
Stefan Kost [Thu, 7 Jun 2007 14:49:00 +0000 (14:49 +0000)]
README: Remove that test line again.

Original commit message from CVS:
* README:
Remove that test line again.

17 years agoREADME: Test commit mail sending.
Stefan Kost [Thu, 7 Jun 2007 14:36:02 +0000 (14:36 +0000)]
README: Test commit mail sending.

Original commit message from CVS:
* README:
Test commit mail sending.

17 years agoconfigure.ac: Fix typo and test commit mail sending.
Stefan Kost [Thu, 7 Jun 2007 14:17:46 +0000 (14:17 +0000)]
configure.ac: Fix typo and test commit mail sending.

Original commit message from CVS:
* configure.ac:
Fix typo and test commit mail sending.

17 years agotests/examples/controller/audio-example.c: Improve comment and test commit mail sending.
Stefan Kost [Thu, 7 Jun 2007 14:12:07 +0000 (14:12 +0000)]
tests/examples/controller/audio-example.c: Improve comment and test commit mail sending.

Original commit message from CVS:
* tests/examples/controller/audio-example.c:
Improve comment and test commit mail sending.

17 years agogst/gstbin.c: Add helper function to find messages.
Wim Taymans [Thu, 7 Jun 2007 10:11:47 +0000 (10:11 +0000)]
gst/gstbin.c: Add helper function to find messages.

Original commit message from CVS:
* gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
(gst_bin_remove_func), (gst_bin_element_set_state),
(bin_handle_async_start), (bin_handle_async_done),
(gst_bin_handle_message_func):
Add helper function to find messages.
Generate the async-done messages together with the state change
messages.
Small cleanups in handling toplevel bins.

17 years agoFix multiqueue leaking buffers and events when downstream or the queue are flushing...
Tim-Philipp Müller [Wed, 6 Jun 2007 18:11:10 +0000 (18:11 +0000)]
Fix multiqueue leaking buffers and events when downstream or the queue are flushing. Make refcounting assumptions exp...

Original commit message from CVS:
* libs/gst/base/gstdataqueue.c:
* libs/gst/base/gstdataqueue.h:
* plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
(gst_multi_queue_item_new), (gst_multi_queue_chain),
(gst_multi_queue_sink_event):
* tests/check/elements/multiqueue.c: (multiqueue_suite):
Fix multiqueue leaking buffers and events when downstream or the
queue are flushing. Make refcounting assumptions explicit and
document them (shouldn't break existing code that uses it other than
maybe leak miniobjects, but that already happens anyway). Add unit
test for the most common flushing case. Fixes #423700.

17 years agolibs/gst/controller/gstcontroller.c: Clarify docs: The get_all, get_value_array(s...
Sebastian Dröge [Wed, 6 Jun 2007 14:20:01 +0000 (14:20 +0000)]
libs/gst/controller/gstcontroller.c: Clarify docs: The get_all, get_value_array(s) functions don't modify the GObject...

Original commit message from CVS:
* libs/gst/controller/gstcontroller.c:
Clarify docs: The get_all, get_value_array(s) functions
don't modify the GObject properties.

17 years agolibs/gst/controller/: Factor out the 'set' logic into gst_controller_set_unlocked...
Sebastian Dröge [Wed, 6 Jun 2007 14:01:56 +0000 (14:01 +0000)]
libs/gst/controller/: Factor out the 'set' logic into gst_controller_set_unlocked for the gst_controller_set and gst_...

Original commit message from CVS:
* libs/gst/controller/gstcontroller.c:
(gst_controlled_property_set_interpolation_mode),
(gst_controlled_property_prepend_default),
(gst_controlled_property_new), (gst_controller_set_unlocked),
(gst_controller_set), (gst_controller_set_from_list),
(gst_controller_unset), (gst_controller_unset_all):
* libs/gst/controller/gstcontrollerprivate.h:
* libs/gst/controller/gstinterpolation.c:
Factor out the 'set' logic into gst_controller_set_unlocked for the
gst_controller_set and gst_controller_set_from_list functions.
To make life of the interpolators easier always add a control point
at timestamp zero with the default value.
In the linear interpolator make things more obvious by better variable
naming (slope).
Implement cubic interpolation mode (by using a natural cubic spline)
and map the quadratic interpolation mode to this too (as quadratic
doesn't make much sense, see discussion on the list).
* tests/check/libs/controller.c: (GST_START_TEST),
(gst_controller_suite):
Add unit test for the cubic interpolation mode and check everywhere
if the interpolation mode could be set as expected.

17 years agogst/gstparamspecs.c: Don't use GLib-2.10 functions, we still depend on
Tim-Philipp Müller [Wed, 6 Jun 2007 11:38:25 +0000 (11:38 +0000)]
gst/gstparamspecs.c: Don't use GLib-2.10 functions, we still depend on

Original commit message from CVS:
* gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
Don't use GLib-2.10 functions, we still depend on
GLib-how-old-is-it-again-2.8.

17 years agoAPI: add GstParamSpecFraction, so elements can have fraction properties without lots...
Tim-Philipp Müller [Wed, 6 Jun 2007 11:18:12 +0000 (11:18 +0000)]
API: add GstParamSpecFraction, so elements can have fraction properties without lots of painful string parsing (#4446...

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/Makefile.am:
* gst/gst.c:
* gst/gst.h:
* gst/gstparamspecs.c: (_gst_param_fraction_init),
(_gst_param_fraction_set_default), (_gst_param_fraction_validate),
(_gst_param_fraction_values_cmp),
(gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
* gst/gstparamspecs.h:
* gst/gstvalue.c:
* tests/check/Makefile.am:
* tests/check/gst/.cvsignore:
* tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
(gst_dummy_obj_class_init), (gst_dummy_obj_init),
(gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
(GST_START_TEST), (gst_param_spec_suite):
API: add GstParamSpecFraction, so elements can have fraction
properties without lots of painful string parsing (#444648).

17 years agogst/gstobject.c: Fix signal signature.
Wim Taymans [Tue, 5 Jun 2007 16:25:06 +0000 (16:25 +0000)]
gst/gstobject.c: Fix signal signature.

Original commit message from CVS:
* gst/gstobject.c: (gst_object_class_init):
Fix signal signature.
* gst/gstsegment.c:
Add small clarification in the api docs.
* plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
States are protected with object lock.

17 years agoAUTHORS: I should probably be listed as an author by now.
Jan Schmidt [Tue, 5 Jun 2007 14:11:59 +0000 (14:11 +0000)]
AUTHORS: I should probably be listed as an author by now.

Original commit message from CVS:
* AUTHORS:
I should probably be listed as an author by now.
* docs/random/release:
Update the release doc

17 years agogst/gstvalue.c: Make docs for gst_value_compare() mention return enums that actually...
Tim-Philipp Müller [Tue, 5 Jun 2007 13:49:10 +0000 (13:49 +0000)]
gst/gstvalue.c: Make docs for gst_value_compare() mention return enums that actually exist.

Original commit message from CVS:
* gst/gstvalue.c:
Make docs for gst_value_compare() mention return enums that
actually exist.

17 years agoconfigure.ac: Back to CVS
Jan Schmidt [Tue, 5 Jun 2007 13:21:41 +0000 (13:21 +0000)]
configure.ac: Back to CVS

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

17 years agoRelease 0.10.13 "With or without you" RELEASE-0_10_13
Jan Schmidt [Tue, 5 Jun 2007 12:47:23 +0000 (12:47 +0000)]
Release 0.10.13 "With or without you"

Original commit message from CVS:
Release 0.10.13 "With or without you"

17 years agoUpdate .po files
Jan Schmidt [Tue, 5 Jun 2007 12:06:44 +0000 (12:06 +0000)]
Update .po files

Original commit message from CVS:
Update .po files

17 years agotrigger a mail
Thomas Vander Stichele [Tue, 29 May 2007 15:50:49 +0000 (15:50 +0000)]
trigger a mail

Original commit message from CVS:
trigger a mail

17 years agotrigger a mail
Thomas Vander Stichele [Tue, 29 May 2007 14:49:57 +0000 (14:49 +0000)]
trigger a mail

Original commit message from CVS:
trigger a mail

17 years agotrigger a mail
Thomas Vander Stichele [Tue, 29 May 2007 14:48:55 +0000 (14:48 +0000)]
trigger a mail

Original commit message from CVS:
trigger a mail

17 years agosend a mail
Thomas Vander Stichele [Tue, 29 May 2007 14:37:28 +0000 (14:37 +0000)]
send a mail

Original commit message from CVS:
send a mail

17 years agotest commit
Thomas Vander Stichele [Tue, 29 May 2007 11:52:28 +0000 (11:52 +0000)]
test commit

Original commit message from CVS:
test commit

17 years agotest commit
Thomas Vander Stichele [Tue, 29 May 2007 11:40:36 +0000 (11:40 +0000)]
test commit

Original commit message from CVS:
test commit

17 years agotest commit
Thomas Vander Stichele [Tue, 29 May 2007 11:00:14 +0000 (11:00 +0000)]
test commit

Original commit message from CVS:
test commit

17 years agotest commit
Thomas Vander Stichele [Tue, 29 May 2007 10:43:23 +0000 (10:43 +0000)]
test commit

Original commit message from CVS:
test commit

17 years agotest commit
Thomas Vander Stichele [Tue, 29 May 2007 10:35:40 +0000 (10:35 +0000)]
test commit

Original commit message from CVS:
test commit

17 years agotest commit
Thomas Vander Stichele [Tue, 29 May 2007 10:34:15 +0000 (10:34 +0000)]
test commit

Original commit message from CVS:
test commit

17 years agotest commit
Thomas Vander Stichele [Tue, 29 May 2007 10:20:12 +0000 (10:20 +0000)]
test commit

Original commit message from CVS:
test commit

17 years agogst/gstbin.c: Make sure that the child bin stops after completing the async state...
Wim Taymans [Fri, 25 May 2007 15:36:52 +0000 (15:36 +0000)]
gst/gstbin.c: Make sure that the child bin stops after completing the async state change so that the parent can conti...

Original commit message from CVS:
* gst/gstbin.c: (bin_handle_async_done):
Make sure that the child bin stops after completing the async state
change so that the parent can continue the state change to PLAYING.
Fixes #441159.

17 years agolibs/gst/base/gstcollectpads.c: Use additional refcounting to avoid crashes when...
Wim Taymans [Fri, 25 May 2007 09:26:20 +0000 (09:26 +0000)]
libs/gst/base/gstcollectpads.c: Use additional refcounting to avoid crashes when dynamically adding and removing pads...

Original commit message from CVS:
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
(unref_data), (gst_collect_pads_remove_pad),
(gst_collect_pads_check_pads):
Use additional refcounting to avoid crashes when dynamically adding and
removing pads. Fixes #420206.

17 years agotools/gst-launch.c: When buffering goes from a two digit to a single digit number...
Wim Taymans [Thu, 24 May 2007 15:00:55 +0000 (15:00 +0000)]
tools/gst-launch.c: When buffering goes from a two digit to a single digit number, make sure to remove the old second...

Original commit message from CVS:
* tools/gst-launch.c: (event_loop):
When buffering goes from a two digit to a single digit number, make sure
to remove the old second digit by writing a blank over it.

17 years agolibs/gst/base/gstdataqueue.c: Eliminate tabs and trailing comma in enum list; fix...
Tim-Philipp Müller [Thu, 24 May 2007 12:19:01 +0000 (12:19 +0000)]
libs/gst/base/gstdataqueue.c: Eliminate tabs and trailing comma in enum list; fix some typos.

Original commit message from CVS:
* libs/gst/base/gstdataqueue.c:
Eliminate tabs and trailing comma in enum list; fix some typos.

17 years agotests/check/gst/gstbin.c: Allow refcount of 3 and 4 because some state thread might...
Wim Taymans [Thu, 24 May 2007 11:50:47 +0000 (11:50 +0000)]
tests/check/gst/gstbin.c: Allow refcount of 3 and 4 because some state thread might still be busy with it.

Original commit message from CVS:
* tests/check/gst/gstbin.c: (GST_START_TEST):
Allow refcount of 3 and 4 because some state thread might still be busy
with it.

17 years agoplugins/elements/: These are not installed headers, no need for padding.
Tim-Philipp Müller [Thu, 24 May 2007 09:41:51 +0000 (09:41 +0000)]
plugins/elements/: These are not installed headers, no need for padding.

Original commit message from CVS:
* plugins/elements/Makefile.am:
* plugins/elements/gstmultiqueue.h:
* plugins/elements/gstqueue.h:
These are not installed headers, no need for padding.

17 years agogst/gstbin.c: Enable latency for next release.
Wim Taymans [Thu, 24 May 2007 08:35:04 +0000 (08:35 +0000)]
gst/gstbin.c: Enable latency for next release.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
(gst_bin_continue_func):
Enable latency for next release.
Restore STATE_LOCK around recalc_state that was left out during the
rewrite and could result in racy behaviour when _get_state and
recalc_state are run concurrently. See #440463.

17 years agotests/check/gst/gstsystemclock.c: Improve test_async_order to also work when both...
Wim Taymans [Wed, 23 May 2007 13:56:25 +0000 (13:56 +0000)]
tests/check/gst/gstsystemclock.c: Improve test_async_order to also work when both timers are already expired when we ...

Original commit message from CVS:
* tests/check/gst/gstsystemclock.c: (store_callback),
(GST_START_TEST):
Improve test_async_order to also work when both timers are already
expired when we get scheduled to check it.

17 years agogst/gstbin.*: 'private' is a c++ keyword, let's not use that in header files, otherwi...
Tim-Philipp Müller [Tue, 22 May 2007 17:10:04 +0000 (17:10 +0000)]
gst/gstbin.*: 'private' is a c++ keyword, let's not use that in header files, otherwise c++ compilers will throw a ta...

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
(gst_bin_set_property), (gst_bin_get_property),
(gst_bin_remove_func), (gst_bin_handle_message_func):
* gst/gstbin.h:
'private' is a c++ keyword, let's not use that in header files,
otherwise c++ compilers will throw a tantrum.

17 years agoplugins/: Use #ifdef for HAVE_XYZ for consistency.
Tim-Philipp Müller [Tue, 22 May 2007 11:55:33 +0000 (11:55 +0000)]
plugins/: Use #ifdef for HAVE_XYZ for consistency.

Original commit message from CVS:
* plugins/elements/gstelements.c:
* plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
(gst_file_sink_get_current_offset):
* plugins/indexers/gstindexers.c: (plugin_init):
Use #ifdef for HAVE_XYZ for consistency.
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/filesink.c: (setup_filesink),
(cleanup_filesink), (GST_START_TEST), (filesink_suite):
Add some unit tests for filesink.

17 years agoplugins/elements/gstfilesink.*: Fix position reporting; rename data_written member...
Mark Nauwelaerts [Tue, 22 May 2007 11:43:07 +0000 (11:43 +0000)]
plugins/elements/gstfilesink.*: Fix position reporting; rename data_written member to current_pos to reflect its real...

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at skynet be>
* plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
(gst_file_sink_query), (gst_file_sink_do_seek),
(gst_file_sink_get_current_offset), (gst_file_sink_render):
* plugins/elements/gstfilesink.h:
Fix position reporting; rename data_written member to current_pos to
reflect its real meaning (fixes #412648).

17 years agoAdd a property for bins that handle the state change of their childs.
Edward Hervey [Tue, 22 May 2007 11:09:45 +0000 (11:09 +0000)]
Add a property for bins that handle the state change of their childs.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
(gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
(gst_bin_remove_func), (gst_bin_handle_message_func):
* gst/gstbin.h:
Add a property for bins that handle the state change of their childs.
Fixes #435880

17 years agoadd quote
Thomas Vander Stichele [Tue, 22 May 2007 10:21:31 +0000 (10:21 +0000)]
add quote

Original commit message from CVS:
add quote

17 years agolibs/gst/controller/gstinterpolation.c: Use an array of the correct type when using...
Sebastian Dröge [Tue, 22 May 2007 09:56:25 +0000 (09:56 +0000)]
libs/gst/controller/gstinterpolation.c: Use an array of the correct type when using _get_value_array with linear inte...

Original commit message from CVS:
* libs/gst/controller/gstinterpolation.c:
Use an array of the correct type when using _get_value_array with
linear interpolation.

17 years agogst/gstelement.c (gst_element_requires_clock, gst_element_provides_clock, gst_element...
Stefan Kost [Tue, 22 May 2007 06:37:37 +0000 (06:37 +0000)]
gst/gstelement.c (gst_element_requires_clock, gst_element_provides_clock, gst_element_request_pad, gst_element_class_...

Original commit message from CVS:
* gst/gstelement.c (gst_element_requires_clock,
gst_element_provides_clock, gst_element_request_pad,
gst_element_class_set_details, gst_element_class_set_details_simple,
gst_element_default_send_event, gst_element_abort_state,
gst_element_continue_state, gst_element_set_state,
gst_element_set_state_func, iterator_activate_fold_with_resync):
* gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
gst_pad_get_range, gst_pad_pull_range):
* gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
GstPadActivateModeFunction, GstPadChainFunction,
GstPadGetCapsFunction, GstPadAcceptCapsFunction,
GstPadFixateCapsFunction, GstPadTemplate):
* gst/gstpipeline.c (gst_pipeline_change_state,
gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
gst_pipeline_set_clock, gst_pipeline_auto_clock,
gst_pipeline_get_delay):
Whitespace and docs fixes.

17 years agolibs/gst/controller/gstinterpolation.c: Add support for retrieving value arrays when...
Sebastian Dröge [Mon, 21 May 2007 21:48:07 +0000 (21:48 +0000)]
libs/gst/controller/gstinterpolation.c: Add support for retrieving value arrays when using the trigger interpolation ...

Original commit message from CVS:
* libs/gst/controller/gstinterpolation.c:
(interpolate_trigger_get_enum_value_array),
(interpolate_trigger_get_string_value_array):
Add support for retrieving value arrays when using the trigger
interpolation mode.

17 years agolibs/gst/controller/gstcontroller.*: Clarify the docs of gst_controller_get_value_arr...
Sebastian Dröge [Mon, 21 May 2007 21:34:49 +0000 (21:34 +0000)]
libs/gst/controller/gstcontroller.*: Clarify the docs of gst_controller_get_value_array(): The array where the values...

Original commit message from CVS:
* libs/gst/controller/gstcontroller.c:
(gst_controller_get_value_array):
* libs/gst/controller/gstcontroller.h:
Clarify the docs of gst_controller_get_value_array(): The array where
the values should be written to must be allocated as there seems to be
no way to get the size of a random GType. This doesn't change any
behaviour. Also fix some typos all over the place and remove an unused,
commented function that is not necessary as g_object_set() could be
used instead.
* tests/check/libs/controller.c: (GST_START_TEST),
(gst_controller_suite):
Add unit test for gst_controller_get_value_array().

17 years agotests/check/gst/gstbuffer.c: Disable part of the gst_buffer_try_new_and_alloc test...
Jan Schmidt [Mon, 21 May 2007 14:50:51 +0000 (14:50 +0000)]
tests/check/gst/gstbuffer.c: Disable part of the gst_buffer_try_new_and_alloc test, because it can happily succeed on...

Original commit message from CVS:
* tests/check/gst/gstbuffer.c: (GST_START_TEST):
Disable part of the gst_buffer_try_new_and_alloc test, because
it can happily succeed on 64-bit systems where there's more address
space available.

17 years agotests/check/gst/gstpad.c: Add unit test for the improved caps checking from bug ...
Sebastian Dröge [Mon, 21 May 2007 12:05:56 +0000 (12:05 +0000)]
tests/check/gst/gstpad.c: Add unit test for the improved caps checking from bug #421543.

Original commit message from CVS:
* tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
Add unit test for the improved caps checking from bug #421543.

17 years agodocs/design/part-synchronisation.txt: Small addition.
Wim Taymans [Mon, 21 May 2007 12:05:14 +0000 (12:05 +0000)]
docs/design/part-synchronisation.txt: Small addition.

Original commit message from CVS:
* docs/design/part-synchronisation.txt:
Small addition.
* gst/gstbin.c: (gst_bin_query):
* plugins/elements/gstqueue.c: (apply_segment):
Improve debugging.
* gst/gstmessage.h:
Improve docs.

17 years agogst/gstpad.c: Added simple version of improved caps checking. It was previously assum...
Wim Taymans [Mon, 21 May 2007 12:00:42 +0000 (12:00 +0000)]
gst/gstpad.c: Added simple version of improved caps checking. It was previously assumed that a setcaps function would...

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_get_caps_unlocked),
(gst_pad_acceptcaps_default), (gst_pad_configure_sink),
(gst_pad_configure_src):
Added simple version of improved caps checking. It was previously
assumed that a setcaps function would check the validity of the caps but
people prefer us to check caps against the template automatically.
Fixes #421543.

17 years agolibs/gst/base/gstbasetransform.h: Fix macro for locking/unlocking the transform lock.
Wim Taymans [Mon, 21 May 2007 11:29:28 +0000 (11:29 +0000)]
libs/gst/base/gstbasetransform.h: Fix macro for locking/unlocking the transform lock.

Original commit message from CVS:
* libs/gst/base/gstbasetransform.h:
Fix macro for locking/unlocking the transform lock.

17 years agodocs/plugins/tmpl/.cvsignore: Ignore more.
Tim-Philipp Müller [Sat, 19 May 2007 13:53:23 +0000 (13:53 +0000)]
docs/plugins/tmpl/.cvsignore: Ignore more.

Original commit message from CVS:
* docs/plugins/tmpl/.cvsignore:
Ignore more.

17 years agoplugins/elements/gstqueue.c: Hello, I am Mr Taymans' personal debugger. Today I will...
Edward Hervey [Fri, 18 May 2007 16:53:18 +0000 (16:53 +0000)]
plugins/elements/gstqueue.c: Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix for the subtle a...

Original commit message from CVS:
* plugins/elements/gstqueue.c: (gst_queue_loop):
Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
for the subtle art of warning a potentially blocking thread that it
should check the source pad return value, and relay the information
upstream.

17 years agoplugins/elements/gstqueue.c: Release the queue lock !
Edward Hervey [Fri, 18 May 2007 11:20:33 +0000 (11:20 +0000)]
plugins/elements/gstqueue.c: Release the queue lock !

Original commit message from CVS:
* plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
Release the queue lock !

17 years agodocs/libs/gstreamer-libs-sections.txt: Add the two new controller functions to the...
Sebastian Dröge [Thu, 17 May 2007 17:55:48 +0000 (17:55 +0000)]
docs/libs/gstreamer-libs-sections.txt: Add the two new controller functions to the appropiate places.

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
Add the two new controller functions to the appropiate places.

17 years agolibs/gst/controller/: API: gst_controller_suggest_next_sync(), gst_object_suggest_nex...
Sebastian Dröge [Thu, 17 May 2007 17:37:58 +0000 (17:37 +0000)]
libs/gst/controller/: API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()

Original commit message from CVS:
reviewed by: Stefan Kost <ensonic@users.sf.net>
* libs/gst/controller/gstcontroller.c:
(gst_controller_suggest_next_sync), (gst_controller_sync_values),
(_gst_controller_get_property), (_gst_controller_set_property),
(_gst_controller_init), (_gst_controller_class_init):
* libs/gst/controller/gstcontroller.h:
* libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
(gst_object_get_control_rate), (gst_object_set_control_rate):
API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
Add API that provides sync suggestion timestamps for elements that
call gst_object_sync_values() from which those elements can subdivide
their processing loop to get the best results for the controlled
properties. For now it just suggests last_sync + control_rate as
new timestamp but this will be improved in the future.
While doing that change the control-rate property to a GstClockTime
from guint and change it's meaning from samples to nanoseconds as
the GstController doesn't know anything about sampling rate. Strictly
speaking this breaks ABI but as the control-rate property didn't do
anything in the past and as such couldn't be used this should be no
problem.

17 years agolibs/gst/controller/: Save last synced value from the list to continue searching...
Sebastian Dröge [Thu, 17 May 2007 17:16:09 +0000 (17:16 +0000)]
libs/gst/controller/: Save last synced value from the list to continue searching from there in future syncs. This spe...

Original commit message from CVS:
reviewed by: Stefan Kost <ensonic@users.sf.net>
* libs/gst/controller/gstcontroller.c: (gst_controller_unset),
(gst_controller_unset_all):
* libs/gst/controller/gstcontrollerprivate.h:
* libs/gst/controller/gstinterpolation.c:
(gst_controlled_property_find_control_point_node):
Save last synced value from the list to continue searching from there
in future syncs. This speeds everything up a bit.

17 years agolibs/gst/controller/: Add a new private GstControlPoint struct which "inherits" from
Sebastian Dröge [Thu, 17 May 2007 17:05:36 +0000 (17:05 +0000)]
libs/gst/controller/: Add a new private GstControlPoint struct which "inherits" from

Original commit message from CVS:
reviewed by: Stefan Kost <ensonic@users.sf.net>
* libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
(gst_control_point_find), (gst_controlled_property_new),
(gst_control_point_free), (gst_controlled_property_free),
(gst_controller_set), (gst_controller_set_from_list),
(gst_controller_unset), (gst_controller_unset_all),
(gst_controller_sync_values):
* libs/gst/controller/gstcontroller.h:
* libs/gst/controller/gstcontrollerprivate.h:
* libs/gst/controller/gstinterpolation.c:
(gst_controlled_property_find_control_point_node),
(interpolate_none_get), (interpolate_trigger_get):
Add a new private GstControlPoint struct which "inherits" from
GstTimedValue to allow different interpolators to store internal
values next to each control point. From the outside everything is
still a GstControlPoint so we don't loose binary compatibility.
Also fixup all the GValue handling to not leak GValues or list nodes.
* tests/check/libs/controller.c: (GST_START_TEST):
Free the list nodes and GValues in the controller_misc test.

17 years agogst/gstsegment.c: Small doc fix.
Edward Hervey [Thu, 17 May 2007 11:05:22 +0000 (11:05 +0000)]
gst/gstsegment.c: Small doc fix.

Original commit message from CVS:
* gst/gstsegment.c:
Small doc fix.

17 years agogst/gstplugin.c: If we fail to load a plugin because of unresolved symbols or missing...
Tim-Philipp Müller [Wed, 16 May 2007 19:35:46 +0000 (19:35 +0000)]
gst/gstplugin.c: If we fail to load a plugin because of unresolved symbols or missing libraries and spew a warning to...

Original commit message from CVS:
* gst/gstplugin.c: (gst_plugin_load_file):
If we fail to load a plugin because of unresolved symbols or missing
libraries and spew a warning to stderr, we may just as well mention
which plugin it was that failed to load.

17 years agodocs/Makefile.am: the gtk-doc makefile snippet correctly handles the case when ENABLE...
David Schleef [Sun, 13 May 2007 20:28:14 +0000 (20:28 +0000)]
docs/Makefile.am: the gtk-doc makefile snippet correctly handles the case when ENABLE_GTK_DOC is false, and installs ...

Original commit message from CVS:
* docs/Makefile.am: the gtk-doc makefile snippet correctly
handles the case when ENABLE_GTK_DOC is false, and installs
the prebuilt documentation.  So gtk-doc subdirs are
unconditionally enabled.  Fixes: #349099.

17 years agogst/gstutils.h: Reword some documentation.
David Schleef [Sun, 13 May 2007 20:11:27 +0000 (20:11 +0000)]
gst/gstutils.h: Reword some documentation.

Original commit message from CVS:
* gst/gstutils.h: Reword some documentation.

17 years agogst/gstplugin.c: gst_plugin_register_func() doesn't actually do anything with the...
David Schleef [Sun, 13 May 2007 00:20:35 +0000 (00:20 +0000)]
gst/gstplugin.c: gst_plugin_register_func() doesn't actually do anything with the passed "module" parameter, so remov...

Original commit message from CVS:
* gst/gstplugin.c: gst_plugin_register_func() doesn't actually
do anything with the passed "module" parameter, so remove it.
Allows removal of additional vestigal code.

17 years agogst/gstplugin.c: Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
David Schleef [Sun, 13 May 2007 00:09:00 +0000 (00:09 +0000)]
gst/gstplugin.c: Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.

Original commit message from CVS:
* gst/gstplugin.c:
Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
Switch to using g_stat() because it's more portable.

17 years agogst/gst.c: Add GST_DISABLE_OPTION_PARSING, in order to disable option parsing for...
David Schleef [Sat, 12 May 2007 23:53:08 +0000 (23:53 +0000)]
gst/gst.c: Add GST_DISABLE_OPTION_PARSING, in order to disable option parsing for embedded systems.

Original commit message from CVS:
* gst/gst.c:
Add GST_DISABLE_OPTION_PARSING, in order to disable option
parsing for embedded systems.
* gst/gstelementfactory.c:
Allow gst_element_register() to be called with plugin==NULL.
Did nobody notice that static elements were broken?

17 years agotools/gst-launch.c: Give more interesting info when buffering starts and stops.
Wim Taymans [Sat, 12 May 2007 15:38:02 +0000 (15:38 +0000)]
tools/gst-launch.c: Give more interesting info when buffering starts and stops.

Original commit message from CVS:
* tools/gst-launch.c: (event_loop):
Give more interesting info when buffering starts and stops.
Fix case where buffering starts but we fail to update the buffering flag
because the target state is not PLAYING.

17 years agoplugins/elements/gstqueue.*: Refactor an cleanup queue a bit.
Wim Taymans [Sat, 12 May 2007 15:35:40 +0000 (15:35 +0000)]
plugins/elements/gstqueue.*: Refactor an cleanup queue a bit.

Original commit message from CVS:
* plugins/elements/gstqueue.c: (gst_queue_init),
(gst_queue_finalize), (update_time_level), (apply_segment),
(apply_buffer), (gst_queue_locked_flush),
(gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
(gst_queue_handle_sink_event), (gst_queue_chain),
(gst_queue_push_one), (gst_queue_loop):
* plugins/elements/gstqueue.h:
Refactor an cleanup queue a bit.
Do better time level calculations that also work when the srcpad is not
yet running.
Remove some unneeded debug lines.
* tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
Added testcase for time level measurement.
Try to make some stuff more racefree.

17 years agogst/gsturi.c: Don't leak plugin feature.
Tim-Philipp Müller [Fri, 11 May 2007 14:46:10 +0000 (14:46 +0000)]
gst/gsturi.c: Don't leak plugin feature.

Original commit message from CVS:
* gst/gsturi.c: (gst_element_make_from_uri):
Don't leak plugin feature.
* tests/check/Makefile.am:
* tests/check/gst/.cvsignore:
* tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
Add brain-dead unit test.

17 years agogst/gsturi.c: Treat protocol strings in a case-insensitive way (#437563).
Jeroen Wouters [Fri, 11 May 2007 14:28:55 +0000 (14:28 +0000)]
gst/gsturi.c: Treat protocol strings in a case-insensitive way (#437563).

Original commit message from CVS:
Patch by: Jeroen Wouters <woutersj at gmail com>
* gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
Treat protocol strings in a case-insensitive way (#437563).

17 years agogst/: Don't print a g_warning for any failure to load a shared object.
Michael Smith [Fri, 11 May 2007 10:56:48 +0000 (10:56 +0000)]
gst/: Don't print a g_warning for any failure to load a shared object.

Original commit message from CVS:
* gst/gstplugin.c: (gst_plugin_load_file):
* gst/gstregistry.c: (gst_registry_scan_path_level):
Don't print a g_warning for any failure to load a shared object.
Instead, push this down into gstplugin.c, and warn _only_ if we
failed to open the module (i.e. failure to link).
Avoids warnings on normal, working, non-plugin .so files.

17 years agogst/gstplugin.c (gst_plugin_load_file): gst/gstregistry.c (GST_CAT_DEFAULT, gst_regis...
Stefan Kost [Fri, 11 May 2007 08:29:10 +0000 (08:29 +0000)]
gst/gstplugin.c (gst_plugin_load_file): gst/gstregistry.c (GST_CAT_DEFAULT, gst_registry_lookup_feature_locked, gst_r...

Original commit message from CVS:
* gst/gstplugin.c (gst_plugin_load_file):
* gst/gstregistry.c (GST_CAT_DEFAULT,
gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
Print a g_warning if there was an error when loading a plugins during
registry scan. The shuld help beginners starting with gst-plugin
template.

17 years agoplugins/elements/gstqueue.*: Be smarter when calculating the current amount of data...
Wim Taymans [Thu, 10 May 2007 15:21:20 +0000 (15:21 +0000)]
plugins/elements/gstqueue.*: Be smarter when calculating the current amount of data in the queue by measuring the dif...

Original commit message from CVS:
* plugins/elements/gstqueue.c: (gst_queue_class_init),
(update_time_level), (gst_queue_locked_flush),
(gst_queue_handle_sink_event), (gst_queue_chain),
(gst_queue_push_one), (gst_queue_loop):
* plugins/elements/gstqueue.h:
Be smarter when calculating the current amount of data in the queue by
measuring the difference between start and end timestamps (in running
time) inside the queue. Fixes #432876.
API: GstQueue::pushing to notify elements that we are pushing data again
since the running signal is rather broken for this purpose.

17 years agoplugins/elements/gstqueue.c (_do_init, gst_queue_signals, gst_queue_base_init, gst_qu...
Stefan Kost [Thu, 10 May 2007 12:40:12 +0000 (12:40 +0000)]
plugins/elements/gstqueue.c (_do_init, gst_queue_signals, gst_queue_base_init, gst_queue_init): use GST_BOILERPLATE

Original commit message from CVS:
* plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
gst_queue_base_init, gst_queue_init):
use GST_BOILERPLATE

17 years agowin32/common/libgstreamer.def: Add new exported functions.
Sébastien Moutte [Wed, 9 May 2007 21:06:06 +0000 (21:06 +0000)]
win32/common/libgstreamer.def: Add new exported functions.

Original commit message from CVS:
* win32/common/libgstreamer.def:
Add new exported functions.
* win32/vs6/grammar.dsp:
Use grammar pre-generated files.

17 years agogst/: Maintain API and ABI when --disable-parse is used. Now that we have an appropri...
Peter Kjellerstedt [Wed, 9 May 2007 16:32:07 +0000 (16:32 +0000)]
gst/: Maintain API and ABI when --disable-parse is used. Now that we have an appropriate error code, we can just retu...

Original commit message from CVS:
Based on patch by: Peter Kjellerstedt  <pkj at axis com>
* gst/Makefile.am:
* gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
* gst/gstparse.h:
* gst/gstutils.c: (gst_parse_bin_from_description):
* gst/gstutils.h:
Maintain API and ABI when --disable-parse is used. Now that
we have an appropriate error code, we can just return NULL and the
appropriate error when gst_parse_launch() is used despite it having
been disabled (#342564).
* tests/check/Makefile.am:
* tests/check/pipelines/.cvsignore:
* tests/check/pipelines/parse-disabled.c:
Make sure these functions exist and return NULL plus a GError when
--disable-parse is used.

17 years agotests/benchmarks/: Set a good example and don't leak messages.
Tim-Philipp Müller [Wed, 9 May 2007 10:01:35 +0000 (10:01 +0000)]
tests/benchmarks/: Set a good example and don't leak messages.

Original commit message from CVS:
* tests/benchmarks/complexity.c: (main):
* tests/benchmarks/mass-elements.c: (main):
Set a good example and don't leak messages.

17 years agodocs/: Correct fixxrefs options.
Stefan Kost [Sun, 6 May 2007 18:27:25 +0000 (18:27 +0000)]
docs/: Correct fixxrefs options.

Original commit message from CVS:
* docs/gst/Makefile.am:
* docs/libs/Makefile.am:
Correct fixxrefs options.
* docs/plugins/Makefile.am:
* docs/plugins/gstreamer-plugins-docs.sgml:
* docs/plugins/gstreamer-plugins-sections.txt:
* plugins/elements/Makefile.am:
* plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
* plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
_GstCapsFilterClass, trans_class):
* plugins/elements/gstelements.c (name, rank, type, _elements):
* plugins/elements/gstidentity.c
(gst_identity_check_imperfect_timestamp,
gst_identity_check_imperfect_offset):
Document capsfilter and add doc-blurb to identity.

17 years agolibs/gst/controller/: Don't crash if someone tries to set an interpolation mode that...
Tim-Philipp Müller [Fri, 4 May 2007 12:37:01 +0000 (12:37 +0000)]
libs/gst/controller/: Don't crash if someone tries to set an interpolation mode that is invalid or that isn't support...

Original commit message from CVS:
* libs/gst/controller/gstcontroller.c:
(gst_controlled_property_set_interpolation_mode):
* libs/gst/controller/gstinterpolation.c:
Don't crash if someone tries to set an interpolation mode that
is invalid or that isn't supported yet. Fixes #422295.
* tests/check/libs/controller.c: (GST_START_TEST),
(gst_controller_suite):
Add a test case for the above.

17 years agolibs/gst/base/gstbasetransform.c: Properly set the last_stop position on GstSegment...
Edward Hervey [Thu, 3 May 2007 16:44:34 +0000 (16:44 +0000)]
libs/gst/base/gstbasetransform.c: Properly set the last_stop position on GstSegment. This will only happen if there i...

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
Properly set the last_stop position on GstSegment. This will only happen
if there is a buffer to push out.

17 years agolibs/gst/base/gstbasetransform.c: always_in_place does not mean that the sink and...
Wim Taymans [Thu, 3 May 2007 14:58:05 +0000 (14:58 +0000)]
libs/gst/base/gstbasetransform.c: always_in_place does not mean that the sink and source caps are the same! Make sure...

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_buffer_alloc):
always_in_place does not mean that the sink and source caps are the
same! Make sure we don't blindly proxy the buffer_alloc in this case.

17 years agoAPI: gst_base_src_query_latency(). Added method so that subclasses can easily get...
Wim Taymans [Thu, 3 May 2007 14:54:34 +0000 (14:54 +0000)]
API: gst_base_src_query_latency(). Added method so that subclasses can easily get the latency values of the base sour...

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
(gst_base_src_default_query), (gst_base_src_get_range):
* libs/gst/base/gstbasesrc.h:
API: gst_base_src_query_latency(). Added method so that subclasses can
easily get the latency values of the base source class.

17 years agotools/gst-inspect.c (print_implementation_info): Remove 0.8 cruft.
Zaheer Abbas Merali [Thu, 3 May 2007 09:24:58 +0000 (09:24 +0000)]
tools/gst-inspect.c (print_implementation_info): Remove 0.8 cruft.

Original commit message from CVS:
* tools/gst-inspect.c (print_implementation_info):
Remove 0.8 cruft.

17 years agotools/: Don't create a customised man page based on the host architecture, describe...
Tim-Philipp Müller [Wed, 2 May 2007 17:09:30 +0000 (17:09 +0000)]
tools/: Don't create a customised man page based on the host architecture, describe the default registry path generic...

Original commit message from CVS:
* tools/Makefile.am:
* tools/gst-launch.1.in:
Don't create a customised man page based on the host architecture,
describe the default registry path generically. That way the man
page is the same for all architectures and packagers have one
multilib issue less to deal with. Fixes #434926.

17 years agogst/gstpad.c: Fix documentation as spotted by rg on IRC.
Wim Taymans [Wed, 2 May 2007 15:14:32 +0000 (15:14 +0000)]
gst/gstpad.c: Fix documentation as spotted by rg on IRC.

Original commit message from CVS:
* gst/gstpad.c:
Fix documentation as spotted by rg on IRC.

17 years agogst/gstutils.c: Improve docs for gst_element_{link,unlink}.
Stefan Kost [Sun, 29 Apr 2007 17:36:18 +0000 (17:36 +0000)]
gst/gstutils.c: Improve docs for gst_element_{link,unlink}.

Original commit message from CVS:
* gst/gstutils.c:
Improve docs for gst_element_{link,unlink}.

17 years agoupdate README
Thomas Vander Stichele [Sun, 29 Apr 2007 14:04:26 +0000 (14:04 +0000)]
update README

Original commit message from CVS:
update README

17 years agoTypo fixes; minor docs addition.
Tim-Philipp Müller [Sat, 28 Apr 2007 11:29:54 +0000 (11:29 +0000)]
Typo fixes; minor docs addition.

Original commit message from CVS:
* docs/design/part-events.txt:
* docs/design/part-overview.txt:
* gst/gstevent.c:
* gst/gsturi.c:
* gst/gsturi.h:
* libs/gst/base/gstbasesink.c:
Typo fixes; minor docs addition.

17 years agoAPI: Add gst_uri_protocol_is_supported(), which checks if an sink or src that support...
Sebastian Dröge [Fri, 27 Apr 2007 08:30:59 +0000 (08:30 +0000)]
API: Add gst_uri_protocol_is_supported(), which checks if an sink or src that supports a given URI protocol exists.

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsturi.c: (get_element_factories_from_uri_protocol),
(gst_uri_protocol_is_supported), (gst_element_make_from_uri):
* gst/gsturi.h:
API: Add gst_uri_protocol_is_supported(), which checks if an sink
or src that supports a given URI protocol exists.

17 years agoplugins/elements/: Set the location to NULL if "file://" is set as URI. Otherwise...
Sebastian Dröge [Fri, 27 Apr 2007 07:34:10 +0000 (07:34 +0000)]
plugins/elements/: Set the location to NULL if "file://" is set as URI. Otherwise some random previous URI would stil...

Original commit message from CVS:
* plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
* plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
Set the location to NULL if "file://" is set as URI. Otherwise
some random previous URI would still be set if "file://" is
set on an already used filesink/filesrc.

17 years agoplugins/elements/: Special case the "file://" URI as as this is used by some applicat...
Sebastian Dröge [Fri, 27 Apr 2007 07:27:36 +0000 (07:27 +0000)]
plugins/elements/: Special case the "file://" URI as as this is used by some applications to test with gst_element_ma...

Original commit message from CVS:
* plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
* plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
Special case the "file://" URI as as this is used by some
applications to test with gst_element_make_from_uri if there's
an element that supports the URI protocol.
Also move the g_path_is_absolute() check for the location part
of the URI to also check this for "file://localhost/bla" URIs.

17 years agoAPI: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
Tim-Philipp Müller [Thu, 26 Apr 2007 10:00:49 +0000 (10:00 +0000)]
API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
* gst/gstbuffer.h:
* tests/check/gst/gstbuffer.c: (GST_START_TEST),
(gst_buffer_suite):
API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).

17 years agogst/gstregistrybinary.*: Implement no-mmap alternative for registry reading. Do code...
Stefan Kost [Thu, 26 Apr 2007 07:32:08 +0000 (07:32 +0000)]
gst/gstregistrybinary.*: Implement no-mmap alternative for registry reading. Do code cleanups.

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
(gst_registry_binary_load_pad_template),
(gst_registry_binary_load_plugin),
(gst_registry_binary_read_cache):
* gst/gstregistrybinary.h:
Implement no-mmap alternative for registry reading. Do code cleanups.
Add more comments about avoiding strdups for all text data. Comments
welcome.

17 years agogst/gstregistrybinary.h (GstBinaryPluginElement,
Stefan Kost [Wed, 25 Apr 2007 12:30:27 +0000 (12:30 +0000)]
gst/gstregistrybinary.h (GstBinaryPluginElement,

Original commit message from CVS:
* gst/gstregistrybinary.h (GstBinaryPluginElement,
GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
Comment structs and reformat to fix the build (that stuff should go
into a priv. header).

17 years agogst/gstregistrybinary.*: Refactor so that we can implement multiple features. Add...
Stefan Kost [Wed, 25 Apr 2007 11:44:29 +0000 (11:44 +0000)]
gst/gstregistrybinary.*: Refactor so that we can implement multiple features. Add support for

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
(gst_registry_binary_load_feature):
* gst/gstregistrybinary.h:
Refactor so that we can implement multiple features. Add support for
TypeFindFactory features.

17 years agoconfigure.ac: Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
Peter Kjellerstedt [Tue, 24 Apr 2007 06:14:35 +0000 (06:14 +0000)]
configure.ac: Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.

Original commit message from CVS:
Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
* configure.ac:
Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.

17 years agogst/gstbin.c: Fix build with --gst-disable-gst-debug
Stefan Kost [Mon, 23 Apr 2007 07:30:38 +0000 (07:30 +0000)]
gst/gstbin.c: Fix build with --gst-disable-gst-debug

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_element_set_state),
(iterator_activate_fold_with_resync), (gst_bin_continue_func),
(bin_handle_async_done), (gst_bin_handle_message_func):
Fix build with --gst-disable-gst-debug

17 years agolibs/gst/base/gstbasetransform.c: Make sure streaming has finished before calling...
Tim-Philipp Müller [Sat, 21 Apr 2007 13:27:16 +0000 (13:27 +0000)]
libs/gst/base/gstbasetransform.c: Make sure streaming has finished before calling the ::stop() vfunc, since that vfun...

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
Make sure streaming has finished before calling the ::stop() vfunc,
since that vfunc might clear state which is being used in the
streaming thread. This fixes a race that caused crashes in
audioresample when shutting down a pipeline (#420106).