1. 24 May, 2008 1 commit
    • Tim-Philipp Müller's avatar
      API: gst_parse_launch_full() · ebc08ddf
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gst.c: (init_post):
      * gst/gst_private.h: (_GstParseContext):
      * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
      (gst_parse_context_free), (gst_parse_context_get_missing_elements),
      (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
      (gst_parse_launch_full):
      * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
      (GstParseFlags), (GstParseContext):
      * gst/gstutils.c: (gst_parse_bin_from_description),
      (gst_parse_bin_from_description_full):
      * gst/gstutils.h:
      * gst/parse/grammar.y:
      * gst/parse/types.h:
      * win32/common/libgstreamer.def:
      Add new gst_parse_*_full API (#528178):
      API: gst_parse_launch_full()
      API: gst_parse_launchv_full()
      API: gst_parse_bin_from_description_full()
      API: gst_parse_context_new()
      API: gst_parse_context_free()
      API: gst_parse_context_get_missing_elements()
      ebc08ddf
  2. 09 May, 2008 1 commit
    • Tim-Philipp Müller's avatar
      gst/gstutils.h: Try to fix 'dereferencing type-punned pointer will break... · 7c0437a9
      Tim-Philipp Müller authored
      gst/gstutils.h: Try to fix 'dereferencing type-punned pointer will break strict aliasing rules' warnings with C++ com...
      
      Original commit message from CVS:
      * gst/gstutils.h: (GST_BOILERPLATE_FULL):
      Try to fix 'dereferencing type-punned pointer will break strict
      aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
      changed the default GType typedef from gulong to gsize at some point,
      but kept GType typedef'ed to gulong for C++ for ABI reasons; the
      g_once_* functions all take a gsize * though, so work around the type
      mismatch for C++ by doing everything in gsize and casting to GType
      later.
      7c0437a9
  3. 08 May, 2008 2 commits
  4. 17 Apr, 2008 1 commit
    • Sebastian Dröge's avatar
      gst/gstutils.*: API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should... · 3e914a83
      Sebastian Dröge authored
      gst/gstutils.*: API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used now that we depend on new enou...
      
      Original commit message from CVS:
      * gst/gstutils.c:
      * gst/gstutils.h:
      API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
      now that we depend on new enough GLib.
      * gst/gstcaps.c: (gst_static_caps_get):
      * gst/gstclock.c: (gst_clock_entry_new):
      * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
      (gst_debug_set_default_threshold), (_gst_debug_category_new),
      (gst_debug_category_set_threshold):
      * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
      (gst_base_sink_set_qos_enabled):
      * libs/gst/net/gstnettimeprovider.c:
      (gst_net_time_provider_set_property):
      Use g_atomic_int_set() instead of gst_atomic_int_set().
      3e914a83
  5. 10 Apr, 2008 1 commit
    • José Alburquerque's avatar
      Add gst_pad_add_*_probe_full() functions with a notify callback that lets the... · f273ee8c
      José Alburquerque authored
      Add gst_pad_add_*_probe_full() functions with a notify callback that lets the caller free the data it passes to the p...
      
      Original commit message from CVS:
      Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
      * gst/gstutils.c: (gst_pad_add_data_probe),
      (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
      (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
      (gst_pad_add_buffer_probe_full):
      * gst/gstutils.h:
      * docs/gst/gstreamer-sections.txt:
      * win32/common/libgstreamer.def:
      Add gst_pad_add_*_probe_full() functions with a notify callback that
      lets the caller free the data it passes to the probe functions. This
      is useful for bindings such as gst-python or gstreamermm (#526814).
      API: gst_pad_add_data_probe_full
      API: gst_pad_add_buffer_probe_full
      API: gst_pad_add_event_probe_full
      * tests/check/gst/gstutils.c:
      Add minimal unit test to make sure freeing the data actually works
      as expected.
      * tests/benchmarks/.cvsignore:
      Random cvsignore addendum.
      f273ee8c
  6. 11 Dec, 2007 2 commits
    • Stefan Kost's avatar
      gst/gstutils.*: Actually its not PURE as it gets the time from elsewhere. · 321db798
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstutils.c:
      * gst/gstutils.h:
      Actually its not PURE as it gets the time from elsewhere.
      321db798
    • Stefan Kost's avatar
      Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all uses as... · 428a4e96
      Stefan Kost authored
      Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all uses as we don't have HAVE_POSIX_TIMERS in publi...
      
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstclock.h:
      * gst/gstdebugutils.c:
      * gst/gstinfo.c:
      * gst/gstutils.c:
      * gst/gstutils.h:
      * libs/gst/base/gstbasesink.c:
      * tools/gst-launch.c:
      Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
      uses as we don't have HAVE_POSIX_TIMERS in public headers.
      Thanks Tim for spotting.
      428a4e96
  7. 10 Jul, 2007 1 commit
    • Stefan Kost's avatar
      gst/gsttaglist.c: Fix doc syntax. · 54529a75
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gsttaglist.c:
      Fix doc syntax.
      * gst/gstutils.c:
      * gst/gstutils.h:
      Add deprecation guards.
      * libs/gst/base/gstcollectpads.h:
      Don't document object (this is implicitly private).
      54529a75
  8. 21 Jun, 2007 1 commit
    • Stefan Kost's avatar
      Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457. · 9eeb1c8e
      Stefan Kost authored
      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.
      9eeb1c8e
  9. 13 May, 2007 1 commit
  10. 09 May, 2007 1 commit
    • 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
  11. 29 Jan, 2007 1 commit
  12. 06 Nov, 2006 1 commit
    • Stefan Kost's avatar
      docs/gst/gstreamer-sections.txt: add new API and fix the build · 894b7f9f
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      add new API and fix the build
      * gst/gstbin.c: (gst_bin_recalc_state):
      * gst/gstelement.c: (gst_element_message_full),
      (gst_element_get_state_func), (gst_element_set_state_func):
      use new API and improve logging
      * gst/gstutils.c: (gst_element_state_change_return_get_name):
      * gst/gstutils.h:
      API: add function to get StateChangereturn names to improve logs
      894b7f9f
  13. 19 May, 2006 1 commit
    • Tim-Philipp Müller's avatar
      API: add gst_element_seek_simple() (#342238). · 120ba159
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * win32/common/libgstreamer.def:
      * gst/gstutils.c: (gst_element_seek_simple):
      * gst/gstutils.h:
      API: add gst_element_seek_simple() (#342238).
      120ba159
  14. 23 Mar, 2006 1 commit
    • Tim-Philipp Müller's avatar
      API: add some new utility functions: · 18132911
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstutils.c: (gst_pad_query_peer_position),
      (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
      * gst/gstutils.h:
      API: add some new utility functions:
      - gst_pad_query_peer_position
      - gst_pad_query_peer_duration
      - gst_pad_query_peer_convert
      18132911
  15. 20 Mar, 2006 1 commit
    • Jan Schmidt's avatar
      gst/gstutils.h: Add G_UNLIKELY to our boilerplate to optimise the 'already... · 3bf7e221
      Jan Schmidt authored
      gst/gstutils.h: Add G_UNLIKELY to our boilerplate to optimise the 'already registered the type' case. (Closes: #33519...
      
      Original commit message from CVS:
      * gst/gstutils.h:
      Add G_UNLIKELY to our boilerplate to optimise the 'already registered
      the type' case. (Closes: #335195 for now). In the future, when we
      depend on GLib 2.10, we could also intern the type name using
      g_intern_static_string()
      3bf7e221
  16. 06 Mar, 2006 1 commit
  17. 20 Feb, 2006 1 commit
    • Jan Schmidt's avatar
      gst/: Make things work with --disable-parse as they do with · e2cca3d6
      Jan Schmidt authored
      Original commit message from CVS:
      * gst/Makefile.am:
      * gst/gstparse.h:
      * gst/gstutils.c:
      * gst/gstutils.h:
      Make things work with --disable-parse as they do with
      --disable-load-save - the symbols involved disappear, but the
      header is still installed and GST_DISABLE_PARSE is included via
      gstconfig.h
      e2cca3d6
  18. 02 Feb, 2006 1 commit
  19. 02 Jan, 2006 1 commit
    • Tim-Philipp Müller's avatar
      gst/gstutils.h: Add prototype for _get_type() function to GST_BOILERPLATE_FULL... · 76da1081
      Tim-Philipp Müller authored
      gst/gstutils.h: Add prototype for _get_type() function to GST_BOILERPLATE_FULL macro, so that gcc doesn't complain if...
      
      Original commit message from CVS:
      Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
      * gst/gstutils.h:
      Add prototype for _get_type() function to GST_BOILERPLATE_FULL
      macro, so that gcc doesn't complain if the -Wmissing-prototypes
      compiler switch is being used (#325429).
      76da1081
  20. 05 Dec, 2005 1 commit
  21. 04 Dec, 2005 1 commit
  22. 23 Nov, 2005 1 commit
    • Jan Schmidt's avatar
      API Changes. · cfc78f21
      Jan Schmidt authored
      Original commit message from CVS:
      * gst/gststructure.c: (gst_structure_get_fraction),
      (gst_structure_parse_value),
      (gst_structure_fixate_field_nearest_fraction):
      * gst/gststructure.h:
      * gst/gstutils.c: (gst_util_uint64_scale_int):
      * gst/gstutils.h:
      * scripts/update-funcnames:
      API Changes.
      Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
      Make gst_structure_fixate_field_nearest_fraction take a numerator
      and denominator argument instead of a GValue
      add gst_structure_get_fraction helper function.
      cfc78f21
  23. 22 Nov, 2005 2 commits
    • Michael Smith's avatar
      Add underscores · 59ac3949
      Michael Smith authored
      Original commit message from CVS:
      Add underscores
      59ac3949
    • Michael Smith's avatar
      Add util method for scaling a clocktime by a fraction. Useful implementation... · 4a36e535
      Michael Smith authored
      Add util method for scaling a clocktime by a fraction. Useful implementation is left as an exercise for the reader.
      
      Original commit message from CVS:
      * gst/gstutils.c: (gst_util_clocktime_scale):
      * gst/gstutils.h:
      * docs/gst/gstreamer-sections.txt:
      Add util method for scaling a clocktime by a fraction. Useful
      implementation is left as an exercise for the reader.
      4a36e535
  24. 21 Nov, 2005 1 commit
    • Andy Wingo Wingo's avatar
      gst/: Sprinkle NULL_TERMINATED to taste. · fd6ca019
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-11-21  Andy Wingo  <wingo@pobox.com>
      
      * gst/gsttagsetter.h:
      * gst/gsttaglist.h:
      * gst/gststructure.h:
      * gst/gstcaps.h:
      * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste.
      fd6ca019
  25. 19 Nov, 2005 1 commit
    • Andy Wingo Wingo's avatar
      gst/gstutils.h: gst/gstutils.c (g_static_rec_cond_wait) · 5748aa11
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-11-19  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstutils.h:
      * gst/gstutils.c (g_static_rec_cond_wait)
      (g_static_rec_cond_timed_wait): Removed, no longer needed.
      
      * gst/gstbin.c: Remove terrible continue_state prototype.
      
      * gst/gstelement.h (gst_element_continue_state): Make public.
      
      * gst/gstelement.h:
      * gst/gstelement.c (gst_element_commit_state): Removed, replaced
      by continue_state. Fixes #319389.
      5748aa11
  26. 04 Nov, 2005 1 commit
    • Stefan Kost's avatar
      more docs added · fd15eb56
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstcaps.h:
      * gst/gstinfo.c:
      * gst/gstminiobject.h:
      * gst/gstobject.h:
      * gst/gstutils.h:
      more docs added
      fd15eb56
  27. 21 Oct, 2005 1 commit
    • Wim Taymans's avatar
      And 2% more doc coverage. · e1a166a5
      Wim Taymans authored
      Original commit message from CVS:
      * docs/gst/gstreamer-docs.sgml:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstelement.h:
      * gst/gstevent.c:
      * gst/gstevent.h:
      * gst/gstmessage.h:
      * gst/gstpad.h:
      * gst/gstparse.h:
      * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
      * gst/gsttask.h:
      * gst/gstutils.c:
      * gst/gstutils.h:
      And 2% more doc coverage.
      e1a166a5
  28. 20 Oct, 2005 1 commit
    • Wim Taymans's avatar
      gst/: Docs and consistency fixes. · 8c96da05
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstpad.h:
      * gst/gstquery.c: (gst_query_set_position),
      (gst_query_parse_position), (gst_query_set_duration),
      (gst_query_parse_duration), (gst_query_new_convert):
      * gst/gstquery.h:
      * gst/gstutils.c: (gst_element_query_convert):
      * gst/gstutils.h:
      Docs and consistency fixes.
      8c96da05
  29. 19 Oct, 2005 1 commit
    • Wim Taymans's avatar
      gst/: API change fix. · 7612a384
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
      (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
      * gst/base/gstbasesrc.c: (gst_base_src_query):
      * gst/elements/gstfilesink.c: (gst_file_sink_query):
      * gst/elements/gsttypefindelement.c:
      (gst_type_find_handle_src_query), (find_element_get_length),
      (gst_type_find_element_activate):
      API change fix.
      
      * gst/gstquery.c: (gst_query_new_position),
      (gst_query_set_position), (gst_query_parse_position),
      (gst_query_new_duration), (gst_query_set_duration),
      (gst_query_parse_duration), (gst_query_set_segment),
      (gst_query_parse_segment):
      * gst/gstquery.h:
      Bundling query position/duration is not a good idea since duration
      does not change much and we don't want to recalculate it for every
      position query, so they are separated again..
      Base value in segment query is not needed.
      
      * gst/gstqueue.c: (gst_queue_handle_src_query):
      * gst/gstutils.c: (gst_element_query_position),
      (gst_element_query_duration), (gst_pad_query_position),
      (gst_pad_query_duration):
      * gst/gstutils.h:
      Updates for query API change.
      Added some docs here and there.
      7612a384
  30. 15 Oct, 2005 1 commit
  31. 11 Oct, 2005 1 commit
    • Wim Taymans's avatar
      docs/design/part-states.txt: Some more docs. · fd1a66e8
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-states.txt:
      Some more docs.
      
      * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
      (gst_bin_change_state_func), (bin_bus_handler):
      Doc updates. Don't distribute the same clock over and over again.
      
      * gst/gstclock.c:
      * gst/gstclock.h:
      Doc updates.
      
      * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
      (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
      (gst_pad_send_event):
      * gst/gstpad.h:
      Make probe emission threadsafe again.
      Register quarks and move _get_name() from utils.
      Doc updates.
      
      * gst/gstpipeline.c: (gst_pipeline_class_init),
      (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
      Only redistribute the clock of it changed.
      
      * gst/gstsystemclock.h:
      Doc updates.
      
      * gst/gstutils.c:
      * gst/gstutils.h:
      Moved the _flow_get_name() to GstPad.
      fd1a66e8
  32. 10 Oct, 2005 3 commits
    • Thomas Vander Stichele's avatar
      gst/base/gstbasesrc.c: use conversions · e2af9ca6
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * gst/base/gstbasesrc.c: (gst_base_src_query):
      use conversions
      * gst/gstutils.c: (gst_guint64_to_gdouble),
      (gst_gdouble_to_guint64), (gst_util_uint64_scale):
      * gst/gstutils.h:
      externalize, basesrc uses it
      obviously the implementation needs testing
      e2af9ca6
    • Wim Taymans's avatar
      check/: Check fixes, use API as stated in design docs, remove hacks. · 2153c459
      Wim Taymans authored
      Original commit message from CVS:
      * check/Makefile.am:
      * check/generic/states.c: (GST_START_TEST):
      * check/gst/gstbin.c: (GST_START_TEST):
      * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
      * check/states/sinks.c: (GST_START_TEST):
      * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
      (main):
      Check fixes, use API as stated in design docs, remove hacks.
      
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_change_state):
      Catch stopping our task while we're shutting down.
      
      * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
      (gst_bin_remove_func), (gst_bin_get_state_func),
      (gst_bin_recalc_state), (gst_bin_change_state_func),
      (bin_bus_handler):
      * gst/gstbin.h:
      * gst/gstelement.c: (gst_element_init),
      (gst_element_get_state_func), (gst_element_abort_state),
      (gst_element_commit_state), (gst_element_lost_state),
      (gst_element_set_state), (gst_element_change_state),
      (gst_element_change_state_func):
      * gst/gstelement.h:
      New state change algorithm (see #318116)
      
      * gst/gstpipeline.c: (gst_pipeline_class_init),
      (gst_pipeline_init), (gst_pipeline_set_property),
      (gst_pipeline_get_property), (do_pipeline_seek),
      (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
      * gst/gstpipeline.h:
      Remove crude state change hacks.
      
      * gst/gstutils.h:
      Remove crude hacks.
      
      * tools/gst-launch.c: (main):
      Fixes for state change. Needs some more work to fully use the
      new stuff.
      2153c459
    • Andy Wingo Wingo's avatar
      docs/gst/gstreamer-sections.txt: Doc updates. · 16dfb8d4
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-10-10  Andy Wingo  <wingo@pobox.com>
      
      * docs/gst/gstreamer-sections.txt: Doc updates.
      
      * gst/gstutils.h:
      * gst/gstutils.c (g_static_rec_cond_timed_wait)
      (g_static_rec_cond_wait): Ported from state changes patch, while
      we wait on bug #317802 to be solved in a well-distributed GLib.
      16dfb8d4
  33. 08 Oct, 2005 1 commit
    • Stefan Kost's avatar
      lots of new docs and doc fixes · 8167fcdd
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstmessage.c:
      * gst/gstmessage.h:
      * gst/gstminiobject.c:
      * gst/gstminiobject.h:
      * gst/gstobject.h:
      * gst/gstpad.h:
      * gst/gstutils.h:
      lots of new docs and doc fixes
      8167fcdd
  34. 27 Sep, 2005 1 commit
    • Stefan Kost's avatar
      added two new functions to the docs documents all undocumented GstXXXFlags... · 6de84a3d
      Stefan Kost authored
      added two new functions to the docs documents all undocumented GstXXXFlags completed some incomplete docs
      
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/base/gstbasesrc.h:
      * gst/gstelement.h:
      * gst/gstevent.h:
      * gst/gstobject.h:
      * gst/gstpad.h:
      * gst/gstpipeline.c:
      * gst/gstpipeline.h:
      * gst/gstutils.h:
      * gst/gstxml.h:
      added two new functions to the docs
      documents all undocumented GstXXXFlags
      completed some incomplete docs
      6de84a3d
  35. 21 Sep, 2005 1 commit
    • Andy Wingo Wingo's avatar
      check/gst/gstutils.c: New file. · 5b77a671
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-09-21  Andy Wingo  <wingo@pobox.com>
      
      * check/gst/gstutils.c: New file.
      (test_buffer_probe_n_times): A simple buffer probe test. More to
      come, foolios.
      
      * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
      have-data::buffer, not have-data.
      (gst_pad_add_event_probe): Likewise for have-data::event.
      (gst_pad_add_data_probe): More docs. The part about 'resolving the
      peer' isn't quite right yet though.
      (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
      (gst_pad_remove_data_probe): Change to take the guint handler_id
      as their arg, not the function+data, which is more glib-like.
      
      * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
      the signal emission to indicate if the data is a buffer or an
      event.
      (gst_pad_get_type): Initialize buffer and event quarks.
      (gst_pad_class_init): have-data is now a detailed signal, yes it
      is.
      5b77a671