glsdk/gstreamer0-10.git
14 years agoupdate MAINTAINERS file to reflect current realities better
Christian Schaller [Thu, 21 Jun 2007 18:00:58 +0000 (18:00 +0000)]
update MAINTAINERS file to reflect current realities better

Original commit message from CVS:
update MAINTAINERS file to reflect current realities better

14 years agoBeef up and include the docs for gst_type_register_static_full and gst_element_class_...
Jan Schmidt [Thu, 21 Jun 2007 16:39:01 +0000 (16:39 +0000)]
Beef up and include the docs for gst_type_register_static_full and gst_element_class_set_details_simple and add the A...

Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstelement.c:
* gst/gstutils.c: (gst_type_register_static_full):
Beef up and include the docs for gst_type_register_static_full and
gst_element_class_set_details_simple and add the API keyword
in the ChangeLog.

14 years agoplugins/elements/gstmultiqueue.c: Fix setting max-* properties after adding queues.
Wim Taymans [Thu, 21 Jun 2007 14:35:03 +0000 (14:35 +0000)]
plugins/elements/gstmultiqueue.c: Fix setting max-* properties after adding queues.

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
(update_time_level), (gst_single_queue_push_one),
(gst_multi_queue_chain), (gst_multi_queue_sink_event),
(single_queue_overrun_cb), (single_queue_underrun_cb),
(single_queue_check_full):
Fix setting max-* properties after adding queues.
Use IS_FILLED for checking visible items.
Signal overrun if multiple queues overrun.
Add extra debug output.
Patch by: Wim Taymans <wim@fluendo.com>

14 years agoSaving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
Stefan Kost [Thu, 21 Jun 2007 14:29:05 +0000 (14:29 +0000)]
Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.

Original commit message from CVS:
* gst/gstelement.c: (gst_element_class_set_details_simple):
* gst/gstelement.h:
* gst/gstutils.c: (gst_type_register_static_full):
* gst/gstutils.h:
* plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
* plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
* plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
* plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
* plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
* plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
* plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
* plugins/elements/gstidentity.c: (gst_identity_base_init):
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
* plugins/elements/gstqueue.c: (gst_queue_base_init),
(apply_buffer), (gst_queue_chain):
* plugins/elements/gsttee.c: (gst_tee_base_init):
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_base_init),
(gst_type_find_element_class_init):
Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.

14 years agodocs/pwg/advanced-types.xml: Fix typo in iana.org URI.
Tim-Philipp Müller [Thu, 21 Jun 2007 09:46:02 +0000 (09:46 +0000)]
docs/pwg/advanced-types.xml: Fix typo in iana.org URI.

Original commit message from CVS:
* docs/pwg/advanced-types.xml:
Fix typo in iana.org URI.

14 years agotests/check/pipelines/simple-launch-lines.c
Andy Wingo [Tue, 19 Jun 2007 21:58:30 +0000 (21:58 +0000)]
tests/check/pipelines/simple-launch-lines.c

Original commit message from CVS:
2007-06-19  Andy Wingo  <wingo@pobox.com>

* tests/check/pipelines/simple-launch-lines.c
(test_state_change_returns): Enable pull-mode tests now that
basesink has been fixed.

* libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
Changed from gst_base_sink_is_prerolled, reversing the sense of
the return value. Returns FALSE also if the sink is in pull mode,
in which case it needs no preroll.
(gst_base_sink_query, gst_base_sink_change_state): Update for
needs_preroll change.
(gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
chaining up, in which we return SUCCESS directly if we activated
in pull mode instead of ASYNC. Involves countering an async_start
message sent before chaining up; not sure if this is correct, in
an ideal world we only send async-start when activating in push
mode.

14 years agotests/check/pipelines/simple-launch-lines.c
Andy Wingo [Tue, 19 Jun 2007 21:28:54 +0000 (21:28 +0000)]
tests/check/pipelines/simple-launch-lines.c

Original commit message from CVS:
2007-06-19  Andy Wingo  <wingo@pobox.com>

* tests/check/pipelines/simple-launch-lines.c
(test_state_change_returns): New test, partially disabled until
basesink is fixed.

14 years agoplugins/elements/gstmultiqueue.c: Fix event leak.
Wim Taymans [Tue, 19 Jun 2007 16:05:11 +0000 (16:05 +0000)]
plugins/elements/gstmultiqueue.c: Fix event leak.

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (apply_buffer),
(gst_multi_queue_sink_event):
Fix event leak.

14 years agogst/gstbin.c: Move the common code for posting state-change messages into one function.
Wim Taymans [Tue, 19 Jun 2007 10:41:33 +0000 (10:41 +0000)]
gst/gstbin.c: Move the common code for posting state-change messages into one function.

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
(gst_bin_change_state_func), (bin_push_state_continue),
(bin_handle_async_start), (bin_handle_async_done),
(gst_bin_handle_message_func):
Move the common code for posting state-change messages into
one function.
Broadcast the state signal after we posted the messages.
Mark the bin as busy when it's doing a state-change.
Make sure async-start/done messages don't interfere with the bin's
state when it's busy.
After the state change, let the bin check which elements completed the
state change while it was busy so that it can update its state.

14 years agodocs/random/release: Add a note about updating the doap file to the release checklist
Jan Schmidt [Tue, 19 Jun 2007 10:38:39 +0000 (10:38 +0000)]
docs/random/release: Add a note about updating the doap file to the release checklist

Original commit message from CVS:
* docs/random/release:
Add a note about updating the doap file to the release checklist

14 years agoplugins/elements/gstmultiqueue.c: Make sure we don't reference the buffer/event after...
Wim Taymans [Mon, 18 Jun 2007 16:44:07 +0000 (16:44 +0000)]
plugins/elements/gstmultiqueue.c: Make sure we don't reference the buffer/event after we have given away ownership in...

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (apply_buffer),
(gst_single_queue_push_one), (gst_multi_queue_chain),
(gst_multi_queue_sink_event):
Make sure we don't reference the buffer/event after we have given away
ownership in the queue.

14 years agoplugins/elements/gstmultiqueue.c: Update queue state _after_ adding the item in the...
Wim Taymans [Mon, 18 Jun 2007 15:15:32 +0000 (15:15 +0000)]
plugins/elements/gstmultiqueue.c: Update queue state _after_ adding the item in the queue because else we could end u...

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
(gst_multi_queue_chain), (gst_multi_queue_sink_event):
Update queue state _after_ adding the item in the queue because else we
could end up being full without the element added yet.

14 years agogst/gstbin.*: Immediatly commit the toplevel bin state when receiving an async-done...
Wim Taymans [Mon, 18 Jun 2007 15:12:28 +0000 (15:12 +0000)]
gst/gstbin.*: Immediatly commit the toplevel bin state when receiving an async-done message. This enables us to avoid...

Original commit message from CVS:
* gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
(gst_bin_remove_func), (gst_bin_get_state_func),
(gst_bin_element_set_state), (gst_bin_continue_func),
(bin_push_state_continue), (bin_handle_async_start),
(bin_handle_async_done), (gst_bin_handle_message_func):
* gst/gstbin.h:
Immediatly commit the toplevel bin state when receiving an async-done
message. This enables us to avoid spawning a thread to commit the state
in some common cases and it also avoids some races.
Avoid spawning a state thread when adding/removing async elements to a
toplevel bin. Instead we immediatly update the bin state.
Get rid of iterating all the children when getting the state in the bin
because it is now always up-to-date.
Fix bug where locked elements would always return _SUCCESS even it they
returned NO_PREROLL before being locked.
Fix the order of the state_change, async-start/done messages that was
sometimes incorrect.
Mark the state_dirty field as deprecated, we don't need it anymore as we
are always up-to-date.
* gst/gstelement.c: (gst_element_get_state_func),
(gst_element_continue_state):
Small debug inprovements.
Return the previous element state return when nothing is pending instead
of blindly returning SUCCESS.
* tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
(gst_sinks_suite):
Add a whole bunch of new testcases.

14 years agopo/: Update translations.
Thomas Vander Stichele [Sun, 17 Jun 2007 17:26:48 +0000 (17:26 +0000)]
po/: Update translations.

Original commit message from CVS:
* po/uk.po:
* po/vi.po:
Update translations.

14 years agogst/gstpad.c: Fix typo in the docs.
Jan Schmidt [Fri, 15 Jun 2007 14:37:28 +0000 (14:37 +0000)]
gst/gstpad.c: Fix typo in the docs.

Original commit message from CVS:
* gst/gstpad.c:
Fix typo in the docs.

14 years agodocs/libs/gstreamer-libs-sections.txt: Add docs for new methods.
Wim Taymans [Fri, 15 Jun 2007 11:49:24 +0000 (11:49 +0000)]
docs/libs/gstreamer-libs-sections.txt: Add docs for new methods.

Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
Add docs for new methods.

14 years agoplugins/elements/gstmultiqueue.c: Don't use GSlice because we don't depend on >=...
Wim Taymans [Fri, 15 Jun 2007 11:35:22 +0000 (11:35 +0000)]
plugins/elements/gstmultiqueue.c: Don't use GSlice because we don't depend on >= 2.10 yet.

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
(gst_multi_queue_item_new):
Don't use GSlice because we don't depend on >= 2.10 yet.

14 years agoplugins/elements/gstmultiqueue.c: Remove debug printf.
Wim Taymans [Fri, 15 Jun 2007 11:09:38 +0000 (11:09 +0000)]
plugins/elements/gstmultiqueue.c: Remove debug printf.

Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
(update_time_level), (apply_segment), (apply_buffer),
(gst_single_queue_push_one), (gst_multi_queue_item_new),
(gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
(gst_multi_queue_sink_event), (single_queue_overrun_cb),
(single_queue_underrun_cb), (single_queue_check_full):
Remove debug printf.

14 years agolibs/gst/base/gstdataqueue.*: Various cleanups.
Wim Taymans [Fri, 15 Jun 2007 11:00:32 +0000 (11:00 +0000)]
libs/gst/base/gstdataqueue.*: Various cleanups.

Original commit message from CVS:
* libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
(gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
(gst_data_queue_set_flushing), (gst_data_queue_push),
(gst_data_queue_pop), (gst_data_queue_drop_head),
(gst_data_queue_limits_changed), (gst_data_queue_get_level):
* libs/gst/base/gstdataqueue.h:
Various cleanups.
Added methods to get the current levels and to inform the queue that the
'full' limits changed.
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
(gst_multi_queue_finalize), (gst_multi_queue_set_property),
(gst_single_queue_flush), (update_time_level), (apply_segment),
(apply_buffer), (gst_single_queue_push_one),
(gst_multi_queue_item_steal_object),
(gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
(gst_multi_queue_loop), (gst_multi_queue_chain),
(gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
(gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
(gst_multi_queue_src_query), (single_queue_overrun_cb),
(single_queue_underrun_cb), (single_queue_check_full),
(gst_single_queue_new):
Keep track of time in the queue by measuring the difference between
running_time on input and output. This gives more accurate results and
can compensate for segments correctly.
Make a queue by default only 5 buffers deep. We will now increase the
buffer size depending on the filledness of the other queues.
Factor out commong flush code.
Make sure we don't add additional refcounts to buffers when we can avoid
it.
Propagate GstFlowReturn differently.
Use GSlice for intermediate GstMultiQueueItems.
Keep track of EOS.
Resize queues on over and underruns based on filled level of other
queues.
When checking if the queue is filled, prefer to measure in time if we
can and fall back to bytes when no time is known.
* plugins/elements/gstqueue.c:
Fix return value.

14 years agolibs/gst/base/gstbasetransform.c: Work around the brokenness of the event vmethod...
Wim Taymans [Fri, 15 Jun 2007 10:48:19 +0000 (10:48 +0000)]
libs/gst/base/gstbasetransform.c: Work around the brokenness of the event vmethod in basetransform. Prefer to return ...

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_sink_event):
Work around the brokenness of the event vmethod in basetransform. Prefer
to return TRUE when the subclass returned FALSE (meaning don't forward
the event).
* libs/gst/base/gstbasetransform.h:
Clarify the docs.

14 years agoImprove debugging.
Wim Taymans [Fri, 15 Jun 2007 10:43:51 +0000 (10:43 +0000)]
Improve debugging.

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
* libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
(gst_base_src_default_query), (gst_base_src_get_range),
(gst_base_src_start):
* tests/check/pipelines/parse-launch.c: (setup_pipeline):
Improve debugging.

14 years agodocs/pwg/advanced-types.xml: Added more formats to caps table.
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.

14 years agotools/gst-launch.c: Remove crufy code. GOption does not need this workaround.
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.

14 years agolibs/gst/controller/gstcontroller.c: Fix wrong getter for enums in controller.
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.

14 years agolibs/gst/check/gstcheck.c: Intercept criticals and warnings in the Gst-Phonon log...
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.

14 years agogst/gstparamspecs.c: Since this file doesn't include "gst.h" it will not go through...
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.

14 years agoUgly 'fix' for the controller unit test on the p5 bot: in fail_unless_equals_float...
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.

14 years agolibs/gst/base/gstbasesink.c: Add two breaks thats where missing.
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.

14 years agoAPI: add fail_unless_equals_float() and assert_equals_float().
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.

14 years agogst/gstpad.c: Show the caps change in the log to help spotting the case of not exactl...
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.

14 years agodocs/pwg/building-boiler.xml: Fix typos, spotted by Thijs Vermeir (#447190).
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).

14 years agodocs/plugins/tmpl/.cvsignore: Ignore file to keep the buildbots happy
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

14 years agodocs/plugins/: Pull fdsink into the docs too.
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.

14 years agolibs/gst/controller/gstinterpolation.c: Actually use the new functions with min/max...
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.

14 years agolibs/gst/controller/gstcontroller.c: Unset the minimum and maximum GValues when freei...
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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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).

14 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.

14 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

14 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.

14 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

14 years agoRelease 0.10.13 "With or without you"
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"

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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).

14 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

14 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

14 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.

14 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.

14 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.

14 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().

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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 !

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.