1. 24 Aug, 2005 2 commits
    • 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
    • Jan Schmidt's avatar
      Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so that... · 59a41141
      Jan Schmidt authored
      Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so that applications can sensibly post custom message...
      
      Original commit message from CVS:
      * check/gst/gstbin.c: (GST_START_TEST):
      * gst/gstbin.c: (bin_bus_handler):
      * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
      (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
      (gst_message_new_warning), (gst_message_new_tag),
      (gst_message_new_state_changed), (gst_message_new_segment_start),
      (gst_message_new_segment_done), (gst_message_new_custom):
      * gst/gstmessage.h:
      * tools/gst-launch.c: (event_loop):
      * tools/gst-md5sum.c: (event_loop):
      Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
      that applications can sensibly post custom messages with references
      to their own objects.
      59a41141
  2. 23 Aug, 2005 1 commit
    • Stefan Kost's avatar
      inlined more doc comments, added missing comments and fixed comments fixed typos · 3e1c4a2c
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * docs/gst/tmpl/.cvsignore:
      * docs/gst/tmpl/gstbin.sgml:
      * docs/gst/tmpl/gstbuffer.sgml:
      * gst/base/gstbasesrc.c:
      * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
      * gst/gstbuffer.c:
      * gst/gstbuffer.h:
      * tools/gst-launch.1.in:
      inlined more doc comments, added missing comments and fixed comments
      fixed typos
      3e1c4a2c
  3. 22 Aug, 2005 1 commit
    • Stefan Kost's avatar
      ported gstchildproxy over from 0.8 ported gst-inspect fixes and enhancements over from 0.8 · 650687b4
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-docs.sgml:
      * docs/gst/gstreamer-sections.txt:
      * gst/Makefile.am:
      * gst/gstbin.c: (gst_bin_get_type),
      (gst_bin_child_proxy_get_child_by_index),
      (gst_bin_child_proxy_get_children_count),
      (gst_bin_child_proxy_init):
      * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
      (gst_child_proxy_get_child_by_index),
      (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
      (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
      (gst_child_proxy_get), (gst_child_proxy_set_property),
      (gst_child_proxy_set_valist), (gst_child_proxy_set),
      (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
      (gst_child_proxy_base_init), (gst_child_proxy_get_type):
      * gst/gstchildproxy.h:
      * gst/parse/grammar.y:
      * tools/gst-inspect.c: (print_interfaces),
      (print_element_properties_info), (print_element_info):
      ported gstchildproxy over from 0.8
      ported gst-inspect fixes and enhancements over from 0.8
      650687b4
  4. 21 Aug, 2005 1 commit
    • Thomas Vander Stichele's avatar
      check/Makefile.am: clean up environment for when registry gets built versus... · e5afa8a3
      Thomas Vander Stichele authored
      check/Makefile.am: clean up environment for when registry gets built versus when actual tests are run; valgrind seems...
      
      Original commit message from CVS:
      
      * check/Makefile.am:
      clean up environment for when registry gets built versus
      when actual tests are run; valgrind seems to not report
      leaks if GST_PLUGIN_PATH is set to some specific values
      * check/gst/gstbin.c: (GST_START_TEST):
      add more refcounting checks; maybe this exposes a
      preroll lock bug ?
      * common/check.mak:
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
      * gst/check/gstcheck.h:
      * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
      (gst_bin_change_state):
      * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
      add/fix debugging/whitespace
      e5afa8a3
  5. 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
  6. 16 Aug, 2005 1 commit
    • Wim Taymans's avatar
      check/gst/gstvalue.c: Added subtract checks. · 01ace6b5
      Wim Taymans authored
      Original commit message from CVS:
      * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
      Added subtract checks.
      
      * docs/design/part-events.txt:
      Some more docs about newsegment
      
      * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
      Fix FIXME
      
      * gst/gstcaps.c: (gst_caps_to_string):
      Add comments, cleanups.
      
      * gst/gstelement.c: (gst_element_save_thyself):
      cleanups
      
      * gst/gstvalue.c: (gst_value_collect_int_range),
      (gst_string_unwrap), (gst_value_union_int_int_range),
      (gst_value_union_int_range_int_range),
      (gst_value_intersect_int_int_range),
      (gst_value_intersect_int_range_int_range),
      (gst_value_intersect_double_double_range),
      (gst_value_intersect_double_range_double_range),
      (gst_value_intersect_list), (gst_value_subtract_int_int_range),
      (gst_value_subtract_int_range_int),
      (gst_value_subtract_double_range_double),
      (gst_value_subtract_double_range_double_range),
      (gst_value_subtract_from_list), (gst_value_subtract_list),
      (gst_value_can_compare), (gst_value_compare_fraction):
      Cleanups, add comments, remove unneeded asserts.
      01ace6b5
  7. 08 Aug, 2005 2 commits
  8. 29 Jul, 2005 1 commit
    • Wim Taymans's avatar
      docs/design/part-gstghostpad.txt: Small update. · 49de56dd
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-gstghostpad.txt:
      Small update.
      
      * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
      (gst_bin_remove_func):
      Unlinking pads while holding the bin LOCK is not a good
      idea.
      
      * gst/gstpad.c: (gst_pad_class_init),
      (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
      (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
      No prob setting template after creating the pad.
      49de56dd
  9. 28 Jul, 2005 2 commits
    • Wim Taymans's avatar
      check/gst/gstbin.c: Added checks for hierarchy consistency whan adding linked elements to bins. · a62db7f1
      Wim Taymans authored
      Original commit message from CVS:
      * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
      Added checks for hierarchy consistency whan adding linked
      elements to bins.
      
      * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
      Added check to test element scheduling without bin/pipeline.
      
      * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
      First add elements to bin, then link.
      
      * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
      (gst_bin_remove_func):
      Unlink pads from elements added/removed from bin to maintain
      hierarchy consistency.
      a62db7f1
    • Wim Taymans's avatar
      check/gst/gstghostpad.c: Added some more tests for wrong hierarchy · 7c7a4b68
      Wim Taymans authored
      Original commit message from CVS:
      * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
      Added some more tests for wrong hierarchy
      
      * docs/design/part-overview.txt:
      Some updates.
      
      * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
      Cleanups.
      
      * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
      (gst_element_dispose):
      Some more cleanups.
      
      * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
      (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
      (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
      (gst_pad_set_caps), (gst_pad_send_event):
      Check for correct hierarchy when linking pads. Moving to
      strict requirement for ghostpads when linking elements in
      different bins.
      
      * gst/gstpad.h:
      Clean ups. Added WRONG_HIERARCHY return value.
      7c7a4b68
  10. 18 Jul, 2005 2 commits
    • Jan Schmidt's avatar
      gst/base/gstbasesrc.c: Send discont event from the loop function, as pads... · 518e590f
      Jan Schmidt authored
      gst/base/gstbasesrc.c: Send discont event from the loop function, as pads aren't activated yet in the activate_push h...
      
      Original commit message from CVS:
      * gst/base/gstbasesrc.c: (gst_base_src_loop),
      (gst_base_src_activate_push):
      Send discont event from the loop function, as pads
      aren't activated yet in the activate_push handler.
      
      * gst/gstbin.c: (bin_bus_handler):
      Don't leak element name.
      518e590f
    • 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
  11. 16 Jul, 2005 1 commit
    • Wim Taymans's avatar
      gst/base/gstbasesink.*: Store and use discont values when syncing buffers as... · d5be929b
      Wim Taymans authored
      gst/base/gstbasesink.*: Store and use discont values when syncing buffers as described in design docs.
      
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_event), (gst_base_sink_get_times),
      (gst_base_sink_do_sync), (gst_base_sink_change_state):
      * gst/base/gstbasesink.h:
      Store and use discont values when syncing buffers as described
      in design docs.
      
      * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
      (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
      (gst_base_src_activate_push):
      Push discont event when starting.
      
      * gst/elements/gstidentity.c: (gst_identity_transform):
      Small cleanups.
      
      * gst/gstbin.c: (gst_bin_change_state):
      Small cleanups in base_time  distribution.
      
      * gst/gstelement.c: (gst_element_set_base_time),
      (gst_element_get_base_time), (gst_element_change_state):
      * gst/gstelement.h:
      Added methods for the base_time of the element.
      Some MT fixes.
      
      * gst/gstpipeline.c: (gst_pipeline_send_event),
      (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
      (gst_pipeline_get_last_stream_time):
      * gst/gstpipeline.h:
      MT fixes.
      Handle seeking as described in design doc, remove stream_time
      hack.
      Cleanups clock and stream_time selection code. Added accessors
      for the stream_time.
      d5be929b
  12. 09 Jul, 2005 3 commits
    • Thomas Vander Stichele's avatar
      don't get src for all messages; only for eos · 3f768e81
      Thomas Vander Stichele authored
      Original commit message from CVS:
      don't get src for all messages; only for eos
      3f768e81
    • Thomas Vander Stichele's avatar
      check/gst/gstbin.c: add more things to check · fe313006
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
      (gst_bin_suite):
      add more things to check
      * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
      * gst/gstelement.c:
      more debug
      fe313006
    • Thomas Vander Stichele's avatar
      check/gst/gstbin.c: add test for state change message on a bin · 48464956
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
      add test for state change message on a bin
      * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
      add another test
      * gst/gstbin.c: (gst_bin_init):
      * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
      * gst/gstelement.c: (gst_element_post_message),
      (gst_element_set_state):
      * gst/gstelementfactory.c: (gst_element_factory_create):
      * gst/gstmessage.c: (gst_message_new):
      * gst/gstscheduler.c:
      various debugging additions and cleanups
      48464956
  13. 06 Jul, 2005 1 commit
    • Jan Schmidt's avatar
      examples/: Update a couple of the examples to work again. · ba5cecf3
      Jan Schmidt authored
      Original commit message from CVS:
      * examples/Makefile.am:
      * examples/helloworld/helloworld.c: (event_loop), (main):
      * examples/queue/queue.c: (event_loop), (main):
      * examples/queue2/queue2.c: (main):
      Update a couple of the examples to work again.
      
      * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
      (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
      Spelling corrections and extra debug.
      
      * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
      (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
      (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
      * gst/gstbin.h:
      * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
      (gst_pipeline_change_state):
      * gst/gstpipeline.h:
      Move the bus handler for children to the GstBin, and create a
      separate bus for receiving messages from children to the one the
      bus sends 'upwards' on.
      ba5cecf3
  14. 30 Jun, 2005 1 commit
  15. 28 Jun, 2005 1 commit
  16. 27 Jun, 2005 2 commits
  17. 23 Jun, 2005 1 commit
    • Wim Taymans's avatar
      Added support for live sources and other elements that cannot do preroll. · 1cda8197
      Wim Taymans authored
      Original commit message from CVS:
      Added support for live sources and other elements that
      cannot do preroll.
      Updated design docs, added live-source design doc.
      Implemented live source functionality in basesrc
      Fix error condition in _bin_get_state()
      Implement live source handling in -launch.
      Added check for live sources.
      Fixed case in GstBin where elements were changed state
      multiple times.
      1cda8197
  18. 08 Jun, 2005 1 commit
    • Andy Wingo Wingo's avatar
      gst/gstutils.c: RPAD fixes all around. · 4b908e33
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-06-08  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstutils.c: RPAD fixes all around.
      (gst_element_link_pads): Refcounting fixes.
      
      * tools/gst-inspect.c:
      * tools/gst-xmlinspect.c:
      * parse/grammar.y:
      * gst/base/gsttypefindhelper.c:
      * gst/base/gstbasesink.c:
      * gst/gstqueue.c: RPAD fixes.
      
      * gst/gstghostpad.h:
      * gst/gstghostpad.c: New ghost pad implementation as full proxy
      pads. The tricky thing is they provide both source and sink
      interfaces, since they proxy the internal pad for the external
      pad, and vice versa. Implement with lower-level ProxyPad objects,
      with the interior proxy pad as a child of the exterior ghost pad.
      Should write a doc on this.
      
      * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
      (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
      gst_object API.
      
      * gst/gstpad.c: Big changes. No more stub base GstPad, now all
      pads are real pads. No ghost pads in this file. Not documenting
      the myriad s/RPAD/PAD/ and REALIZE fixes.
      (gst_pad_class_init): Add properties for "direction" and
      "template". Both are construct-only, so they can't change during
      the life of the pad. Fixes properly deriving from GstPad.
      (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
      derived objects, just set properties when creating the objects via
      g_object_new.
      (gst_pad_get_parent): Implement as a function, return NULL if the
      parent is not an element.
      (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
      (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
      
      * gst/gstobject.c (gst_object_class_init): Make name a construct
      property. Don't set it in the object init.
      
      * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
      with UNKNOWN direction.
      (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
      with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
      (gst_element_remove_pad): Remove ghost-pad special cases.
      (gst_element_pads_activate): Remove rpad cruft.
      
      * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
      catch the pad's-parent-not-an-element case.
      
      * gst/gst.h: Include gstghostpad.h.
      
      * gst/gst.c (init_post): No more real, ghost pads.
      
      * gst/Makefile.am: Add gstghostpad.[ch].
      
      * check/Makefile.am:
      * check/gst/gstbin.c:
      * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
      into a bin creates ghost pads, and that the refcounts are right.
      Partly moved from gstbin.c.
      4b908e33
  19. 25 May, 2005 1 commit
    • Wim Taymans's avatar
      gst/: Fix state changes for non sinks. We now change sinks, then elements with... · 56d9730d
      Wim Taymans authored
      gst/: Fix state changes for non sinks. We now change sinks, then elements with unconnected srcpads, then the rest.
      
      Original commit message from CVS:
      * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
      (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
      * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
      (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
      (gst_pad_send_event), (gst_pad_start_task):
      * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
      (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
      (gst_queue_sink_activate), (gst_queue_src_activate),
      (gst_queue_change_state):
      * gst/gstqueue.h:
      Fix state changes for non sinks. We now change sinks, then elements
      with unconnected srcpads, then the rest.
      More efficient queue unlocking in flush and state changes.
      Set the pad activate mode even if it does not have an activate
      function.
      56d9730d
  20. 18 May, 2005 1 commit
  21. 16 May, 2005 1 commit
    • Andy Wingo Wingo's avatar
      gst/gstbin.c (sink_iterator_filter): Err... um... · 04312000
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-05-16  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstbin.c (sink_iterator_filter): Err... um...
      
      * check/gst/gstbin.c (test_ghost_pads): New test for the
      ghosting-if-elements-not-in-same-bin behavior.
      04312000
  22. 14 May, 2005 2 commits
  23. 12 May, 2005 4 commits
    • Wim Taymans's avatar
      gst/: Identify sinks by their flag to avoid overly complicated checks (fow now). · 1c4ea621
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_basesink_init),
      (gst_basesink_activate):
      * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
      (gst_basesrc_is_seekable):
      * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
      (bin_element_is_sink), (gst_bin_change_state):
      * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
      * gst/gstelement.h:
      Identify sinks by their flag to avoid overly complicated
      checks (fow now).
      Do state changes even for elements not reachable from the
      sinks.
      BaseSink is a sink now :)
      Some more debugging info in the basesrc.
      1c4ea621
    • Ronald S. Bultje's avatar
      gst/gstbin.c: Implement _query on a bin, similar to _send_event. · e4c1ba46
      Ronald S. Bultje authored
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
      Implement _query on a bin, similar to _send_event.
      e4c1ba46
    • Wim Taymans's avatar
      gst/gstbin.c: Same fix as Ronald's but without the signal. · 8694ff47
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
      Same fix as Ronald's but without the signal.
      8694ff47
    • Ronald S. Bultje's avatar
      gst/gstbin.c: If a child is removed from a bin while we remove the child from... · e805d1b7
      Ronald S. Bultje authored
      gst/gstbin.c: If a child is removed from a bin while we remove the child from the bin and while we're retrieving its ...
      
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
      (gst_bin_get_state):
      If a child is removed from a bin while we remove the child from
      the bin and while we're retrieving its state, signal this to the
      get_state function so we abort the wait (instead of waiting for
      a timeout) and can immediately re-iterate over all other elements.
      e805d1b7
  24. 11 May, 2005 1 commit
    • Andy Wingo Wingo's avatar
      gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with · e44beb9f
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-05-10  Andy Wingo  <wingo@pobox.com>
      
      * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
      *all* the arguments.
      
      * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
      stream lock if it's a FLUSH_DONE; normal flushes don't get the
      lock (according to the docs -- if this is wrong change the docs).
      
      * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
      flush messages in the NULL state.
      
      * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
      message immediately and return.
      (gst_bus_set_flushing): New function. If a bus is flushing, it
      flushes out any queued messages and immediately unrefs new
      messages. This is so when an element goes to NULL, all of the
      unhandled messages coming from it can be freed, and their
      references to the element dropped. In other words: message source
      ref considered harmful :P
      
      * gst/gstbin.c (gst_bin_change_state): Unref peer element when
      we're finished with it.
      
      * gst/gstmessage.c (gst_message_new_state_changed):
      e44beb9f
  25. 05 May, 2005 1 commit
    • Wim Taymans's avatar
      gst/: Fix name lookup in GstBin. · d2bf9284
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_send_event), (compare_name),
      (gst_bin_get_by_name):
      * gst/gstbuffer.h:
      * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
      (gst_clock_finalize):
      * gst/gstdata.c: (gst_data_replace):
      * gst/gstdata.h:
      * gst/gstelement.c: (gst_element_request_pad),
      (gst_element_pads_activate):
      * gst/gstobject.c: (gst_object_init), (gst_object_ref),
      (gst_object_unref):
      * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
      (gst_pad_set_checkgetrange_function),
      (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
      (gst_pad_check_pull_range), (gst_pad_pull_range),
      (gst_static_pad_template_get_caps), (gst_pad_start_task),
      (gst_pad_pause_task), (gst_pad_stop_task):
      * gst/gstutils.c: (gst_element_get_compatible_pad_template),
      (gst_element_request_pad), (gst_pad_proxy_getcaps):
      Fix name lookup in GstBin.
      Added _data_replace() function and _buffer_replace()
      Use finalize method to clean up clock.
      Fix refcounting on request pads.
      Fix pad schedule mode error.
      Some more object refcounting debug info,
      d2bf9284
  26. 04 May, 2005 1 commit
    • Andy Wingo Wingo's avatar
      GCC 4 fixen. · b4d7be20
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-05-04  Andy Wingo <wingo@pobox.com>
      
      * check/Makefile.am:
      * docs/gst/tmpl/gstatomic.sgml:
      * docs/gst/tmpl/gstplugin.sgml:
      * gst/base/gstbasesink.c: (gst_basesink_activate):
      * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
      (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
      (gst_basesrc_query), (gst_basesrc_set_property),
      (gst_basesrc_get_property), (gst_basesrc_check_get_range),
      (gst_basesrc_activate):
      * gst/base/gstbasesrc.h:
      * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
      (gst_base_transform_src_activate):
      * gst/elements/gstelements.c:
      * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
      (gst_fakesrc_set_property), (gst_fakesrc_get_property):
      * gst/elements/gsttee.c: (gst_tee_sink_activate):
      * gst/elements/gsttypefindelement.c: (find_element_get_length),
      (gst_type_find_element_checkgetrange),
      (gst_type_find_element_activate):
      * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
      * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
      (gst_caps_load_thyself):
      * gst/gstelement.c: (gst_element_pads_activate),
      (gst_element_save_thyself), (gst_element_restore_thyself):
      * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
      (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
      * gst/gstpad.h:
      * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
      (gst_xml_parse_file), (gst_xml_parse_memory),
      (gst_xml_get_element), (gst_xml_make_element):
      * gst/indexers/gstfileindex.c: (gst_file_index_load),
      (_file_index_id_save_xml), (gst_file_index_commit):
      * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
      (read_enum), (load_pad_template), (load_feature), (load_plugin),
      (load_paths):
      * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
      (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
      * tools/gst-complete.c: (main):
      * tools/gst-compprep.c: (main):
      * tools/gst-inspect.c: (print_element_properties_info):
      * tools/gst-launch.c: (xmllaunch_parse_cmdline):
      * tools/gst-xmlinspect.c: (print_element_properties):
      GCC 4 fixen.
      b4d7be20
  27. 28 Mar, 2005 1 commit
    • Wim Taymans's avatar
      Added state change code. · 326d36b8
      Wim Taymans authored
      Original commit message from CVS:
      Added state change code.
      Added/updated docs.
      Added sink base class, make fakesink extend the base class.
      Small cleanups in GstPipeline.
      326d36b8
  28. 25 Mar, 2005 1 commit
    • Ronald S. Bultje's avatar
      gst/gstbin.c: Add default event/set_manager handlers. The set_manager handler... · 8eb4bb6a
      Ronald S. Bultje authored
      gst/gstbin.c: Add default event/set_manager handlers. The set_manager handler takes care that the manager is distribu...
      
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
      (gst_bin_send_event):
      Add default event/set_manager handlers. The set_manager handler
      takes care that the manager is distributed over kids that were
      already in the bin before the manager was set. The event handler
      is a utility virtual function that sends the event over all sinks,
      so that gst_element_send_event (bin, event); has the expected
      behaviour.
      * gst/gstpad.c: (gst_pad_event_default):
      Re-install default event handling for discontinuities, so that
      seeking works without requiring hacks in applications or extra
      code in sinks.
      * gst/gstpipeline.c: (gst_pipeline_class_init),
      (gst_pipeline_send_event):
      Half hack, half utility: set a pipeline to PAUSED for seek events,
      since that is the only way we can guarantee a/v sync. Means that
      you can do gst_element_seek (pipeline, method, pos); on a pipeline
      and it "just works".
      8eb4bb6a
  29. 21 Mar, 2005 1 commit
    • Wim Taymans's avatar
      Next big merge. · c2f41a89
      Wim Taymans authored
      Original commit message from CVS:
      Next big merge.
      Added GstBus for mainloop integration.
      Added GstMessage for sending notifications on the bus.
      Added GstTask as an abstraction for pipeline entry points.
      Removed GstThread.
      Removed Schedulers.
      Simplified GstQueue for multithreaded core.
      Made _link threadsafe, removed old capsnego.
      Added STREAM_LOCK and PREROLL_LOCK in GstPad.
      Added pad blocking functions.
      Reworked scheduling functions in GstPad to prepare for
      scheduling updates soon.
      Moved events out of data stream.
      Simplified GstEvent types.
      Added return values to push/pull.
      Removed clocking from GstElement.
      Added prototypes for state change function for next merge.
      Removed iterate from bins and state change management.
      Fixed some elements, disabled others for now.
      Fixed -inspect and -launch.
      Added check for GstBus.
      c2f41a89