1. 05 May, 2005 1 commit
    • 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
  2. 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
  3. 02 May, 2005 1 commit
    • Wim Taymans's avatar
      Added draft for new query API. · 0757f3df
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/draft-push-pull.txt:
      * docs/design/draft-query.txt:
      * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
      (gst_basesrc_start):
      Added draft for new query API.
      Added draft for better selecting scheduling methods.
      Make basesrc ignore length if the subclass does not support
      it.
      0757f3df
  4. 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
  5. 23 Apr, 2005 1 commit
    • 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
  6. 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
  7. 18 Apr, 2005 1 commit
  8. 12 Apr, 2005 1 commit
    • 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
  9. 06 Apr, 2005 1 commit
    • 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
  10. 05 Apr, 2005 1 commit
    • 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
  11. 01 Apr, 2005 1 commit
    • David Schleef's avatar
      gst/gstplugin.c: Switch to using G_MODULE_BIND_LOCAL, which means plugins are... · fa948192
      David Schleef authored
      gst/gstplugin.c: Switch to using G_MODULE_BIND_LOCAL, which means plugins are now expected to link against libgstreamer.
      
      Original commit message from CVS:
      * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
      Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
      expected to link against libgstreamer.
      * gst/base/Makefile.am: link against libgstreamer
      * gst/elements/Makefile.am: same
      fa948192
  12. 31 Mar, 2005 1 commit
    • 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
  13. 29 Mar, 2005 2 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
      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
  14. 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