1. 07 Jun, 2007 3 commits
  2. 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
  3. 05 Jun, 2007 6 commits
  4. 29 May, 2007 11 commits
  5. 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
  6. 24 May, 2007 5 commits
  7. 23 May, 2007 1 commit
    • Wim Taymans's avatar
      tests/check/gst/gstsystemclock.c: Improve test_async_order to also work when... · 20c719ae
      Wim Taymans authored
      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.
      20c719ae
  8. 22 May, 2007 7 commits
    • Tim-Philipp Müller's avatar
      gst/gstbin.*: 'private' is a c++ keyword, let's not use that in header files,... · 93230e96
      Tim-Philipp Müller authored
      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.
      93230e96
    • Tim-Philipp Müller's avatar
      plugins/: Use #ifdef for HAVE_XYZ for consistency. · e4ab657d
      Tim-Philipp Müller authored
      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.
      e4ab657d
    • Mark Nauwelaerts's avatar
      plugins/elements/gstfilesink.*: Fix position reporting; rename data_written... · 8eaf66d0
      Mark Nauwelaerts authored and Tim-Philipp Müller's avatar Tim-Philipp Müller committed
      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).
      8eaf66d0
    • Edward Hervey's avatar
      Add a property for bins that handle the state change of their childs. · 466218f4
      Edward Hervey authored
      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
      466218f4
    • Thomas Vander Stichele's avatar
      add quote · 2f0f37ee
      Thomas Vander Stichele authored
      Original commit message from CVS:
      add quote
      2f0f37ee
    • Sebastian Dröge's avatar
      libs/gst/controller/gstinterpolation.c: Use an array of the correct type when... · e55a7a7a
      Sebastian Dröge authored
      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.
      e55a7a7a
    • Stefan Kost's avatar
      gst/gstelement.c (gst_element_requires_clock, gst_element_provides_clock,... · e87a530b
      Stefan Kost authored
      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.
      e87a530b