1. 22 May, 2007 6 commits
    • 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
      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
  2. 21 May, 2007 7 commits
    • Sebastian Dröge's avatar
      libs/gst/controller/gstinterpolation.c: Add support for retrieving value... · e645e3d2
      Sebastian Dröge authored
      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.
      e645e3d2
    • Sebastian Dröge's avatar
      libs/gst/controller/gstcontroller.*: Clarify the docs of... · 51424c0d
      Sebastian Dröge authored
      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().
      51424c0d
    • Jan Schmidt's avatar
      tests/check/gst/gstbuffer.c: Disable part of the gst_buffer_try_new_and_alloc... · 8482f46a
      Jan Schmidt authored
      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.
      8482f46a
    • Sebastian Dröge's avatar
      tests/check/gst/gstpad.c: Add unit test for the improved caps checking from bug #421543. · 375534ed
      Sebastian Dröge authored
      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.
      375534ed
    • Wim Taymans's avatar
      docs/design/part-synchronisation.txt: Small addition. · 75b997ad
      Wim Taymans authored
      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.
      75b997ad
    • Wim Taymans's avatar
      gst/gstpad.c: Added simple version of improved caps checking. It was... · fc32cd9c
      Wim Taymans authored
      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.
      fc32cd9c
    • Wim Taymans's avatar
      libs/gst/base/gstbasetransform.h: Fix macro for locking/unlocking the transform lock. · caa1b7d0
      Wim Taymans authored
      Original commit message from CVS:
      * libs/gst/base/gstbasetransform.h:
      Fix macro for locking/unlocking the transform lock.
      caa1b7d0
  3. 19 May, 2007 1 commit
  4. 18 May, 2007 2 commits
  5. 17 May, 2007 5 commits
    • Sebastian Dröge's avatar
      docs/libs/gstreamer-libs-sections.txt: Add the two new controller functions to... · 7309d454
      Sebastian Dröge authored
      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.
      7309d454
    • Sebastian Dröge's avatar
      libs/gst/controller/: API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync() · 82543e31
      Sebastian Dröge authored
      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.
      82543e31
    • Sebastian Dröge's avatar
      libs/gst/controller/: Save last synced value from the list to continue... · 3b7871d9
      Sebastian Dröge authored
      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.
      3b7871d9
    • Sebastian Dröge's avatar
      libs/gst/controller/: Add a new private GstControlPoint struct which "inherits" from · b92d7dc0
      Sebastian Dröge authored
      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.
      b92d7dc0
    • Edward Hervey's avatar
      gst/gstsegment.c: Small doc fix. · 1a6e50f5
      Edward Hervey authored
      Original commit message from CVS:
      * gst/gstsegment.c:
      Small doc fix.
      1a6e50f5
  6. 16 May, 2007 1 commit
    • Tim-Philipp Müller's avatar
      gst/gstplugin.c: If we fail to load a plugin because of unresolved symbols or... · 7366c4e4
      Tim-Philipp Müller authored
      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.
      7366c4e4
  7. 13 May, 2007 4 commits
  8. 12 May, 2007 3 commits
    • David Schleef's avatar
      gst/gst.c: Add GST_DISABLE_OPTION_PARSING, in order to disable option parsing for embedded systems. · 7f9a26d7
      David Schleef authored
      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?
      7f9a26d7
    • Wim Taymans's avatar
      tools/gst-launch.c: Give more interesting info when buffering starts and stops. · 75cc705a
      Wim Taymans authored
      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.
      75cc705a
    • Wim Taymans's avatar
      plugins/elements/gstqueue.*: Refactor an cleanup queue a bit. · b50ecf06
      Wim Taymans authored
      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.
      b50ecf06
  9. 11 May, 2007 4 commits
    • Tim-Philipp Müller's avatar
      gst/gsturi.c: Don't leak plugin feature. · 7f1acfb0
      Tim-Philipp Müller authored
      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.
      7f1acfb0
    • Jeroen Wouters's avatar
      gst/gsturi.c: Treat protocol strings in a case-insensitive way (#437563). · ef1a5d21
      Jeroen Wouters authored
      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).
      ef1a5d21
    • Michael Smith's avatar
      gst/: Don't print a g_warning for any failure to load a shared object. · 05181a07
      Michael Smith authored
      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.
      05181a07
    • Stefan Kost's avatar
      gst/gstplugin.c (gst_plugin_load_file): gst/gstregistry.c (GST_CAT_DEFAULT,... · a8571d46
      Stefan Kost authored
      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.
      a8571d46
  10. 10 May, 2007 2 commits
    • Wim Taymans's avatar
      plugins/elements/gstqueue.*: Be smarter when calculating the current amount of... · 3da8ea1c
      Wim Taymans authored
      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.
      3da8ea1c
    • Stefan Kost's avatar
      plugins/elements/gstqueue.c (_do_init, gst_queue_signals, gst_queue_base_init,... · 687b7ad0
      Stefan Kost authored
      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
      687b7ad0
  11. 09 May, 2007 3 commits
    • Sebastien Moutte's avatar
      win32/common/libgstreamer.def: Add new exported functions. · 320e1ddb
      Sebastien Moutte authored
      Original commit message from CVS:
      * win32/common/libgstreamer.def:
      Add new exported functions.
      * win32/vs6/grammar.dsp:
      Use grammar pre-generated files.
      320e1ddb
    • Peter Kjellerstedt's avatar
      gst/: Maintain API and ABI when --disable-parse is used. Now that we have an... · f38b77d7
      Peter Kjellerstedt authored
      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.
      f38b77d7
    • Tim-Philipp Müller's avatar
      tests/benchmarks/: Set a good example and don't leak messages. · cb677579
      Tim-Philipp Müller authored
      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.
      cb677579
  12. 06 May, 2007 1 commit
    • Stefan Kost's avatar
      docs/: Correct fixxrefs options. · b7e503a7
      Stefan Kost authored
      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.
      b7e503a7
  13. 04 May, 2007 1 commit
    • Tim-Philipp Müller's avatar
      libs/gst/controller/: Don't crash if someone tries to set an interpolation... · 42651f72
      Tim-Philipp Müller authored
      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.
      42651f72