1. 06 Mar, 2006 1 commit
  2. 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
  3. 02 Feb, 2006 1 commit
  4. 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
  5. 05 Dec, 2005 1 commit
  6. 04 Dec, 2005 1 commit
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 15 Oct, 2005 1 commit
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. 12 Sep, 2005 1 commit
    • Thomas Vander Stichele's avatar
      add a gst_element_set_state_async method that sets the state and starts a... · cf231073
      Thomas Vander Stichele authored
      add a gst_element_set_state_async method that sets the state and starts a thread to make sure the state change comple...
      
      Original commit message from CVS:
      * check/gst/gstpipeline.c: (GST_START_TEST):
      * docs/gst/gstreamer-sections.txt:
      * gst/gstutils.c: (set_state_async_thread_func),
      (gst_element_set_state_async):
      * gst/gstutils.h:
      add a gst_element_set_state_async method that
      sets the state and starts a thread to make sure the state
      change completes as best as it can
      cf231073
  22. 02 Sep, 2005 1 commit
    • Andy Wingo Wingo's avatar
      gst/gstelement.h (GstState): Renamed from GstElementState, changed to be a... · e040bb2d
      Andy Wingo Wingo authored
      gst/gstelement.h (GstState): Renamed from GstElementState, changed to be a normal enum instead of flags.
      
      Original commit message from CVS:
      2005-09-02  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstelement.h (GstState): Renamed from GstElementState,
      changed to be a normal enum instead of flags.
      (GstStateChangeReturn): Renamed from GstElementStateReturn, names
      munged to be GST_STATE_CHANGE_*.
      (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
      work with the new state representation.
      (GstStateChange): New enumeration of possible state transitions.
      Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
      (GstElementClass::change_state): Pass the GstStateChange along as
      an argument. Helps language bindings, so they don't have to use
      tricky lock-needing macros like GST_STATE_CHANGE ().
      
      * scripts/update-states (file): New script. Run it on a file to
      update it for state naming and API changes. Updates files in
      place.
      
      * All files updated for the new API.
      e040bb2d
  23. 31 Aug, 2005 1 commit
    • Thomas Vander Stichele's avatar
      docs/faq/gst-uninstalled: add -good · e5d298f4
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * docs/faq/gst-uninstalled:
      add -good
      * gst/gstevent.c:
      * gst/gstevent.h:
      remove wrong docs
      * gst/gstutils.c: (gst_element_link_filtered):
      * gst/gstutils.h:
      add gst_element_link_filtered
      e5d298f4
  24. 29 Aug, 2005 1 commit
  25. 28 Aug, 2005 1 commit
    • Andy Wingo Wingo's avatar
      gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init as having two... · 944491ab
      Andy Wingo Wingo authored
      gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init as having two arguments instead of just one. Allows su...
      
      Original commit message from CVS:
      2005-08-28  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
      as having two arguments instead of just one. Allows superclasses
      to access information on subclasses -- see the terrible for() loop
      in gtype.c:g_type_create_instance for the reason why. All callers
      changed.
      944491ab
  26. 25 Aug, 2005 1 commit
    • Stefan Kost's avatar
      gst/gstbin.h: removed ';' from the end of macro defs · a28d6343
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstbin.h:
      removed ';' from the end of macro defs
      * docs/gst/gstreamer-docs.sgml:
      * docs/gst/gstreamer-sections.txt:
      * docs/gst/tmpl/.cvsignore:
      * gst/gstbus.h:
      * gst/gstelement.c: (gst_element_class_init),
      (gst_element_set_state), (activate_pads),
      (gst_element_save_thyself):
      * gst/gstevent.c: (gst_event_new_newsegment):
      * gst/gstevent.h:
      * gst/gstiterator.c:
      * gst/gstiterator.h:
      * gst/gstpad.c:
      * gst/gstprobe.h:
      * gst/gstutils.c: (gst_pad_query_convert):
      * gst/gstutils.h:
      fixed parameter name mismatches between source, header and docs
      added some more docs, resolved the last batch of unused elements in
      docs (now someone needs to doc them)
      a28d6343
  27. 24 Aug, 2005 1 commit
    • Wim Taymans's avatar
      gst/gstbuffer.c: Some debugging. · 4101d268
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
      Some debugging.
      
      * gst/gstclock.h:
      Cast to ClockTime before formatting to time.
      
      * gst/gstutils.h:
      Cleanups.
      4101d268
  28. 22 Aug, 2005 1 commit
  29. 17 Aug, 2005 1 commit
    • Andy Wingo Wingo's avatar
      gst/base/gstbasetransform.c: Debug changes. · c5e2202f
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-08-17  Andy Wingo  <wingo@pobox.com>
      
      * gst/base/gstbasetransform.c: Debug changes.
      
      * gst/gstutils.h:
      * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
      ensure bins post state change messages. A bit of a hack but I can't
      think of a way to avoid it.
      
      * check/gst/gstbin.c (test_watch_for_state_change): Added test.
      c5e2202f
  30. 16 Aug, 2005 1 commit
  31. 09 Aug, 2005 1 commit
  32. 21 Jul, 2005 1 commit
    • Wim Taymans's avatar
      docs/design/part-seeking.txt: Some small additions. · 030ff93e
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-seeking.txt:
      Some small additions.
      
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_get_times), (gst_base_sink_do_sync),
      (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
      * gst/base/gstbasesink.h:
      discont values are gint64, handle the math correctly.
      
      * gst/base/gstbasesrc.c: (gst_base_src_loop):
      Make the basesrc report error if the source pad is not linked.
      
      * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
      (gst_queue_loop), (gst_queue_handle_src_query),
      (gst_queue_src_activate_push):
      Make queue collect data even if the srcpad is not linked.
      Start pushing out data as soon as it is linked.
      
      * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
      * gst/gstutils.h:
      Added gst_flow_get_name() to ease error reporting.
      030ff93e
  33. 18 Jul, 2005 1 commit
    • Wim Taymans's avatar
      docs/design/: Some more docs in the works. · 2b1ce5f2
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-dynamic.txt:
      * docs/design/part-events.txt:
      * docs/design/part-seeking.txt:
      Some more docs in the works.
      
      * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
      (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
      (gst_base_transform_setcaps), (gst_base_transform_get_size),
      (gst_base_transform_buffer_alloc), (gst_base_transform_event),
      (gst_base_transform_handle_buffer),
      (gst_base_transform_sink_activate_push),
      (gst_base_transform_src_activate_pull),
      (gst_base_transform_set_passthrough),
      (gst_base_transform_is_passthrough):
      Refcounting fixes.
      
      * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
      Cleanups.
      
      * gst/gstevent.c: (gst_event_finalize):
      Set SRC to NULL.
      
      * gst/gstutils.c: (gst_element_unlink),
      (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
      (gst_pad_proxy_setcaps):
      * gst/gstutils.h:
      Add _get_parent_element() to get a pads parent as an element.
      2b1ce5f2
  34. 13 Jul, 2005 1 commit
  35. 04 Jul, 2005 1 commit
  36. 29 Jun, 2005 2 commits
    • Ronald S. Bultje's avatar
      Remove old probes, add new g-signal-based probes and some utility functions. · d13478b3
      Ronald S. Bultje authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * docs/gst/tmpl/gstpad.sgml:
      * docs/gst/tmpl/gstprobe.sgml:
      * gst/Makefile.am:
      * gst/gstpad.c: (_gst_do_pass_data_accumulator),
      (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
      (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
      (gst_pad_push_event), (gst_pad_send_event):
      * gst/gstpad.h:
      * gst/gstutils.c: (gst_pad_add_data_probe),
      (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
      (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
      (gst_pad_remove_buffer_probe):
      * gst/gstutils.h:
      Remove old probes, add new g-signal-based probes and some utility
      functions.
      d13478b3
    • Edward Hervey's avatar
      gst/: Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added... · 6aa149a9
      Edward Hervey authored
      gst/: Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added the definition to the header file.
      
      Original commit message from CVS:
      * gst/gstelementfactory.c:
      * gst/gstutils.h:
      * gst/gstutils.c:
      Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
      the definition to the header file.
      6aa149a9