1. 14 Jun, 2007 6 commits
    • Edward Hervey's avatar
      gst/gstparamspecs.c: Since this file doesn't include "gst.h" it will not go... · 032bd4cb
      Edward Hervey authored
      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.
      032bd4cb
    • Tim-Philipp Müller's avatar
      Ugly 'fix' for the controller unit test on the p5 bot: in... · 3ee7f4c8
      Tim-Philipp Müller authored
      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.
      3ee7f4c8
    • Stefan Kost's avatar
      libs/gst/base/gstbasesink.c: Add two breaks thats where missing. · 86e39996
      Stefan Kost authored
      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.
      86e39996
    • Tim-Philipp Müller's avatar
      API: add fail_unless_equals_float() and assert_equals_float(). · 9dc96028
      Tim-Philipp Müller authored
      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.
      9dc96028
    • Stefan Kost's avatar
      gst/gstpad.c: Show the caps change in the log to help spotting the case of not... · 239d09ec
      Stefan Kost authored
      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.
      239d09ec
    • Tim-Philipp Müller's avatar
      docs/pwg/building-boiler.xml: Fix typos, spotted by Thijs Vermeir (#447190). · 1b343395
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * docs/pwg/building-boiler.xml:
      Fix typos, spotted by Thijs Vermeir (#447190).
      1b343395
  2. 13 Jun, 2007 2 commits
  3. 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
  4. 10 Jun, 2007 1 commit
  5. 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
  6. 08 Jun, 2007 2 commits
  7. 07 Jun, 2007 7 commits
  8. 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
  9. 05 Jun, 2007 6 commits
  10. 29 May, 2007 9 commits