1. 29 Sep, 2005 9 commits
    • Wim Taymans's avatar
      check/gst/gstbin.c: Change for new bus API. · 4d6a0303
      Wim Taymans authored
      Original commit message from CVS:
      * check/gst/gstbin.c: (GST_START_TEST):
      Change for new bus API.
      
      * check/gst/gstbus.c: (message_func_eos), (message_func_app),
      (send_messages), (GST_START_TEST), (gstbus_suite):
      Change for new bus signal API.
      
      * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
      (gst_bus_source_prepare), (gst_bus_source_check),
      (gst_bus_create_watch), (gst_bus_add_watch_full),
      (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
      (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
      * gst/gstbus.h:
      Remove support for multiple GSources operating on different
      message types as it is too complex and unneeded when using
      signals.
      Added support for receiving signals from the bus.
      4d6a0303
    • Thomas Vander Stichele's avatar
      rename filter-caps to caps property · 482d3624
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * docs/libs/tmpl/gstdataprotocol.sgml:
      * docs/manual/advanced-dataaccess.xml:
      * gst/elements/gstcapsfilter.c:
      * gst/gstutils.c:
      rename filter-caps to caps property
      482d3624
    • Tim-Philipp Müller's avatar
      gst/gstvalue.c: More robust fraction string parsing. · fa0afcaf
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/gstvalue.c: (gst_value_deserialize_fraction):
      More robust fraction string parsing.
      * docs/pwg/appendix-porting.xml:
      Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
      fa0afcaf
    • Tim-Philipp Müller's avatar
      gst/gstcaps.c: Thou shalt not free a structure and then continue using it in... · 356893d5
      Tim-Philipp Müller authored
      gst/gstcaps.c: Thou shalt not free a structure and then continue using it in the next loop iteration.
      
      Original commit message from CVS:
      * gst/gstcaps.c: (gst_caps_do_simplify):
      Thou shalt not free a structure and then continue using it
      in the next loop iteration.
      * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
      (gst_caps_suite):
      Add test case for caps simplification.
      356893d5
    • Thomas Vander Stichele's avatar
      remove two removed functions · 5178234e
      Thomas Vander Stichele authored
      Original commit message from CVS:
      remove two removed functions
      5178234e
    • Wim Taymans's avatar
      check/gst/gstbin.c: Oops. · e2441a99
      Wim Taymans authored
      Original commit message from CVS:
      * check/gst/gstbin.c: (GST_START_TEST):
      Oops.
      e2441a99
    • Wim Taymans's avatar
      check/gst/gstbin.c: Add bus to bin. · 92836e51
      Wim Taymans authored
      Original commit message from CVS:
      * check/gst/gstbin.c: (GST_START_TEST):
      Add bus to bin.
      
      * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
      (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):
      A bin does not have a bus, it gets the bus from the parent.
      
      * gst/gstelement.c: (gst_element_requires_clock),
      (gst_element_provides_clock), (gst_element_is_indexable),
      (gst_element_is_locked_state), (gst_element_change_state),
      (gst_element_set_bus_func):
      Small cleanups.
      
      * gst/gstpipeline.c: (gst_pipeline_class_init),
      (gst_pipeline_init), (gst_pipeline_provide_clock_func):
      The pipeline provides a bus.
      92836e51
    • Johan Dahlin's avatar
      gst/gstmessage.c (gst_message_parse_state_changed): Use gst_structure_get_enum... · d52d4b4a
      Johan Dahlin authored
      gst/gstmessage.c (gst_message_parse_state_changed): Use gst_structure_get_enum instead of gst_structure_get_int
      
      Original commit message from CVS:
      * gst/gstmessage.c (gst_message_parse_state_changed): Use
      gst_structure_get_enum instead of gst_structure_get_int
      
      * gst/gststructure.c (gst_structure_get_enum): Impl.
      
      * gst/gststructure.h (gst_structure_get_enum): Add
      
      * docs/gst/gstreamer-sections.txt: Ditto
      d52d4b4a
    • Johan Dahlin's avatar
      gst/gstmessage.c (gst_message_new_state_changed): Use · bdb21477
      Johan Dahlin authored
      Original commit message from CVS:
      * gst/gstmessage.c (gst_message_new_state_changed): Use
      GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
      which does introspection.
      Reviewed by Christian Schaller
      bdb21477
  2. 28 Sep, 2005 9 commits
    • Stefan Kost's avatar
      fixed umlauts in ChangeLog again · 8cebe237
      Stefan Kost authored
      Original commit message from CVS:
      fixed umlauts in ChangeLog again
      8cebe237
    • Stefan Kost's avatar
      gst/gstinfo.c: don't do dummy g_strdup()s · e37803d6
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstinfo.c: (gst_debug_log_default):
      don't do dummy g_strdup()s
      * libs/gst/controller/gstcontroller.c:
      (on_object_controlled_property_changed),
      (gst_controlled_property_new), (gst_controller_new_valist),
      (gst_controller_new_list),
      (gst_controller_remove_properties_valist), (gst_controller_set),
      (gst_controller_get), (gst_controller_sync_values),
      (gst_controller_get_value_array), (_gst_controller_class_init),
      (gst_controller_get_type):
      * libs/gst/controller/gstcontroller.h:
      * libs/gst/controller/gstinterpolation.c:
      (gst_controlled_property_find_timed_value_node):
      convert // to /**/ comments
      e37803d6
    • Wim Taymans's avatar
      gst/gstbus.*: Added async-message and sync-message signals to the bus. · bf443a46
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
      (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
      (gst_bus_sync_signal_handler):
      * gst/gstbus.h:
      Added async-message and sync-message signals to the bus.
      Added helper BusFunc to emit signals for all posted messages.
      
      * gst/gstmessage.c: (gst_message_type_get_name),
      (gst_message_type_to_quark), (gst_message_get_type):
      * gst/gstmessage.h:
      Register quarks for message names.
      bf443a46
    • Stefan Kost's avatar
      added another constructor for language bindings · d6b67a4d
      Stefan Kost authored
      Original commit message from CVS:
      * docs/libs/gstreamer-libs-sections.txt:
      * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
      (gst_controller_new_list):
      * libs/gst/controller/gstcontroller.h:
      added another constructor for language bindings
      d6b67a4d
    • Thomas Vander Stichele's avatar
      check/gst/gstpipeline.c: add another check · 5ae3bc47
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
      add another check
      * gst/gstbus.c:
      add some doc
      * gst/gstinfo.c: (_gst_debug_init):
      slightly more readable color for refcount debugging
      5ae3bc47
    • 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
    • Andy Wingo Wingo's avatar
      gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in lieu of real docs... · 5111420f
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-09-28  Andy Wingo  <wingo@pobox.com>
      
      * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
      lieu of real docs...
      
      * gst/elements/gstfdsrc.c: Cleaned up a bit.
      5111420f
    • Tim-Philipp Müller's avatar
      gst/elements/: Make element details static. · 99d855fd
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/elements/gstcapsfilter.c:
      * gst/elements/gstfakesink.c:
      * gst/elements/gstfakesrc.c:
      * gst/elements/gstfdsink.c:
      * gst/elements/gstfdsrc.c:
      * gst/elements/gstfilesink.c:
      * gst/elements/gstfilesrc.c:
      * gst/elements/gstidentity.c:
      * gst/elements/gsttee.c:
      * gst/elements/gsttypefindelement.c:
      Make element details static.
      99d855fd
    • Wim Taymans's avatar
      gst/gstbin.c: Some documentation updates. · cacb844d
      Wim Taymans authored
      Original commit message from CVS:
      * 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_bin_dispose):
      Some documentation updates.
      Clean up dispose handlers.
      
      * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
      * gst/gstpad.c: (gst_pad_dispose):
      Clean up dispose handler.
      
      * gst/gstpipeline.c: (gst_pipeline_change_state):
      Removed spurious UNLOCK.
      cacb844d
  3. 27 Sep, 2005 10 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
    • Thomas Vander Stichele's avatar
      gst/: remove now useless and leaky resurrection code in dispose · daadaad8
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * gst/gstbin.c: (gst_bin_dispose):
      * gst/gstelement.c: (gst_element_dispose):
      remove now useless and leaky resurrection code in dispose
      * gst/base/gstbasesrc.c: (gst_base_src_init):
      * gst/gstelementfactory.c: (gst_element_factory_create):
      * gst/gstobject.c: (gst_object_set_parent):
      add some debugging
      daadaad8
    • 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
    • Andy Wingo Wingo's avatar
      libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return values. · 7f2ea50a
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-09-27  Andy Wingo  <wingo@pobox.com>
      
      * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
      values.
      7f2ea50a
    • 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
    • Wim Taymans's avatar
      gst/: Leak fixes, the fold functions need to unref the passed object and... · 590a0cfb
      Wim Taymans authored
      gst/: Leak fixes, the fold functions need to unref the passed object and _get_parent_*() returns ref to parent.
      
      Original commit message from CVS:
      * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
      * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
      (link_fold_func), (gst_pad_proxy_setcaps):
      Leak fixes, the fold functions need to unref the passed object and
      _get_parent_*() returns ref to parent.
      590a0cfb
    • Tim-Philipp Müller's avatar
      check/gst/gstbuffer.c: Plug leak in test case and fix 'make check-valgrind' · 7d1cb339
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * check/gst/gstbuffer.c: (test_make_writable):
      Plug leak in test case and fix 'make check-valgrind'
      7d1cb339
    • Tim-Philipp Müller's avatar
      gst/gstbuffer.c: Set READONLY flag on subbuffers, so that... · 246fee25
      Tim-Philipp Müller authored
      gst/gstbuffer.c: Set READONLY flag on subbuffers, so that gst_buffer_make_writable() works correctly in all circumsta...
      
      Original commit message from CVS:
      * gst/gstbuffer.c: (gst_subbuffer_init):
      Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
      works correctly in all circumstances (we could have just copied
      the parent buffer's readonly flag, but conceptually it seems
      cleaner to mark all subbuffers as read-only). (based on patch
      by Alessandro Decina, #314710).
      * check/gst/gstbuffer.c: (create_read_only_buffer),
      (test_make_writable), (test_subbuffer_make_writable),
      (gst_test_suite):
      Add some tests for gst_buffer_make_writable().
      246fee25
    • Wim Taymans's avatar
      gst/gstbin.c: use gst_object_has_ancestor(). · 01085fa2
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
      use gst_object_has_ancestor().
      
      * gst/gstobject.c: (gst_object_has_ancestor):
      * gst/gstobject.h:
      gst_object_has_ancestor() copied from gstbin.c as it is a
      usefull function.
      
      * tests/instantiate/create.c: (create_all_elements):
      * tests/lat.c: (handoff_src), (handoff_sink):
      * tests/sched/runxml.c: (main):
      * tests/seeking/seeking1.c: (main):
      * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
      (main):
      Fix compilation of some tests.
      01085fa2
    • Tim-Philipp Müller's avatar
      gst/gsterror.h: Remove comment. GST_TYPE_G_ERROR is here to stay, · f9a16f0a
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/gsterror.h:
      Remove comment. GST_TYPE_G_ERROR is here to stay,
      G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
      (#316961, #300610).
      f9a16f0a
  4. 26 Sep, 2005 11 commits
  5. 25 Sep, 2005 1 commit
    • Stefan Kost's avatar
      added more docs · 2a7a17ce
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/base/gstbasetransform.h:
      * gst/gstindex.h:
      added more docs
      2a7a17ce