1. 05 May, 2005 2 commits
    • Wim Taymans's avatar
      gst/: Added object to help in making collect pad based elements. · 113250d2
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/Makefile.am:
      * gst/base/gstbasesink.h:
      * gst/base/gstbasesrc.c: (gst_basesrc_init),
      (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
      * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
      (gst_collectpads_class_init), (gst_collectpads_init),
      (gst_collectpads_finalize), (gst_collectpads_new),
      (gst_collectpads_set_function), (gst_collectpads_add_pad),
      (find_pad), (gst_collectpads_remove_pad),
      (gst_collectpads_is_active), (gst_collectpads_collect),
      (gst_collectpads_collect_range), (gst_collectpads_start),
      (gst_collectpads_stop), (gst_collectpads_peek),
      (gst_collectpads_pop), (gst_collectpads_available),
      (gst_collectpads_read), (gst_collectpads_flush),
      (gst_collectpads_chain):
      * gst/base/gstcollectpads.h:
      * gst/elements/Makefile.am:
      * gst/elements/gstelements.c:
      * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
      (gst_fakesink_get_times), (gst_fakesink_event),
      (gst_fakesink_preroll), (gst_fakesink_render):
      * gst/elements/gstfilesink.c: (gst_filesink_class_init),
      (gst_filesink_init), (gst_filesink_set_location),
      (gst_filesink_open_file), (gst_filesink_close_file),
      (gst_filesink_pad_query), (gst_filesink_event),
      (gst_filesink_render), (gst_filesink_change_state):
      * gst/elements/gstfilesink.h:
      Added object to help in making collect pad based elements.
      Ported filesink.
      Make event function in sink baseclass return gboolean.
      113250d2
    • 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
  2. 04 May, 2005 2 commits
    • 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
    • Christian Schaller's avatar
      fix up spec file to work for 0.9 branch · 52b230c1
      Christian Schaller authored
      Original commit message from CVS:
      fix up spec file to work for 0.9 branch
      52b230c1
  3. 03 May, 2005 1 commit
  4. 02 May, 2005 6 commits
  5. 28 Apr, 2005 1 commit
    • Wim Taymans's avatar
      gst/: Better debugging of clocking info. · 71359c38
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_basesink_base_init),
      (gst_basesink_pad_getcaps), (gst_basesink_init),
      (gst_basesink_do_sync):
      * gst/gstclock.c: (gst_clock_entry_new):
      * gst/gstevent.c: (gst_event_discont_get_value):
      * gst/gstpipeline.c: (pipeline_bus_handler),
      (gst_pipeline_change_state):
      * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
      Better debugging of clocking info.
      Allow NULL values when getting discont values.
      71359c38
  6. 27 Apr, 2005 2 commits
  7. 26 Apr, 2005 1 commit
    • Wim Taymans's avatar
      gst/gsttrashstack.h: Ooohh. a nasty one! After having a failed pop() from the... · d68914ad
      Wim Taymans authored
      gst/gsttrashstack.h: Ooohh. a nasty one! After having a failed pop() from the stack, it's possible that the stack is ...
      
      Original commit message from CVS:
      * gst/gsttrashstack.h:
      Ooohh. a nasty one! After having a failed pop() from the stack,
      it's possible that the stack is empty. In that case, don't
      follow the NULL pointer.
      d68914ad
  8. 25 Apr, 2005 5 commits
    • Wim Taymans's avatar
      gst/: Remove gst_library_load as it does more harm than good with the new g_module flags. · 50b44cdd
      Wim Taymans authored
      Original commit message from CVS:
      * 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_link_prepare),
      (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/gstplugin.c: (gst_plugin_load):
      * gst/gstplugin.h:
      Remove gst_library_load as it does more harm than good with
      the new g_module flags.
      Revert bogus caps template check in pad linking, pad caps
      are important when linking not the template, which is more
      general than the current caps.
      50b44cdd
    • Thomas Vander Stichele's avatar
      there is no speed. really. · 995c5728
      Thomas Vander Stichele authored
      Original commit message from CVS:
      there is no speed.  really.
      995c5728
    • Ronald S. Bultje's avatar
      gst/autoplug/: Die, spider, die. · 778981a3
      Ronald S. Bultje authored
      Original commit message from CVS:
      * gst/autoplug/.cvsignore:
      * gst/autoplug/Makefile.am:
      * gst/autoplug/gstsearchfuncs.c:
      * gst/autoplug/gstsearchfuncs.h:
      * gst/autoplug/gstspider.c:
      * gst/autoplug/gstspider.h:
      * gst/autoplug/gstspideridentity.c:
      * gst/autoplug/gstspideridentity.h:
      * gst/autoplug/spidertest.c:
      Die, spider, die.
      778981a3
    • Wim Taymans's avatar
      gst/gstpad.*: Added stubs for unimplemented functions. · f494f49a
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
      (gst_pad_set_checkgetrange_function), (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/gstpad.h:
      Added stubs for unimplemented functions.
      f494f49a
    • Jan Schmidt's avatar
      file python-elements.txt was initially added on branch BRANCH-GSTREAMER-0_8. · a4d5ab47
      Jan Schmidt authored
      Original commit message from CVS:
      file python-elements.txt was initially added on branch BRANCH-GSTREAMER-0_8.
      a4d5ab47
  9. 24 Apr, 2005 4 commits
    • David Schleef's avatar
      gst/gstpad.h: Disable some unimplemented functions. Wim, please fix. · 4956e9d5
      David Schleef authored
      Original commit message from CVS:
      * gst/gstpad.h: Disable some unimplemented functions.  Wim,
      please fix.
      4956e9d5
    • David Schleef's avatar
      Convert everything from GstAtomicInt to g_atomic_int_*, and remove gstatomic. · 46e13eb5
      David Schleef authored
      Original commit message from CVS:
      Convert everything from GstAtomicInt to g_atomic_int_*, and
      remove gstatomic.
      * gst/Makefile.am:
      * gst/gstatomic.c:
      * gst/gstatomic.h:
      * gst/gstatomic_impl.h:
      * gst/gstbuffer.c:
      * gst/gstcaps.c:
      * gst/gstcaps.h:
      * gst/gstclock.c:
      * gst/gstclock.h:
      * gst/gstdata.c:
      * gst/gstdata.h:
      * gst/gstdata_private.h:
      * gst/gstevent.c:
      * gst/gstinfo.c:
      * gst/gstinfo.h:
      * gst/gstmessage.c:
      * gst/gstobject.c:
      * gst/gstobject.h:
      * gst/gststructure.c:
      * gst/gststructure.h:
      * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
      * gst/gstutils.h:
      46e13eb5
    • David Schleef's avatar
      check/gst/gstpad.c: Oh yeah, it's always nice to make the regressions tests... · 01c25dc7
      David Schleef authored
      check/gst/gstpad.c: Oh yeah, it's always nice to make the regressions tests work.  Remove some code that is no longer...
      
      Original commit message from CVS:
      * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
      make the regressions tests work.  Remove some code that is no
      longer true.
      * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
      Disable warning for pads without templates.
      01c25dc7
    • David Schleef's avatar
      gst/gstpad.c: Remove handling of filtered caps. Fix/merge functions that handle filtered links. · 65dd8e97
      David Schleef authored
      Original commit message from CVS:
      * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
      functions that handle filtered links.
      * gst/gstpad.h: Remove 'appfilter' field and prototypes of
      removed functions.
      * gst/gstutils.c: Fix/remove utility functions that handle
      filtered caps.
      * gst/gstutils.h:
      * gst/gstvalue.c: Add serialization/deserialization of caps
      * gst/parse/grammar.y: Ignore filtered caps when linking.  This
      requires fixing so that the filter caps notation creates
      a capsfilter element and sets the filter_caps property.  I
      think everyone probably wants to keep the shorthand notation.
      * docs/gst/tmpl/gstelement.sgml: updates for API changes.
      * docs/gst/tmpl/gstpad.sgml:
      * gst/elements/gstelements.c: Register capsfilter element.
      * gst/Makefile.am: fix spacing
      * docs/random/ds/0.9-suggested-changes: random
      65dd8e97
  10. 23 Apr, 2005 2 commits
    • David Schleef's avatar
      gst/elements/: New element that acts like an identity, but filters caps. Will... · 9dfa6cd0
      David Schleef authored
      gst/elements/: New element that acts like an identity, but filters caps.  Will eventually replace filtered caps in pa...
      
      Original commit message from CVS:
      * gst/elements/Makefile.am:
      * gst/elements/gstcapsfilter.c: New element that acts like an
      identity, but filters caps.  Will eventually replace filtered
      caps in pad linking.
      * gst/gstutils.c: (gst_element_create_all_pads): New function
      to create all the ALWAYS pads that are registered with an
      element class.  This functionality should eventually be
      merged in with GstElement initialization.
      * gst/gstutils.h:
      * testsuite/trigger/README: part of trigger test code that should
      have been checked in a long time ago.
      9dfa6cd0
    • David Schleef's avatar
      gst/Makefile.am: Remove as-libtool stuff. It's likely not and hard to carry around. · 7e89cbf5
      David Schleef authored
      Original commit message from CVS:
      * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
      needed with new versions of libtool (nobody will confirm this),
      and hard to carry around.
      * gst/autoplug/Makefile.am:
      * gst/base/Makefile.am:
      * gst/elements/Makefile.am:
      * gst/indexers/Makefile.am:
      * gst/schedulers/Makefile.am:
      * libs/gst/bytestream/Makefile.am:
      * libs/gst/control/Makefile.am:
      * libs/gst/dataprotocol/Makefile.am:
      * libs/gst/getbits/Makefile.am:
      7e89cbf5
  11. 21 Apr, 2005 3 commits
    • Stefan Kost's avatar
      file Makefile.am was initially added on branch BRANCH-GSTREAMER-0_8. · 07340c4e
      Stefan Kost authored
      Original commit message from CVS:
      file Makefile.am was initially added on branch BRANCH-GSTREAMER-0_8.
      07340c4e
    • Wim Taymans's avatar
      docs/design/: Some more docs. · c94f6bf5
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/draft-push-pull.txt:
      * docs/design/part-MT-refcounting.txt:
      * docs/design/part-TODO.txt:
      * docs/design/part-caps.txt:
      * docs/design/part-events.txt:
      * docs/design/part-gstbus.txt:
      * docs/design/part-gstpipeline.txt:
      * docs/design/part-messages.txt:
      * docs/design/part-push-pull.txt:
      * docs/design/part-query.txt:
      Some more docs.
      c94f6bf5
    • Wim Taymans's avatar
      gst/: Use parent refcount in GstMessage to ensure GstStructure consistency. · f059bb2c
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
      (gst_message_new), (gst_message_new_error),
      (gst_message_new_warning), (gst_message_new_tag),
      (gst_message_new_state_changed), (gst_message_new_application),
      (gst_message_get_structure):
      * gst/gstmessage.h:
      * gst/gststructure.c: (gst_structure_set_parent_refcount),
      (gst_structure_copy_conditional):
      Use parent refcount in GstMessage to ensure GstStructure
      consistency.
      Cleaned up headers a bit.
      f059bb2c
  12. 20 Apr, 2005 1 commit
    • Wim Taymans's avatar
      gst/: Make gst_caps_replace() work like other _replace() functions. · ee13415b
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_basesink_base_init),
      (gst_basesink_pad_getcaps), (gst_basesink_init),
      (gst_basesink_chain_unlocked):
      * gst/base/gsttypefindhelper.c: (helper_find_suggest),
      (gst_type_find_helper):
      * gst/elements/gsttypefindelement.c:
      (gst_type_find_element_have_type), (gst_type_find_element_init),
      (stop_typefinding), (gst_type_find_element_handle_event),
      (find_suggest), (gst_type_find_element_chain),
      (gst_type_find_element_checkgetrange),
      (gst_type_find_element_getrange), (do_typefind),
      (gst_type_find_element_activate):
      * gst/gstbuffer.c: (_gst_buffer_sub_free),
      (gst_buffer_default_free), (gst_buffer_default_copy),
      (gst_buffer_set_caps):
      * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
      (gst_caps_replace):
      * gst/gstmessage.c: (gst_message_new),
      (gst_message_new_state_changed):
      * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
      (gst_pad_set_checkgetrange_function),
      (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
      (gst_pad_set_caps), (gst_pad_check_pull_range),
      (gst_pad_pull_range), (gst_static_pad_template_get_caps):
      * gst/gstpad.h:
      * gst/gsttypefind.c: (gst_type_find_register):
      Make gst_caps_replace() work like other _replace() functions.
      Use _caps_replace() where possible.
      Make sure _message_new() initialises its field.
      Add gst_static_pad_template_get_caps()
      ee13415b
  13. 18 Apr, 2005 2 commits
  14. 16 Apr, 2005 3 commits
  15. 14 Apr, 2005 1 commit
  16. 13 Apr, 2005 1 commit
  17. 12 Apr, 2005 3 commits
    • Ronald S. Bultje's avatar
      Use libxml2 for registry parsing, use staticpadtemplates in elementfactories.... · 560d0ba1
      Ronald S. Bultje authored
      Use libxml2 for registry parsing, use staticpadtemplates in elementfactories. Makes gst_init() +/- 10x faster.
      
      Original commit message from CVS:
      * docs/gst/tmpl/gstelementfactory.sgml:
      * gst/gstelement.h:
      * gst/gstelementfactory.c: (gst_element_factory_init),
      (gst_element_factory_cleanup), (gst_element_register),
      (__gst_element_factory_add_static_pad_template),
      (gst_element_factory_get_static_pad_templates),
      (gst_element_factory_can_src_caps),
      (gst_element_factory_can_sink_caps):
      * gst/registries/Makefile.am:
      * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
      (gst_xml_registry_class_init), (gst_xml_registry_init),
      (gst_xml_registry_new), (gst_xml_registry_set_property),
      (gst_xml_registry_get_property), (get_time), (make_dir),
      (gst_xml_registry_get_perms_func),
      (plugin_times_older_than_recurse), (plugin_times_older_than),
      (gst_xml_registry_open_func), (gst_xml_registry_load_func),
      (gst_xml_registry_save_func), (gst_xml_registry_close_func),
      (add_to_char_array), (read_string), (read_uint), (read_enum),
      (load_pad_template), (load_feature), (load_plugin), (load_paths),
      (gst_xml_registry_load), (gst_xml_registry_load_plugin),
      (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
      (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
      (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
      (gst_xml_registry_rebuild):
      * gst/registries/gstlibxmlregistry.h:
      * tools/gst-compprep.c: (main):
      * tools/gst-inspect.c: (print_pad_templates_info):
      * tools/gst-xmlinspect.c: (print_element_info):
      Use libxml2 for registry parsing, use staticpadtemplates in
      elementfactories. Makes gst_init() +/- 10x faster.
      560d0ba1
    • Wim Taymans's avatar
      Added typefind helper. · 499659f6
      Wim Taymans authored
      Original commit message from CVS:
      Added typefind helper.
      Small preroll fix in the base sink.
      Disable typefind code in basesrc.
      Crude port of typefindelement.
      Fakesrc cleanups.
      499659f6
    • Wim Taymans's avatar
      Increase timeout some more · 605ceb3e
      Wim Taymans authored
      Original commit message from CVS:
      Increase timeout some more
      605ceb3e