1. 16 Oct, 2006 1 commit
  2. 13 Oct, 2006 1 commit
    • Yves Lefebvre's avatar
      gst/gstelement.h: Clarify _NO_PREROLL a bit more. · 1b417192
      Yves Lefebvre authored
      Original commit message from CVS:
      * gst/gstelement.h:
      Clarify _NO_PREROLL a bit more.
      * gst/gstevent.c:
      Fix docs.
      * gst/gstpad.c: (gst_pad_link_check_hierarchy),
      (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
      (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
      Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
      due to wrong locking order. Fixes #361769.
      Remove some redundant/misplaced checks in pad_block.
      * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
      For negative rates, count backwards from the duration.
      1b417192
  3. 08 Oct, 2006 1 commit
  4. 05 Oct, 2006 1 commit
    • Tim-Philipp Müller's avatar
      Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know whether we can... · 376f6c34
      Tim-Philipp Müller authored
      Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know whether we can use G_GNUC_PRINTF in other header files ...
      
      Original commit message from CVS:
      * configure.ac:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstconfig.h.in:
      * gst/gstelement.h:
      * gst/gstinfo.h:
      Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
      whether we can use G_GNUC_PRINTF in other header files and at
      least check the printf format/arguments of debug messages and
      GST_ELEMENT_ERROR messages when the printf extension is not
      being used.
      Replace more tabs with spaces in gstinfo.h and remove two spurious
      function declarations in GST_DISABLE_DEBUG part with macros.
      376f6c34
  5. 06 Jun, 2006 1 commit
  6. 29 Nov, 2005 1 commit
    • Andy Wingo Wingo's avatar
      gst/gstevent.h (struct _GstEvent): Only one pointer of padding. · 65ce5ed0
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-11-29  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
      
      * gst/gststructure.h (struct _GstStructure): Only one pointer of
      padding.
      
      * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
      
      * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
      
      * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
      
      * gst/gstobject.h: (struct _GstObject): Only one pointer of
      padding; reduces object size by about 30%. We don't expect
      anything else to go into gstobject.
      
      * gst/gstminiobject.h (struct _GstMiniObject)
      (struct _GstMiniObjectClass): Only one pointer of padding; the
      payload is only a pointer and two ints anyway. For the class there
      are only two methods as well.
      
      * gst/gstelement.h (struct _GstElementClass): Removed
      the state_changed signal callback, it is not used.
      65ce5ed0
  7. 22 Nov, 2005 1 commit
    • Wim Taymans's avatar
      gst/base/gstbasesink.*: No need to store the clock, the parent element class already has it. · cf925ebb
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_class_init),
      (gst_base_sink_wait), (gst_base_sink_do_sync),
      (gst_base_sink_handle_event):
      * gst/base/gstbasesink.h:
      No need to store the clock, the parent element class already
      has it.
      
      * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
      Updates for clock_set returning a gboolean
      
      * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
      (gst_clock_id_wait_async), (gst_clock_class_init),
      (gst_clock_init), (gst_clock_finalize),
      (gst_clock_get_internal_time), (gst_clock_get_time),
      (gst_clock_slave_callback), (gst_clock_set_master),
      (gst_clock_get_master), (do_linear_regression),
      (gst_clock_add_observation), (gst_clock_set_property),
      (gst_clock_get_property):
      * gst/gstclock.h:
      Implement master/slave. When setting a clock as a slave, a
      periodic timeout is scheduled to sample master and slave times.
      Then the slave clock is recalibrated to match offset and rate
      of the master clock.
      Update logging a bit.
      Add flag so that a clock can state that is cannot be slaved to
      another clock.
      
      * gst/gstelement.c: (gst_element_set_clock):
      * gst/gstelement.h:
      The set_clock returns a gboolean for when an element cannot
      deal with the selected clock in the pipeline.
      
      * gst/gstpipeline.c: (gst_pipeline_change_state),
      (gst_pipeline_set_clock):
      * gst/gstpipeline.h:
      Handle the case where the selected clock cannot be set on
      the pipeline.
      
      * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
      (gst_net_client_clock_init), (gst_net_client_clock_finalize),
      (gst_net_client_clock_set_property),
      (gst_net_client_clock_get_property),
      (gst_net_client_clock_observe_times):
      * gst/net/gstnetclientclock.h:
      Use regression code in GstClock parent, remove duplicated
      functionality.
      cf925ebb
  8. 21 Nov, 2005 1 commit
  9. 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
  10. 10 Nov, 2005 1 commit
  11. 08 Nov, 2005 1 commit
    • Wim Taymans's avatar
      gst/: Avoid excessive typechecking in macros. · 5bb92462
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
      (gst_base_sink_do_sync), (gst_base_sink_handle_event),
      (gst_base_sink_chain), (gst_base_sink_change_state):
      * gst/base/gstbasesink.h:
      * gst/base/gstbasesrc.h:
      * gst/gstelement.h:
      * gst/gstevent.h:
      Avoid excessive typechecking in macros.
      
      * gst/gstminiobject.c: (gst_mini_object_get_type),
      (gst_mini_object_init), (gst_mini_object_new),
      (gst_mini_object_free):
      * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
      (gst_object_finalize):
      Remove cruft code, optimize alloc_trace.
      5bb92462
  12. 24 Oct, 2005 1 commit
  13. 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
  14. 18 Oct, 2005 2 commits
    • Wim Taymans's avatar
      check/: Small state change torture test. · 1cef8c5b
      Wim Taymans authored
      Original commit message from CVS:
      * check/Makefile.am:
      * check/pipelines/stress.c: (GST_START_TEST),
      (simple_launch_lines_suite), (main):
      Small state change torture test.
      
      * docs/design/part-states.txt:
      * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
      (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
      (gst_base_sink_change_state):
      Never take state lock from streaming thread, clean up ugly
      hacks. Unfortunatly core does not yet support nice ways to
      async commit state.
      
      * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
      (bin_bus_handler):
      Start state recalc if a STATE_DIRTY message is posted, but only
      on the toplevel bin.
      
      * gst/gstelement.c: (gst_element_sync_state_with_parent),
      (gst_element_get_state_func), (gst_element_abort_state),
      (gst_element_commit_state), (gst_element_lost_state),
      (gst_element_set_state_func), (gst_element_change_state):
      * gst/gstelement.h:
      State variables are now protected with the LOCK, the state
      lock is only used to serialize _set_state().
      1cef8c5b
    • Wim Taymans's avatar
      gst/: Pending ABI changes. · 74c74e18
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.h:
      * gst/gstelement.c: (gst_element_class_init),
      (gst_element_set_state), (gst_element_set_state_func):
      * gst/gstelement.h:
      Pending ABI changes.
      GThreadPool in GstBinClass to monitor async state changes.
      state_cookie in GstElement to detect concurrent gst/set state.
      set_state is now virtual too in case a very complicated element
      has to be constructed.
      74c74e18
  15. 17 Oct, 2005 1 commit
    • Stefan Kost's avatar
      add new api entries hide internal macro · e000de40
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * docs/libs/gstreamer-libs-sections.txt:
      * gst/gstelement.h:
      add new api entries
      hide internal macro
      e000de40
  16. 15 Oct, 2005 1 commit
    • Thomas Vander Stichele's avatar
      gst/gst.*: remove _gst_registry_auto_load, not used anymore · 2ca1c89a
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * gst/gst.c:
      * gst/gst.h:
      remove _gst_registry_auto_load, not used anymore
      * gst/gstbin.c: (gst_bin_get_type):
      * gst/gstbin.h:
      * gst/gstelement.c: (gst_element_get_type):
      * gst/gstelement.h:
      * gst/gstobject.c: (gst_object_get_type):
      * gst/gstobject.h:
      * gst/gstpad.c: (gst_pad_get_type):
      * gst/gstpad.h:
      make _get_type functions similar, fixes data export from library
      2ca1c89a
  17. 12 Oct, 2005 2 commits
    • Stefan Kost's avatar
      renamed GST_FLAGS macros to GST_OBJECT_FLAGS moved bitshift from macro to enum definition · a98aef82
      Stefan Kost authored
      Original commit message from CVS:
      * check/gst/gstbin.c: (GST_START_TEST):
      * docs/gst/gstreamer-sections.txt:
      * gst/base/gstbasesink.c: (gst_base_sink_init):
      * gst/base/gstbasesrc.c: (gst_base_src_init),
      (gst_base_src_get_range), (gst_base_src_check_get_range),
      (gst_base_src_start), (gst_base_src_stop):
      * gst/base/gstbasesrc.h:
      * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
      * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
      (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
      (bin_bus_handler):
      * gst/gstbin.h:
      * gst/gstbuffer.h:
      * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
      * gst/gstbus.h:
      * gst/gstelement.c: (gst_element_is_locked_state),
      (gst_element_set_locked_state), (gst_element_commit_state),
      (gst_element_set_state):
      * gst/gstelement.h:
      * gst/gstindex.c: (gst_index_init):
      * gst/gstindex.h:
      * gst/gstminiobject.h:
      * gst/gstobject.c: (gst_object_init), (gst_object_sink),
      (gst_object_set_parent):
      * gst/gstobject.h:
      * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
      (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
      * gst/gstpad.h:
      * gst/gstpadtemplate.h:
      * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
      (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
      * gst/gstpipeline.h:
      * gst/indexers/gstfileindex.c: (gst_file_index_load),
      (gst_file_index_commit):
      * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
      * testsuite/pad/link.c: (gst_test_src_init),
      (gst_test_filter_init), (gst_test_sink_init):
      * testsuite/states/locked.c: (main):
      renamed GST_FLAGS macros to GST_OBJECT_FLAGS
      moved bitshift from macro to enum definition
      a98aef82
    • Wim Taymans's avatar
      Use GstClockTime in _get_state() instead of GTimeVal. · 6d0be743
      Wim Taymans authored
      Original commit message from CVS:
      * check/gst/gstbin.c: (GST_START_TEST):
      * check/gst/gstelement.c: (GST_START_TEST):
      * check/gst/gstevent.c: (GST_START_TEST), (test_event):
      * check/gst/gstghostpad.c: (GST_START_TEST):
      * check/gst/gstpipeline.c: (GST_START_TEST):
      * check/pipelines/simple_launch_lines.c: (run_pipeline):
      * check/states/sinks.c: (GST_START_TEST):
      * gst/elements/gsttypefindelement.c: (stop_typefinding):
      * gst/gstbin.c: (gst_bin_provide_clock_func), (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/gstelement.c: (gst_element_get_state_func),
      (gst_element_get_state), (gst_element_abort_state),
      (gst_element_commit_state), (gst_element_set_state),
      (gst_element_change_state), (gst_element_change_state_func):
      * gst/gstelement.h:
      * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
      (gst_pipeline_provide_clock_func):
      * gst/gstutils.c: (gst_element_link_pads_filtered):
      * tools/gst-launch.c: (main):
      * tools/gst-typefind.c: (main):
      Use GstClockTime in _get_state() instead of GTimeVal.
      Remove old code in gstutils.c
      6d0be743
  18. 10 Oct, 2005 2 commits
    • 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
      gst/gstelement.c (gst_element_init, gst_element_finalize): Allocate and free the mutex properly. · cfd14e0f
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-10-10  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstelement.c (gst_element_init, gst_element_finalize):
      Allocate and free the mutex properly.
      
      * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
      New macros.
      (GstElement): The state_lock is now recursive. Rebuild your
      plugins, suckers. Old macros adapted.
      cfd14e0f
  19. 08 Oct, 2005 1 commit
    • Wim Taymans's avatar
      gst/base/gstbasesink.c: Better log message. · 06bc343e
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_handle_buffer):
      Better log message.
      
      * gst/gstbus.h:
      * gst/gstelement.h:
      More docs.
      
      * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
      (gst_queue_set_property), (gst_queue_get_property):
      * gst/gstqueue.h:
      Remove old unused properties.
      06bc343e
  20. 05 Oct, 2005 1 commit
  21. 28 Sep, 2005 1 commit
    • Wim Taymans's avatar
      gst/gstbin.c: Small doc fixes. get_clock -> provide_clock. · de789ca4
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
      (add_to_queue), (clear_queue), (reset_degree), (update_degree),
      (find_element), (gst_bin_sort_iterator_next),
      (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
      (gst_bin_iterate_sorted), (gst_bin_element_set_state),
      (gst_bin_change_state), (gst_bin_dispose):
      Small doc fixes. get_clock -> provide_clock.
      
      * gst/gstelement.c: (gst_element_class_init),
      (gst_element_provides_clock), (gst_element_provide_clock),
      (gst_element_get_clock), (gst_element_commit_state),
      (gst_element_lost_state):
      * gst/gstelement.h:
      Make get/set_clock() symetric. Add provide_clock vmethod since
      that is actually what this function does.
      
      * gst/gstpipeline.c: (gst_pipeline_class_init),
      (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
      (gst_pipeline_get_clock):
      get_clock -> provide_clock.
      de789ca4
  22. 27 Sep, 2005 3 commits
    • 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
    • Wim Taymans's avatar
      docs/design/part-TODO.txt: Update TODO. · 1da84c7e
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-TODO.txt:
      Update TODO.
      
      * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
      (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
      (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
      (gst_bin_iterate_sorted), (gst_bin_element_set_state),
      (gst_bin_change_state):
      * gst/gstelement.h:
      Remove element variable, we keep element info in the iterator now.
      1da84c7e
    • Wim Taymans's avatar
      check/gst/gstbin.c: Enable check that works now. · 4d4a60f6
      Wim Taymans authored
      Original commit message from CVS:
      * check/gst/gstbin.c: (GST_START_TEST):
      Enable check that works now.
      
      * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
      (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
      (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
      (gst_bin_iterate_sorted), (gst_bin_element_set_state),
      (gst_bin_change_state):
      * gst/gstbin.h:
      Redid the state change algorithm using a topological sort algo.
      Handles all cases correctly.
      Exposed iterator for state change order.
      
      * gst/gstelement.h:
      Temp storage for state changes. Need to get rid of this soon.
      4d4a60f6
  23. 23 Sep, 2005 2 commits
    • Thomas Vander Stichele's avatar
      fix docs · f74399ea
      Thomas Vander Stichele authored
      Original commit message from CVS:
      fix docs
      f74399ea
    • Stefan Kost's avatar
      inlined 3 more biiiig doc files and added some missing docs on the fly · 5afb6e68
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * docs/gst/tmpl/.cvsignore:
      * docs/gst/tmpl/gstelement.sgml:
      * docs/gst/tmpl/gstinfo.sgml:
      * docs/gst/tmpl/gstobject.sgml:
      * gst/gstelement.c:
      * gst/gstelement.h:
      * gst/gstinfo.c:
      * gst/gstinfo.h:
      * gst/gstobject.c: (gst_object_class_init):
      * gst/gstobject.h:
      inlined 3 more biiiig doc files and added some missing docs on the fly
      5afb6e68
  24. 22 Sep, 2005 1 commit
    • Wim Taymans's avatar
      gst/gstbin.c: Some more debug info. · 4793bc20
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_add_func):
      Some more debug info.
      
      * gst/gstelement.c: (gst_element_send_event):
      Simplify send_event
      
      * gst/gstelement.h:
      Don't know how flags got broken.
      
      * gst/gstquery.h:
      Added new query.
      4793bc20
  25. 20 Sep, 2005 1 commit
    • Stefan Kost's avatar
      more docs inlined, splitted gstindex.{c,h} · 0838cd0b
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-docs.sgml:
      * docs/gst/gstreamer-sections.txt:
      * docs/gst/tmpl/.cvsignore:
      * gst/Makefile.am:
      * gst/gst.h:
      * gst/gstbin.c:
      * gst/gstelement.h:
      * gst/gstindex.c: (gst_index_class_init):
      * gst/gstindex.h:
      * gst/gstindexfactory.c: (gst_index_factory_get_type),
      (gst_index_factory_class_init), (gst_index_factory_init),
      (gst_index_factory_finalize), (gst_index_factory_new),
      (gst_index_factory_destroy), (gst_index_factory_find),
      (gst_index_factory_create), (gst_index_factory_make):
      * gst/gstindexfactory.h:
      * gst/gstpluginfeature.c:
      * gst/gstpluginfeature.h:
      * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
      more docs inlined, splitted gstindex.{c,h}
      0838cd0b
  26. 11 Sep, 2005 1 commit
  27. 07 Sep, 2005 1 commit
    • Stefan Kost's avatar
      renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter inlined docs for... · b5454f7c
      Stefan Kost authored
      renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter inlined docs for gsttrace, gsttrashstack
      
      Original commit message from CVS:
      * docs/gst/gstreamer-docs.sgml:
      * docs/gst/tmpl/.cvsignore:
      * docs/gst/tmpl/gsttrace.sgml:
      * docs/gst/tmpl/gsttrashstack.sgml:
      * gst/Makefile.am:
      * gst/gst.h:
      * gst/gstelement.h:
      * gst/gstevent.h:
      * gst/gstmessage.c:
      * gst/gstmessage.h:
      * gst/gsttag.c:
      * gst/gsttag.h:
      * gst/gsttaginterface.c:
      * gst/gsttaginterface.h:
      * gst/gsttaglist.c:
      * gst/gsttaglist.h:
      * gst/gsttagsetter.c:
      * gst/gsttagsetter.h:
      * gst/gsttrace.c:
      * gst/gsttrace.h:
      * gst/gsttrashstack.c:
      renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
      inlined docs for gsttrace, gsttrashstack
      b5454f7c
  28. 02 Sep, 2005 2 commits
    • Andy Wingo Wingo's avatar
      gst/gstelement.h: Add magical pixie dust to make glib-mkenums consider this... · 1b38cd4a
      Andy Wingo Wingo authored
      gst/gstelement.h: Add magical pixie dust to make glib-mkenums consider this enum an enum and not a flags.
      
      Original commit message from CVS:
      2005-09-02  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
      consider this enum an enum and not a flags.
      1b38cd4a
    • 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
  29. 24 Aug, 2005 1 commit
    • Jan Schmidt's avatar
      docs/pwg/advanced-types.xml: Well done to Michael for catching my deliberate... · 8aa248c9
      Jan Schmidt authored
      docs/pwg/advanced-types.xml: Well done to Michael for catching my deliberate introduction of this spelling mistake.
      
      Original commit message from CVS:
      * docs/pwg/advanced-types.xml:
      Well done to Michael for catching my deliberate introduction
      of this spelling mistake.
      * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
      * gst/gstelement.h:
      Add GST_ELEMENT_UNPARENTING to prevent races so that we can
      unlink pads before removing the element from the bin.
      8aa248c9
  30. 20 Aug, 2005 1 commit
  31. 27 Jul, 2005 1 commit
    • Wim Taymans's avatar
      Some docs updates · 66d7070e
      Wim Taymans authored
      Original commit message from CVS:
      * CHANGES-0.9:
      * docs/design/part-TODO.txt:
      * docs/design/part-events.txt:
      Some docs updates
      
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_event), (gst_base_sink_do_sync),
      (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
      * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
      (gst_base_src_do_seek), (gst_base_src_event_handler),
      (gst_base_src_loop):
      * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
      (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_set_passthrough),
      (gst_base_transform_is_passthrough):
      * gst/elements/gstfakesink.c: (gst_fake_sink_event):
      * gst/elements/gstfilesink.c: (gst_file_sink_event):
      Event updates.
      
      * gst/gstbuffer.h:
      Use faster casts.
      
      * gst/gstelement.c: (gst_element_seek):
      * gst/gstelement.h:
      Update gst_element_seek.
      
      * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
      (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
      (gst_event_new_flush_start), (gst_event_new_flush_stop),
      (gst_event_new_eos), (gst_event_new_newsegment),
      (gst_event_parse_newsegment), (gst_event_new_tag),
      (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
      (gst_event_parse_qos), (gst_event_new_seek),
      (gst_event_parse_seek), (gst_event_new_navigation):
      * gst/gstevent.h:
      Make GstEvent use GstStructure. Add parsing code, make sure the
      API is sufficiently generic.
      Mark possible directions of events and serialization.
      
      * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
      (_gst_message_copy), (gst_message_new_segment_start),
      (gst_message_new_segment_done), (gst_message_new_custom),
      (gst_message_parse_segment_start),
      (gst_message_parse_segment_done):
      Small cleanups.
      
      * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
      (gst_pad_set_caps), (gst_pad_send_event):
      Update for new events.
      Catch events sent in wrong directions.
      
      * gst/gstqueue.c: (gst_queue_link_src),
      (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
      (gst_queue_handle_src_query):
      Event updates.
      
      * gst/gsttag.c:
      * gst/gsttag.h:
      Remove event code from this file.
      
      * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
      (gst_dp_event_from_packet):
      Event updates.
      66d7070e
  32. 20 Jul, 2005 1 commit
    • Ronald S. Bultje's avatar
      GstElement::new-pad -> pad-added, GstElement::state-change -> state-changed,... · 3f62c7db
      Ronald S. Bultje authored
      GstElement::new-pad -> pad-added, GstElement::state-change -> state-changed, GstValueFixedList -> GstValueArray, add ...
      
      Original commit message from CVS:
      * docs/manual/advanced-autoplugging.xml:
      * docs/manual/basics-helloworld.xml:
      * docs/manual/basics-pads.xml:
      * docs/random/ds/0.9-suggested-changes:
      * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
      * gst/gstelement.h:
      * gst/gstevent.h:
      * gst/gstformat.h:
      * gst/gstquery.h:
      * gst/gststructure.c: (gst_structure_value_get_generic_type),
      (gst_structure_parse_array), (gst_structure_parse_value):
      * gst/gstvalue.c: (gst_type_is_fixed),
      (gst_value_list_prepend_value), (gst_value_list_append_value),
      (gst_value_list_get_size), (gst_value_list_get_value),
      (gst_value_transform_array_string), (gst_value_serialize_array),
      (gst_value_deserialize_array), (gst_value_intersect_array),
      (gst_value_is_fixed), (_gst_value_initialize):
      * gst/gstvalue.h:
      GstElement::new-pad -> pad-added, GstElement::state-change ->
      state-changed, GstValueFixedList -> GstValueArray, add format and
      flags as their own arguments in gst_element_seek() (should improve
      "bindeability"), remove function generators since they don't work
      under a whole bunch of compilers (they were deprecated already
      anyway).
      3f62c7db
  33. 18 Jul, 2005 1 commit
    • Wim Taymans's avatar
      Removed plugable schedulers. · e1aeec6d
      Wim Taymans authored
      Original commit message from CVS:
      Removed plugable schedulers.
      Removed Scheduler/Manager from elements.
      Removed gsttypes.h, rearranged includes.
      Removed dependency pad<->element, element<>pipeline, and
      various others,  fix includes.
      implement gst_pad_get_parent() with gst_object_get_parent()
      Make GstTask sefcontained.
      Fix _get_state() on GstBin, it did not return ASYNC with a 0
      timeout.
      Fix endless loop in iterator_fold_with_resync.
      e1aeec6d