Stefan Kost [Fri, 15 Jun 2007 07:27:00 +0000 (07:27 +0000)]
docs/pwg/advanced-types.xml: Added more formats to caps table.
Original commit message from CVS:
* docs/pwg/advanced-types.xml:
Added more formats to caps table.
Stefan Kost [Fri, 15 Jun 2007 07:02:04 +0000 (07:02 +0000)]
tools/gst-launch.c: Remove crufy code. GOption does not need this workaround.
Original commit message from CVS:
* tools/gst-launch.c: (main):
Remove crufy code. GOption does not need this workaround.
Stefan Kost [Thu, 14 Jun 2007 20:29:09 +0000 (20:29 +0000)]
libs/gst/controller/gstcontroller.c: Fix wrong getter for enums in controller.
Original commit message from CVS:
* libs/gst/controller/gstcontroller.c:
(gst_controlled_property_set_interpolation_mode):
Fix wrong getter for enums in controller.
Tim-Philipp Müller [Thu, 14 Jun 2007 17:36:19 +0000 (17:36 +0000)]
libs/gst/check/gstcheck.c: Intercept criticals and warnings in the Gst-Phonon log domain, so
Original commit message from CVS:
* libs/gst/check/gstcheck.c: (gst_check_init):
Intercept criticals and warnings in the Gst-Phonon log domain, so
ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
well.
Edward Hervey [Thu, 14 Jun 2007 16:07:09 +0000 (16:07 +0000)]
gst/gstparamspecs.c: Since this file doesn't include "gst.h" it will not go through the macros that disable GST_LOG i...
Original commit message from CVS:
* gst/gstparamspecs.c: (_gst_param_fraction_validate):
Since this file doesn't include "gst.h" it will not go through the
macros that disable GST_LOG if debugging was disabled.
Tim-Philipp Müller [Thu, 14 Jun 2007 15:56:03 +0000 (15:56 +0000)]
Ugly 'fix' for the controller unit test on the p5 bot: in fail_unless_equals_float() check whether the values are 'al...
Original commit message from CVS:
* libs/gst/check/Makefile.am:
* libs/gst/check/gstcheck.h:
* pkgconfig/gstreamer-check-uninstalled.pc.in:
* pkgconfig/gstreamer-check.pc.in:
Ugly 'fix' for the controller unit test on the p5 bot: in
fail_unless_equals_float() check whether the values are 'almost
equal' by allowing a small absolute error, which should be good
enough for our use cases (normal numbers and values close to 0).
Proper fixage left to floating point arithmetic aficionados.
Stefan Kost [Thu, 14 Jun 2007 12:03:44 +0000 (12:03 +0000)]
libs/gst/base/gstbasesink.c: Add two breaks thats where missing.
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
(gst_base_sink_render_object), (gst_base_sink_get_position):
Add two breaks thats where missing.
Tim-Philipp Müller [Thu, 14 Jun 2007 11:56:44 +0000 (11:56 +0000)]
API: add fail_unless_equals_float() and assert_equals_float().
Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/check/gstcheck.h:
API: add fail_unless_equals_float() and assert_equals_float().
Add documentation for some of the macros.
* tests/check/libs/controller.c: (GST_START_TEST):
Use newly-added asserts.
Stefan Kost [Thu, 14 Jun 2007 10:33:28 +0000 (10:33 +0000)]
gst/gstpad.c: Show the caps change in the log to help spotting the case of not exactly matching caps.
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
Show the caps change in the log to help spotting the case of not
exactly matching caps.
Tim-Philipp Müller [Thu, 14 Jun 2007 08:52:51 +0000 (08:52 +0000)]
docs/pwg/building-boiler.xml: Fix typos, spotted by Thijs Vermeir (#447190).
Original commit message from CVS:
* docs/pwg/building-boiler.xml:
Fix typos, spotted by Thijs Vermeir (#447190).
Jan Schmidt [Wed, 13 Jun 2007 16:15:23 +0000 (16:15 +0000)]
docs/plugins/tmpl/.cvsignore: Ignore file to keep the buildbots happy
Original commit message from CVS:
* docs/plugins/tmpl/.cvsignore:
Ignore file to keep the buildbots happy
Jan Schmidt [Wed, 13 Jun 2007 15:39:53 +0000 (15:39 +0000)]
docs/plugins/: Pull fdsink into the docs too.
Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gstreamer-plugins-docs.sgml:
* docs/plugins/gstreamer-plugins-sections.txt:
Pull fdsink into the docs too.
Sebastian Dröge [Mon, 11 Jun 2007 07:14:53 +0000 (07:14 +0000)]
libs/gst/controller/gstinterpolation.c: Actually use the new functions with min/max checks for the trigger and none i...
Original commit message from CVS:
* libs/gst/controller/gstinterpolation.c:
Actually use the new functions with min/max checks for the trigger and
none interpolation modes for get() and get_value_array() instead of
just the latter.
Sebastian Dröge [Sun, 10 Jun 2007 12:38:11 +0000 (12:38 +0000)]
libs/gst/controller/gstcontroller.c: Unset the minimum and maximum GValues when freeing the corresponding
Original commit message from CVS:
* libs/gst/controller/gstcontroller.c:
(gst_controlled_property_free):
Unset the minimum and maximum GValues when freeing the corresponding
GstControllerProperty struct.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
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
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.
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
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"
Jan Schmidt [Tue, 5 Jun 2007 12:06:44 +0000 (12:06 +0000)]
Update .po files
Original commit message from CVS:
Update .po files
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
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
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
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
Thomas Vander Stichele [Tue, 29 May 2007 11:52:28 +0000 (11:52 +0000)]
test commit
Original commit message from CVS:
test commit
Thomas Vander Stichele [Tue, 29 May 2007 11:40:36 +0000 (11:40 +0000)]
test commit
Original commit message from CVS:
test commit
Thomas Vander Stichele [Tue, 29 May 2007 11:00:14 +0000 (11:00 +0000)]
test commit
Original commit message from CVS:
test commit
Thomas Vander Stichele [Tue, 29 May 2007 10:43:23 +0000 (10:43 +0000)]
test commit
Original commit message from CVS:
test commit
Thomas Vander Stichele [Tue, 29 May 2007 10:35:40 +0000 (10:35 +0000)]
test commit
Original commit message from CVS:
test commit
Thomas Vander Stichele [Tue, 29 May 2007 10:34:15 +0000 (10:34 +0000)]
test commit
Original commit message from CVS:
test commit
Thomas Vander Stichele [Tue, 29 May 2007 10:20:12 +0000 (10:20 +0000)]
test commit
Original commit message from CVS:
test commit
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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
Thomas Vander Stichele [Tue, 22 May 2007 10:21:31 +0000 (10:21 +0000)]
add quote
Original commit message from CVS:
add quote
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.
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.
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.
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().
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.
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.
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.
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.
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.
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.
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.
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 !
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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?
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.
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.
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.
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).
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.
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.
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.
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
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.