1. 06 Oct, 2005 4 commits
  2. 05 Oct, 2005 4 commits
  3. 04 Oct, 2005 4 commits
    • Wim Taymans's avatar
      gst/elements/: Protect last_message with lock. · aabe6fe0
      Wim Taymans authored
      Original commit message from CVS:
      * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
      (gst_fake_sink_event), (gst_fake_sink_preroll),
      (gst_fake_sink_render), (gst_fake_sink_change_state):
      * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
      (gst_fake_src_get_property), (gst_fake_src_create),
      (gst_fake_src_stop):
      * gst/elements/gstidentity.c: (gst_identity_stop):
      Protect last_message with lock.
      aabe6fe0
    • Edward Hervey's avatar
      gst/gstformat.h: Added precision in the comments for GST_FORMAT_DEFAULT · c07a5da2
      Edward Hervey authored
      Original commit message from CVS:
      * gst/gstformat.h:
      Added precision in the comments for GST_FORMAT_DEFAULT
      c07a5da2
    • Michael Smith's avatar
      gst/gsterror.c: Add another error string used in a few existing plugins. · 35188bbe
      Michael Smith authored
      Original commit message from CVS:
      * gst/gsterror.c: (_gst_stream_errors_init):
      Add another error string used in a few existing plugins.
      
      * gst/gstplugin.c:
      * gst/gstpluginfeature.c: (gst_plugin_feature_load):
      * tools/gst-inspect.c: (print_element_info):
      When a feature disappears from a plugin (and the feature exists in
      the cached registry file), things went horribly wrong. This isn't a
      complete fix, we should actually be removing the 'missing' features
      from the features list when we load the actual plugin. That's not
      yet implemented.
      35188bbe
    • Julien Moutte Moutte's avatar
      gst/gstbus.c: We don't need this header. · 0a55c5f6
      Julien Moutte Moutte authored
      Original commit message from CVS:
      2005-10-04  Julien MOUTTE  <julien@moutte.net>
      
      * gst/gstbus.c: We don't need this header.
      0a55c5f6
  4. 02 Oct, 2005 3 commits
    • Andy Wingo Wingo's avatar
      gst/gstpad.c (gst_pad_activate_push): There is a race condition whereby... · 60f3c2b5
      Andy Wingo Wingo authored
      gst/gstpad.c (gst_pad_activate_push): There is a race condition whereby calling a pad's activatepush() function can s...
      
      Original commit message from CVS:
      2005-10-03  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstpad.c (gst_pad_activate_push): There is a race condition
      whereby calling a pad's activatepush() function can start a thread
      that starts to push or pull before the pad gets the FLUSHING flag
      unset. Hack around it by holding the stream lock until the flag is
      set. Need to replace this with a proper solution. Together with
      the ghost pad fixes, this fixes mp3 playing/tagreading.
      60f3c2b5
    • Andy Wingo Wingo's avatar
      docs/design/part-gstghostpad.txt: Add a note about activation of proxy pads outside of ghost pads. · 9d28c696
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-10-03  Andy Wingo  <wingo@pobox.com>
      
      * docs/design/part-gstghostpad.txt: Add a note about activation of
      proxy pads outside of ghost pads.
      
      * gst/gstghostpad.c: Implement the ghost pad activation design.
      9d28c696
    • Andy Wingo Wingo's avatar
      gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int. · 38100682
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-10-02  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
      It is volatile, after all.
      
      * docs/design/part-gstghostpad.txt: Flesh out activation with
      ghost pads.
      
      * gst/base/gstbasesrc.c (gst_base_src_init): Use
      GST_DEBUG_FUNCPTR.
      38100682
  5. 01 Oct, 2005 1 commit
    • Tim-Philipp Müller's avatar
      gst/gstutils.c: Add assertion that makes sure src_val is >=0, just like... · 5b5e1702
      Tim-Philipp Müller authored
      gst/gstutils.c: Add assertion that makes sure src_val is >=0, just like gst_query_new_convert() has. (#315895)
      
      Original commit message from CVS:
      Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
      * gst/gstutils.c: (gst_pad_query_convert):
      Add assertion that makes sure src_val is >=0, just like
      gst_query_new_convert() has. (#315895)
      5b5e1702
  6. 30 Sep, 2005 3 commits
    • Edward Hervey's avatar
      gst/elements/gsttee.c: Let's not iterate pads we're not interested in, it... · 6fcaf333
      Edward Hervey authored
      gst/elements/gsttee.c: Let's not iterate pads we're not interested in, it avoids getting sky-high refcounts on sinkpad.
      
      Original commit message from CVS:
      * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
      Let's not iterate pads we're not interested in, it avoids getting
      sky-high refcounts on sinkpad.
      6fcaf333
    • Wim Taymans's avatar
      gst/gstelement.c: Small tweak, element in ASYNC remains ASYNC. · 93823de1
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstelement.c: (gst_element_set_state),
      (gst_element_change_state):
      Small tweak, element in ASYNC remains ASYNC.
      93823de1
    • Wim Taymans's avatar
      gst/base/gstbasesink.c: Only error is an error. · 2d3e9f64
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_change_state):
      Only error is an error.
      
      * gst/gstbin.c: (gst_bin_change_state):
      Better debugging.
      
      * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
      Also call pad_block in pad alloc.
      
      * gst/gstutils.c: (gst_flow_get_name):
      Better debugging.
      2d3e9f64
  7. 29 Sep, 2005 13 commits
    • Tim-Philipp Müller's avatar
      gst/base/gstbasesrc.c: Fix documentation typos. Add some more debug info. · 428cf341
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/base/gstbasesrc.c: (gst_base_src_class_init),
      (gst_base_src_get_range):
      Fix documentation typos. Add some more debug info.
      428cf341
    • David Schleef's avatar
      gst/gstplugin.c: Make some error messages more end-user friendly. · 1ba0964a
      David Schleef authored
      Original commit message from CVS:
      * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
      more end-user friendly.
      * tools/gst-inspect.c: (main): Check if command-line argument is
      a file and attempt to load that file as a plugin.
      1ba0964a
    • Thomas Vander Stichele's avatar
      check/: fix tests for the new warning · 18682cac
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * check/gst/gstbin.c:
      * check/states/sinks.c:
      fix tests for the new warning
      * check/gst/gstpipeline.c:
      add a test for pipeline and bus interaction
      * gst/gstelement.c:
      elements should be NULL if they get disposed; add a warning if not
      18682cac
    • Thomas Vander Stichele's avatar
      gst/gstobject.c: for 2.6 refcounting, make debug log more correct by printing... · 91e8b0bb
      Thomas Vander Stichele authored
      gst/gstobject.c: for 2.6 refcounting, make debug log more correct by printing the actual refcounts at the time of swa...
      
      Original commit message from CVS:
      
      * gst/gstobject.c:
      for 2.6 refcounting, make debug log more correct by printing
      the actual refcounts at the time of swap (Wim)
      91e8b0bb
    • Thomas Vander Stichele's avatar
      use message type names · 8c2deca3
      Thomas Vander Stichele authored
      Original commit message from CVS:
      use message type names
      8c2deca3
    • Andy Wingo Wingo's avatar
      gst/gstbus.c (gst_bus_remove_signal_watch): New function, removes signal... · 410315b3
      Andy Wingo Wingo authored
      gst/gstbus.c (gst_bus_remove_signal_watch): New function, removes signal watches previously added via gst_bus_add_sig...
      
      Original commit message from CVS:
      2005-09-29  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
      removes signal watches previously added via
      gst_bus_add_signal_watch.
      (gst_bus_add_signal_watch): Don't return the source id, just store
      it on the bus if there wasn't an id already.
      
      * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
      add_signal_watch and remove_signal_watch.
      410315b3
    • 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
    • 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
  8. 28 Sep, 2005 7 commits
    • 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
    • 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
  9. 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