1. 13 Apr, 2005 1 commit
  2. 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
  3. 11 Apr, 2005 4 commits
  4. 10 Apr, 2005 3 commits
  5. 08 Apr, 2005 2 commits
  6. 06 Apr, 2005 2 commits
    • Wim Taymans's avatar
      gst/: More work on the generic source base class, implement seeking, query. · aa00eb87
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/README:
      * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
      (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
      (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
      (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
      (gst_basesrc_check_get_range), (gst_basesrc_loop),
      (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
      (gst_basesrc_stop), (gst_basesrc_activate),
      (gst_basesrc_change_state), (basesrc_find_peek),
      (basesrc_find_suggest), (gst_basesrc_type_find):
      * gst/base/gstbasesrc.h:
      * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
      (gst_filesrc_class_init), (gst_filesrc_init),
      (gst_filesrc_finalize), (gst_filesrc_set_location),
      (gst_filesrc_set_property), (gst_filesrc_get_property),
      (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
      (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
      (gst_filesrc_create_read), (gst_filesrc_create),
      (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
      * gst/elements/gstfilesrc.h:
      * gst/gstelement.c: (gst_element_get_state_func),
      (gst_element_lost_state), (gst_element_pads_activate):
      * 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/gstpad.h:
      More work on the generic source base class, implement seeking,
      query.
      Make filesrc extend the base source class.
      Added gst_pad_set_checkgetrange_function to GstPad.
      aa00eb87
    • Andy Wingo Wingo's avatar
      pkgconfig/: New files. · 4c712824
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-04-06  Andy Wingo  <wingo@pobox.com>
      
      * pkgconfig/gstreamer-base.pc.in:
      * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
      
      * pkgconfig/Makefile.am:
      * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
      4c712824
  7. 05 Apr, 2005 2 commits
    • Thomas Vander Stichele's avatar
      add a note · d617ba6a
      Thomas Vander Stichele authored
      Original commit message from CVS:
      add a note
      d617ba6a
    • Wim Taymans's avatar
      gst/: Made base source class, make fakesrc extend it. · 8cf38d3d
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/Makefile.am:
      * gst/base/README:
      * gst/base/gstbasesink.c: (gst_basesink_base_init),
      (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
      (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
      (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
      * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
      (gst_basesrc_base_init), (gst_basesrc_class_init),
      (gst_basesrc_init), (gst_basesrc_get_formats),
      (gst_basesrc_get_query_types), (gst_basesrc_query),
      (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
      (gst_basesrc_set_property), (gst_basesrc_get_property),
      (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
      (gst_basesrc_loop), (gst_basesrc_activate),
      (gst_basesrc_change_state):
      * gst/base/gstbasesrc.h:
      * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
      (gst_fakesrc_class_init), (gst_fakesrc_init),
      (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
      (gst_fakesrc_get_property), (gst_fakesrc_create):
      * gst/elements/gstfakesrc.h:
      * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
      (gst_filesrc_open_file), (gst_filesrc_loop),
      (gst_filesrc_activate), (filesrc_find_peek),
      (gst_filesrc_type_find):
      Made base source class, make fakesrc extend it.
      Add comments to basesink class.
      Some filesrc cleanup.
      8cf38d3d
  8. 01 Apr, 2005 2 commits
  9. 31 Mar, 2005 4 commits
    • Andy Wingo Wingo's avatar
      tests/instantiate/: Add test to test speed of caps copy and free. · 123bfb04
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-03-31  Andy Wingo  <wingo@pobox.com>
      
      * tests/instantiate/Makefile.am:
      * tests/instantiate/caps.c: Add test to test speed of caps copy
      and free.
      
      * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
      GMemChunk to be fair.
      
      * gst/gsttrashstack.h: Remove warning about using the fallback
      trash stack implementation, it's still faster than malloc.
      123bfb04
    • Wim Taymans's avatar
      gst/: Added start/stop methods to transform base class so subclasses don't... · 96d17a34
      Wim Taymans authored
      gst/: Added start/stop methods to transform base class so subclasses don't need to deal with state changes even.
      
      Original commit message from CVS:
      * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
      (gst_base_transform_class_init), (gst_base_transform_init),
      (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
      (gst_base_transform_get_property),
      (gst_base_transform_sink_activate),
      (gst_base_transform_src_activate),
      (gst_base_transform_change_state):
      * gst/base/gstbasetransform.h:
      * gst/elements/gstidentity.c: (gst_identity_class_init),
      (gst_identity_event), (gst_identity_check_perfect),
      (gst_identity_transform), (gst_identity_start),
      (gst_identity_stop):
      Added start/stop methods to transform base class so subclasses
      don't need to deal with state changes even.
      96d17a34
    • Andy Wingo Wingo's avatar
      add per-thread stats · 76803748
      Andy Wingo Wingo authored
      Original commit message from CVS:
      add per-thread stats
      76803748
    • Wim Taymans's avatar
      gst/: Added rate to the discont event to prepare for variable speed and reverse playback. · 3cfdcab1
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstevent.c: (gst_event_new_discontinuous_valist),
      (gst_event_new_discontinuous), (gst_event_discont_get_value):
      * gst/gstevent.h:
      * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
      (gst_pad_pull_range):
      Added rate to the discont event to prepare for variable speed
      and reverse playback.
      3cfdcab1
  10. 30 Mar, 2005 2 commits
  11. 29 Mar, 2005 6 commits
    • Wim Taymans's avatar
      gst/: Simplify pad activation. · bb1be5f5
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/Makefile.am:
      * gst/base/README:
      * gst/base/gstbasesink.c: (gst_basesink_get_type),
      (gst_basesink_base_init), (gst_basesink_class_init),
      (gst_basesink_pad_getcaps), (gst_basesink_init),
      (gst_basesink_activate), (gst_basesink_change_state):
      * gst/base/gstbasesink.h:
      * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
      (gst_base_transform_base_init), (gst_base_transform_finalize),
      (gst_base_transform_class_init), (gst_base_transform_init),
      (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
      (gst_base_transform_event), (gst_base_transform_getrange),
      (gst_base_transform_chain), (gst_base_transform_handle_buffer),
      (gst_base_transform_set_property),
      (gst_base_transform_get_property),
      (gst_base_transform_sink_activate),
      (gst_base_transform_src_activate),
      (gst_base_transform_change_state):
      * gst/base/gstbasetransform.h:
      * gst/elements/gstidentity.c: (gst_identity_finalize),
      (gst_identity_class_init), (gst_identity_init),
      (gst_identity_event), (gst_identity_check_perfect),
      (gst_identity_transform), (gst_identity_set_property),
      (gst_identity_get_property), (gst_identity_change_state):
      * gst/elements/gstidentity.h:
      * gst/gstelement.c: (gst_element_get_state_func),
      (gst_element_lost_state), (gst_element_pads_activate):
      * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
      (gst_pad_check_pull_range), (gst_pad_pull_range):
      * gst/gstpad.h:
      Simplify pad activation.
      Added function to check if pull_range can be performed.
      Error out when pulling inactive or flushing pads.
      Removed const from refcounted types as it does not make sense.
      Simplify pad templates in basesink
      Added base class for simple 1-to-1 transforms.
      Make identity subclass the base transform.
      bb1be5f5
    • Andy Wingo Wingo's avatar
      docs/: Add these files to CVS. Now I really don't understand what's going on,... · 64047b28
      Andy Wingo Wingo authored
      docs/: Add these files to CVS. Now I really don't understand what's going on, but like whatever. I want green buildbot!
      
      Original commit message from CVS:
      2005-03-29  Andy Wingo  <wingo@pobox.com>
      
      * docs/libs/gstreamer-libs-overrides.txt:
      * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
      really don't understand what's going on, but like whatever. I want
      green buildbot!
      64047b28
    • Andy Wingo Wingo's avatar
      docs/: Dist the overrides files. · a7ad017d
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-03-29  Andy Wingo  <wingo@pobox.com>
      
      * docs/gst/Makefile.am:
      * docs/libs/Makefile.am: Dist the overrides files.
      
      * check/Makefile.am (clean-local): Remove .libs directories.
      
      * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
      elements to EXTRA_DIST, so po/ files are happy.
      a7ad017d
    • Andy Wingo Wingo's avatar
      po/POTFILES: Remove gstspider.c. · ce469c1d
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-03-29  Andy Wingo  <wingo@pobox.com>
      
      * po/POTFILES: Remove gstspider.c.
      
      * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
      
      * docs/libs/gstreamer-libs-docs.sgml:
      * docs/libs/gstreamer-libs-sections.txt: Remove the section on
      bytestream.
      
      * tests/complexity.c (main): Set the length of the preroll queue
      on the sinks to prevent a lockup.
      ce469c1d
    • Andy Wingo Wingo's avatar
      libs/gst/dataprotocol/: Remove test, it's the same as the one in check/gst-libs/gdp.c. · 21ad6301
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-03-29  Andy Wingo  <wingo@pobox.com>
      
      * libs/gst/dataprotocol/Makefile.am:
      * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
      the same as the one in check/gst-libs/gdp.c.
      21ad6301
    • Andy Wingo Wingo's avatar
      po/, docs/gst/: Commit automatic changes to docs and po files. · 498ae2c7
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-03-29  Andy Wingo  <wingo@pobox.com>
      
      * po/, docs/gst/: Commit automatic changes to docs and po files.
      
      * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
      the versioned libgstbase.
      
      * check/Makefile.am: Depend on an unversioned gst-register, seems
      to make autoconf happier.
      
      * gst/base/Makefile.am: Make libgstbase a versioned lib.
      498ae2c7
  12. 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
  13. 26 Mar, 2005 1 commit
    • David Schleef's avatar
      gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality is broken and... · a7abc222
      David Schleef authored
      gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality is broken and should be implemented in a different li...
      
      Original commit message from CVS:
      * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
      is broken and should be implemented in a different library.
      * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
      * gst/gst.h: remove gstcpu.h
      * gst/gstcpu.c: remove
      * gst/gstcpu.h: remove
      * gst/Makefile.am.future: Remove this file.  It's ancient.
      a7abc222
  14. 25 Mar, 2005 3 commits
    • 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
    • Ronald S. Bultje's avatar
      gst/gstpipeline.c: Lock/unlock mismatch. · f96e2fab
      Ronald S. Bultje authored
      Original commit message from CVS:
      * gst/gstpipeline.c: (gst_pipeline_use_clock):
      Lock/unlock mismatch.
      f96e2fab
    • Thomas Vander Stichele's avatar
      docs/faq/gst-uninstalled: add gst-plugins-base · 1d788a4f
      Thomas Vander Stichele authored
      Original commit message from CVS:
      * docs/faq/gst-uninstalled:
      add gst-plugins-base
      * docs/gst/Makefile.am:
      don't error out until docs are fixed
      * docs/gst/gstreamer.types:
      remove thread
      1d788a4f
  15. 22 Mar, 2005 2 commits
    • Wim Taymans's avatar
      Activated more tests. · 90513718
      Wim Taymans authored
      Original commit message from CVS:
      * check/Makefile.am:
      * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
      * gst/gststructure.c: (gst_structure_set_valist),
      (gst_structure_copy_conditional):
      Activated more tests.
      Added message test.
      Added G_TYPE_POINTER to GstStructure.
      90513718
    • Wim Taymans's avatar
      Docs updates · fc0bf09d
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-TODO.txt:
      * docs/design/part-events.txt:
      * docs/design/part-gstbin.txt:
      * docs/design/part-gstbus.txt:
      * docs/design/part-gstpipeline.txt:
      * docs/design/part-messages.txt:
      * gst/gstbus.c:
      * gst/gstmessage.c:
      Docs updates
      fc0bf09d
  16. 21 Mar, 2005 2 commits
    • Wim Taymans's avatar
      gst/gstbus.c: Fix copy-and-paste error. · a032f72b
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbus.c: (gst_bus_post):
      Fix copy-and-paste error.
      a032f72b
    • 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