1. 27 Jul, 2005 1 commit
    • Wim Taymans's avatar
      Some docs updates · 66d7070e
      Wim Taymans authored
      Original commit message from CVS:
      * CHANGES-0.9:
      * docs/design/part-TODO.txt:
      * docs/design/part-events.txt:
      Some docs updates
      
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_event), (gst_base_sink_do_sync),
      (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
      * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
      (gst_base_src_do_seek), (gst_base_src_event_handler),
      (gst_base_src_loop):
      * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
      (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
      (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
      (gst_base_transform_event), (gst_base_transform_handle_buffer),
      (gst_base_transform_set_passthrough),
      (gst_base_transform_is_passthrough):
      * gst/elements/gstfakesink.c: (gst_fake_sink_event):
      * gst/elements/gstfilesink.c: (gst_file_sink_event):
      Event updates.
      
      * gst/gstbuffer.h:
      Use faster casts.
      
      * gst/gstelement.c: (gst_element_seek):
      * gst/gstelement.h:
      Update gst_element_seek.
      
      * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
      (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
      (gst_event_new_flush_start), (gst_event_new_flush_stop),
      (gst_event_new_eos), (gst_event_new_newsegment),
      (gst_event_parse_newsegment), (gst_event_new_tag),
      (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
      (gst_event_parse_qos), (gst_event_new_seek),
      (gst_event_parse_seek), (gst_event_new_navigation):
      * gst/gstevent.h:
      Make GstEvent use GstStructure. Add parsing code, make sure the
      API is sufficiently generic.
      Mark possible directions of events and serialization.
      
      * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
      (_gst_message_copy), (gst_message_new_segment_start),
      (gst_message_new_segment_done), (gst_message_new_custom),
      (gst_message_parse_segment_start),
      (gst_message_parse_segment_done):
      Small cleanups.
      
      * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
      (gst_pad_set_caps), (gst_pad_send_event):
      Update for new events.
      Catch events sent in wrong directions.
      
      * gst/gstqueue.c: (gst_queue_link_src),
      (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
      (gst_queue_handle_src_query):
      Event updates.
      
      * gst/gsttag.c:
      * gst/gsttag.h:
      Remove event code from this file.
      
      * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
      (gst_dp_event_from_packet):
      Event updates.
      66d7070e
  2. 14 Jul, 2005 1 commit
  3. 10 Jul, 2005 1 commit
  4. 05 Jul, 2005 1 commit
  5. 29 Jun, 2005 1 commit
  6. 09 May, 2005 1 commit
    • Wim Taymans's avatar
      Remove old query functions. Ported old code. · 8df6cd72
      Wim Taymans authored
      Original commit message from CVS:
      Remove old query functions. Ported old code.
      Added position/convert helper functions to gstutils.
      Reordered gstpad.c code, grouping relevant things.
      Remove gst_message_new(), always need to speficy a specific
      message.
      8df6cd72
  7. 06 May, 2005 1 commit
    • Andy Wingo Wingo's avatar
      gst/gstquery.h · 8970bda4
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-05-06  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstquery.h
      * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
      GstData, init a memchunk.
      (standard_definitions): Add a few query types, deprecate a few.
      (gst_query_get_type): New proc.
      (_gst_query_copy, _gst_query_free, gst_query_new): GstData
      implementation.
      (gst_query_new_application, gst_query_get_structure): New public
      procs.
      
      * docs/design/draft-query.txt: Removed LINKS from the query types,
      because all the rest can be dispatched to other pads -- seemed
      ugly to have a query that couldn't be dispatched. internal_links
      is fine as a pad method.
      
      * gst/gstpad.h: Add query2 as a pad method, add the new functions
      in gstpad.c, but maintain binary compatibility for the moment.
      Will fix before 0.9 is out.
      
      * gst/gstqueryutils.c:
      * gst/gstqueryutils.h: New files, implement 3 methods for each
      query type: parse_query, parse_response, and set. Probably need an
      allocator as well.
      
      * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
      
      * gst/elements/gstfilesink.c (gst_filesink_query2):
      * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
      query_types, and formats methods.
      
      * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
      (gst_pad_set_query2_function): New functions.
      (gst_real_pad_init): Set query2_default as the default query2
      function. Basically just dispatches to internally linked pads.
      
      Needs review!
      
      * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
      without using the atomic operations. Only one thread can possibly
      be accessing the data at this point. Changed so as to avoid
      gst_atomic operations.
      8970bda4
  8. 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
  9. 08 Mar, 2005 1 commit
    • Wim Taymans's avatar
      Remove threadsafe properties. Fix elements because GObject complains when... · 9e24b85a
      Wim Taymans authored
      Remove threadsafe properties. Fix elements because GObject complains when installing a property before declaring a se...
      
      Original commit message from CVS:
      Remove threadsafe properties. Fix elements because GObject
      complains when installing a property before declaring a
      set/get_property handler.
      Rearrange gstelement.h file, use STATE macros for state locks.
      Free mutexes in the finalize method instead of dispose.
      9e24b85a
  10. 24 Jan, 2005 1 commit
  11. 06 Nov, 2004 1 commit
    • Ronald S. Bultje's avatar
      docs/pwg/: Typo fixes. · 79b77446
      Ronald S. Bultje authored
      Original commit message from CVS:
      * docs/pwg/advanced-scheduling.xml:
      * docs/pwg/advanced-tagging.xml:
      * docs/pwg/advanced-types.xml:
      * docs/pwg/building-boiler.xml:
      * docs/pwg/building-chainfn.xml:
      * docs/pwg/building-signals.xml:
      * docs/pwg/building-state.xml:
      * docs/pwg/building-testapp.xml:
      * docs/pwg/intro-basics.xml:
      * docs/pwg/other-manager.xml:
      * docs/pwg/other-source.xml:
      Typo fixes.
      * docs/pwg/other-manager.xml:
      Add some first content. No example code yet.
      * gst/elements/gstfilesink.c: (gst_filesink_handle_event):
      Remove double newlines.
      79b77446
  12. 17 Aug, 2004 1 commit
    • Benjamin Otte's avatar
      gst/: s/gst_pad_new/&_from_template/ register pad templates in the base_init... · 7fb1f190
      Benjamin Otte authored
      gst/: s/gst_pad_new/&_from_template/ register pad templates in the base_init function add static pad template definit...
      
      Original commit message from CVS:
      * gst/autoplug/gstspideridentity.c:
      (gst_spider_identity_request_new_pad):
      * gst/elements/gstaggregator.c: (gst_aggregator_base_init),
      (gst_aggregator_init):
      * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
      (gst_fakesink_init):
      * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
      (gst_fakesrc_init):
      * gst/elements/gstfdsink.c: (gst_fdsink_base_init),
      (gst_fdsink_init):
      * gst/elements/gstfdsrc.c: (gst_fdsrc_base_init), (gst_fdsrc_init):
      * gst/elements/gstfilesink.c: (gst_filesink_base_init),
      (gst_filesink_init):
      * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
      (gst_filesrc_init):
      * gst/elements/gstidentity.c: (gst_identity_base_init),
      (gst_identity_init):
      * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_base_init),
      (gst_multifilesrc_init):
      * gst/elements/gstpipefilter.c: (gst_pipefilter_base_init),
      (gst_pipefilter_init):
      * gst/elements/gststatistics.c: (gst_statistics_base_init),
      (gst_statistics_init):
      * gst/elements/gsttee.c: (gst_tee_base_init), (gst_tee_init):
      * gst/gstqueue.c: (gst_queue_base_init), (gst_queue_init):
      s/gst_pad_new/&_from_template/
      register pad templates in the base_init function
      add static pad template definitions
      7fb1f190
  13. 12 Jul, 2004 1 commit
  14. 07 May, 2004 1 commit
    • David Schleef's avatar
      Changes to handle compilers that don't have variadic macro support. In... · ca7539c4
      David Schleef authored
      Changes to handle compilers that don't have variadic macro support.  In particular, glib headers define some inlines ...
      
      Original commit message from CVS:
      Changes to handle compilers that don't have variadic macro
      support.  In particular, glib headers define some inlines
      that need G_LOG_DOMAIN defined.  Additional fixes for MSVC
      builds.
      * gst/Makefile.am:
      * gst/cothreads.c:
      * gst/elements/gstfdsink.c:
      * gst/elements/gstfdsrc.c:
      * gst/elements/gstfilesink.c:
      * gst/elements/gstfilesrc.c:
      * gst/gst_private.h:
      * gst/gstatomic.c:
      * gst/gstcaps.c: (gst_caps_append):
      * gst/gstcpu.c: (gst_cpuid_i386):
      * gst/gstelement.c:
      * gst/gsterror.c:
      * gst/gstfilter.c:
      * gst/gstinfo.h:
      * gst/gstprobe.c:
      * gst/gstquery.c:
      * gst/gstregistry.c:
      * gst/gststructure.c:
      * gst/gsttaginterface.c:
      * gst/gsttrace.c: (gst_trace_new):
      * gst/gsttrashstack.c:
      * gst/gsturi.c:
      * gst/gstvalue.c:
      * gst/parse/grammar.y:
      * gst/parse/parse.l:
      * tools/gst-inspect.c: (main):
      * tools/gst-launch.c: (main):
      * tools/gst-xmlinspect.c: (PUT_STRING):
      ca7539c4
  15. 29 Apr, 2004 1 commit
  16. 18 Mar, 2004 1 commit
  17. 15 Mar, 2004 1 commit
  18. 13 Mar, 2004 1 commit
  19. 22 Feb, 2004 1 commit
  20. 07 Feb, 2004 2 commits
  21. 04 Feb, 2004 1 commit
    • David Schleef's avatar
      docs/random/ds/0.9-suggested-changes: random notes · ad3863ac
      David Schleef authored
      Original commit message from CVS:
      * docs/random/ds/0.9-suggested-changes: random notes
      * gst/elements/gstfakesrc.c: (gst_fakesrc_get_formats),
      (gst_fakesrc_get_query_types), (gst_fakesrc_get_event_mask):
      Replace GST_PAD_EVENT_MASK_FUNCTION() (et al.) with its
      expansion.
      * gst/elements/gstfilesink.c: (gst_filesink_get_formats),
      (gst_filesink_get_query_types): same
      * gst/elements/gstfilesrc.c: (gst_filesrc_get_event_mask),
      (gst_filesrc_get_query_types), (gst_filesrc_get_formats): same
      * gst/gstcaps.h: deprecate GST_DEBUG_CAPS(), and fix the macro
      to use new GST_PTR_FORMAT.
      * gst/gstelement.h: deprecate function factory macros
      GST_ELEMENT_QUERY_TYPE_FUNCTION(), GST_ELEMENT_EVENT_MASK_FUNCTION().
      These are our last variadic macros that can't be replaced with
      inlines.  Celebrate!  Also fix a typo in an #ifdef that was
      attempting to deprecate gst_element_clock_wait().
      * gst/gstevent.h: same
      * gst/gstpad.c: (gst_pad_link_intersect), (gst_pad_link_fixate),
      (gst_pad_try_set_caps): replace GST_DEBUG_CAPS() with GST_DEBUG()
      * gst/gstpad.h: deprecate function factory macros similar to above.
      ad3863ac
  22. 31 Jan, 2004 1 commit
  23. 29 Jan, 2004 1 commit
  24. 19 Jan, 2004 1 commit
  25. 18 Jan, 2004 1 commit
  26. 08 Jan, 2004 1 commit
    • Benjamin Otte's avatar
      gst/gstutils.h: GST_PARENT_CALL and · de60fbda
      Benjamin Otte authored
      Original commit message from CVS:
      2004-01-08  Benjamin Otte  <in7y118@public.uni-hamburg.de>
      
      * gst/gstutils.h:
      Add GST_BOILERPLATE(_FULL), GST_PARENT_CALL and
      GST_PARENT_CALL_WITH_DEFAULT
      * gst/elements/gstaggregator.c:
      * gst/elements/gstbufferstore.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/gstmd5sink.c:
      * gst/elements/gstmultidisksrc.c:
      * gst/elements/gstpipefilter.c:
      * gst/elements/gstshaper.c:
      * gst/elements/gststatistics.c:
      * gst/elements/gsttee.c:
      * gst/elements/gsttypefindelement.c:
      use them.
      de60fbda
  27. 07 Jan, 2004 1 commit
    • Ronald S. Bultje's avatar
      gst/elements/gstfilesink.c: Fix for if we pass NULL as property to location. · 718b21bf
      Ronald S. Bultje authored
      Original commit message from CVS:
      2004-01-07  Ronald Bultje  <rbultje@ronald.bitfreak.net>
      
      * gst/elements/gstfilesink.c: (gst_filesink_set_location):
      Fix for if we pass NULL as property to location.
      * gst/elements/gstpipefilter.c: (gst_pipefilter_init),
      (gst_pipefilter_handle_event), (gst_pipefilter_chain):
      Fix for instantiate-test (see below).
      * gst/gststructure.c: (_gst_structure_parse_value):
      Fix compile error on gcc-2.96.
      * configure.ac:
      * tests/Makefile.am:
      * tests/instantiate/Makefile.am:
      * tests/instantiate/create.c: (create_all_elements), (main):
      Add a test that instantiates all elements. This makes it easy to
      track dead code for old API/design (like setting event functions
      on sink pads and so on).
      718b21bf
  28. 24 Nov, 2003 1 commit
    • Benjamin Otte's avatar
      implement URI schemes · 25f85868
      Benjamin Otte authored
      Original commit message from CVS:
      implement URI schemes
      Elements can now register as a source or sink for a protocol and applications can use gst_element_make_from_uri () to get an element that handles a given URI.
      This patch provides:
      - removal of old broken URI handling scheme.
      - new URI handling using interfaces.
      - updates for registry to save handled URIs.
      - interface for URI handlers.
      - implementation of that in filesrc and filesink for the file:// URI
      - extension to pipeline parsing to allow specifying only a URI instead of element
      
      Does not include:
      - tests
      - inclusion in docs build
      25f85868
  29. 31 Oct, 2003 1 commit
  30. 20 Oct, 2003 1 commit
  31. 08 Oct, 2003 1 commit
    • Andy Wingo Wingo's avatar
      s/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to... · 31d748d3
      Andy Wingo Wingo authored
      s/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488. Also inc...
      
      Original commit message from CVS:
      s/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488. Also includes scheduler patches, and probably fixes some queue bugs relating to events and buffers.
      31d748d3
  32. 30 Sep, 2003 1 commit
  33. 16 Sep, 2003 1 commit
  34. 14 Sep, 2003 1 commit
    • Benjamin Otte's avatar
      implement translatable error messages using gerror. · be1eaa4d
      Benjamin Otte authored
      Original commit message from CVS:
      implement translatable error messages using gerror.
      
      Includes bugfixes for:
      - crash when unlinking Ghostpads
      - make *_PAD_* macros use glib casts
      - make spider typefinding merge buffers correctly
      be1eaa4d
  35. 13 Sep, 2003 1 commit
  36. 22 Jul, 2003 1 commit
  37. 29 Jun, 2003 1 commit
    • Benjamin Otte's avatar
      GST_DEBUG reorganization containing loads of stuff: · 803ce6bf
      Benjamin Otte authored
      Original commit message from CVS:
      GST_DEBUG reorganization
      This is a big diff (ca 450k), containing loads of stuff:
      - gstinfo.[ch] complete rewrite
      - changing of all GST_DEBUG messages to reflect that change
      - reorganization of subsystem disabling
      - addition of gstconfig.h.in so we can track the disablings
      - <gst/gst.h> does not include <unistd.h> and <config.h> anymore
      - documentation updated for gstinfo stuff (build the docs yourself to know what changed)
      - bugfixes for making of the docs (files from CVS are not deleted anymore
      - testsuite for debugging changes in testsuite/debug
      
      expect breakage
      803ce6bf
  38. 07 Jun, 2003 2 commits