1. 11 Jun, 2007 1 commit
    • Sebastian Dröge's avatar
      libs/gst/controller/gstinterpolation.c: Actually use the new functions with... · ca502169
      Sebastian Dröge authored
      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.
      ca502169
  2. 10 Jun, 2007 1 commit
  3. 09 Jun, 2007 1 commit
    • Sebastian Dröge's avatar
      libs/gst/controller/: Protect against values larger or smaller than the... · bdcc0329
      Sebastian Dröge authored
      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.
      bdcc0329
  4. 08 Jun, 2007 2 commits
  5. 07 Jun, 2007 7 commits
  6. 06 Jun, 2007 5 commits
    • Tim-Philipp Müller's avatar
      Fix multiqueue leaking buffers and events when downstream or the queue are... · 2a3d26e6
      Tim-Philipp Müller authored
      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.
      2a3d26e6
    • Sebastian Dröge's avatar
      libs/gst/controller/gstcontroller.c: Clarify docs: The get_all,... · 7b9fb550
      Sebastian Dröge authored
      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.
      7b9fb550
    • Sebastian Dröge's avatar
      libs/gst/controller/: Factor out the 'set' logic into... · c478fb48
      Sebastian Dröge authored
      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.
      c478fb48
    • Tim-Philipp Müller's avatar
      gst/gstparamspecs.c: Don't use GLib-2.10 functions, we still depend on · ce5a8535
      Tim-Philipp Müller authored
      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.
      ce5a8535
    • Tim-Philipp Müller's avatar
      API: add GstParamSpecFraction, so elements can have fraction properties... · 505f3889
      Tim-Philipp Müller authored
      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).
      505f3889
  7. 05 Jun, 2007 6 commits
  8. 29 May, 2007 11 commits
  9. 25 May, 2007 2 commits
    • Wim Taymans's avatar
      gst/gstbin.c: Make sure that the child bin stops after completing the async... · 6892e94e
      Wim Taymans authored
      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.
      6892e94e
    • Wim Taymans's avatar
      libs/gst/base/gstcollectpads.c: Use additional refcounting to avoid crashes... · c0d4e1a1
      Wim Taymans authored
      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.
      c0d4e1a1
  10. 24 May, 2007 4 commits