1. 07 Mar, 2006 1 commit
    • Wim Taymans's avatar
      docs/libs/gstreamer-libs-sections.txt: Added basesink new methods. · 7a88e2a7
      Wim Taymans authored
      Original commit message from CVS:
      * docs/libs/gstreamer-libs-sections.txt:
      Added basesink new methods.
      * gst/gstevent.c:
      * gst/gstevent.h:
      Docs updates. Flesh out the QoS docs.
      * libs/gst/base/gstadapter.c:
      Small doc clarification about ownership and flushing.
      * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
      (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
      (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
      (gst_base_sink_get_property), (gst_base_sink_do_sync):
      * libs/gst/base/gstbasesink.h:
      Added new methods to allow subclass to control max-lateness
      and sync.
      Generate very basic QoS events based on last sync observation.
      Updated docs, fix typo, added some QoS blurb.
      * libs/gst/base/gstbasesrc.c:
      Remove obsolete _get_state() calls from docs.
      7a88e2a7
  2. 13 Feb, 2006 1 commit
    • Wim Taymans's avatar
      docs/design/part-TODO.txt: Updated TODO list, basesrc supports seeking to non-bytes formats. · b3776665
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-TODO.txt:
      Updated TODO list, basesrc supports seeking to non-bytes
      formats.
      
      * docs/design/part-element-sink.txt:
      Update docs.
      
      * gst/gstbin.c: (bin_replace_message),
      (gst_bin_handle_message_func):
      * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
      * gst/gstevent.c: (gst_event_finalize):
      * gst/gstpad.c: (gst_pad_event_default_dispatch),
      (gst_pad_send_event):
      Use shiny new _TYPE_NAME macros.
      
      * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
      Move debug statement up.
      
      * gst/gstelement.c: (gst_element_set_locked_state):
      Add some debugging.
      b3776665
  3. 27 Jan, 2006 1 commit
    • Stefan Kost's avatar
      doc fixes, to link to function, just write gst_cool_function(), don't prefix with '#' · a53172d7
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstcaps.c:
      * gst/gstelement.c: (gst_element_send_event):
      * gst/gstevent.c:
      * gst/gstinfo.c:
      * gst/gstiterator.c:
      * gst/gstiterator.h:
      * gst/gstpad.c: (gst_pad_send_event):
      * gst/gststructure.c:
      * gst/gsturi.c:
      * gst/gstutils.c:
      * gst/gstvalue.c:
      * libs/gst/base/gstadapter.c:
      doc fixes, to link to function, just write gst_cool_function(), don't
      prefix with '#'
      a53172d7
  4. 26 Jan, 2006 1 commit
    • Stefan Kost's avatar
      added code for downstream events, reviewed docs in gstevent.c · b352cee4
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
      (gst_bin_iterate_sources), (gst_bin_send_event):
      * gst/gstbin.h:
      * gst/gstelement.c: (gst_element_send_event):
      * gst/gstevent.c:
      * gst/gstpad.c: (gst_pad_send_event):
      added code for downstream events, reviewed docs in gstevent.c
      b352cee4
  5. 19 Jan, 2006 1 commit
    • Jan Schmidt's avatar
      gst/gstevent.c: Fix docs typo · 14816cdb
      Jan Schmidt authored
      Original commit message from CVS:
      * gst/gstevent.c:
      Fix docs typo
      
      * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
      (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
      Do some refactoring. Doesn't actually change functionality,
      but makes landing the DRAIN event easier later.
      14816cdb
  6. 06 Dec, 2005 1 commit
  7. 29 Nov, 2005 1 commit
  8. 24 Nov, 2005 1 commit
    • Wim Taymans's avatar
      Doc fixes. · a9f7f7b7
      Wim Taymans authored
      Original commit message from CVS:
      Doc fixes.
      a9f7f7b7
  9. 22 Nov, 2005 1 commit
  10. 21 Nov, 2005 2 commits
    • Andy Wingo Wingo's avatar
      gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back during the... · e4b8378b
      Andy Wingo Wingo authored
      gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back during the stable series if we need it. Fixes #319178.
      
      Original commit message from CVS:
      2005-11-21  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
      during the stable series if we need it. Fixes #319178.
      
      * gst/gstevent.c (gst_event_new_filler): Removed.
      
      * check/gst/gstevent.c: Update comment about filler events.
      e4b8378b
    • Andy Wingo Wingo's avatar
      gst/gstevent.h (GstEventTypeFlags): New data type, the flags of the event type... · 33d5749b
      Andy Wingo Wingo authored
      gst/gstevent.h (GstEventTypeFlags): New data type, the flags of the event type (upstream, downstream, serialized). Re...
      
      Original commit message from CVS:
      2005-11-21  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
      the event type (upstream, downstream, serialized). Renamed
      GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
      (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
      CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
      
      * gst/gstevent.c: Update for new CUSTOM event names.
      
      * check/gst/gstevent.c: Update check for new CUSTOM event names.
      
      * gst/gstevent.h:
      * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
      bug #319392.
      33d5749b
  11. 15 Nov, 2005 1 commit
  12. 25 Oct, 2005 1 commit
    • Wim Taymans's avatar
      gst/base/gstbasesink.c: Don't use invalid stream_time. · b2046045
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_get_position):
      Don't use invalid stream_time.
      
      * gst/gstevent.c: (gst_event_new_newsegment):
      stream_time in newsegment cannot be undefined.
      b2046045
  13. 21 Oct, 2005 1 commit
    • Wim Taymans's avatar
      And 2% more doc coverage. · e1a166a5
      Wim Taymans authored
      Original commit message from CVS:
      * docs/gst/gstreamer-docs.sgml:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstelement.h:
      * gst/gstevent.c:
      * gst/gstevent.h:
      * gst/gstmessage.h:
      * gst/gstpad.h:
      * gst/gstparse.h:
      * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
      * gst/gsttask.h:
      * gst/gstutils.c:
      * gst/gstutils.h:
      And 2% more doc coverage.
      e1a166a5
  14. 17 Oct, 2005 1 commit
    • Andy Wingo Wingo's avatar
      gst/base/gstcollectpads.c (gst_collectpads_chain): Slight cleanup. · 839de998
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-10-17  Andy Wingo  <wingo@pobox.com>
      
      * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
      cleanup.
      
      * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
      
      * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
      
      * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
      (gst_element_get_state_func): Better debug message.
      (gst_element_commit_state): s/INFO/DEBUG/.
      (gst_element_lost_state, gst_element_change_state):
      
      * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
      (gst_message_new_custom): s/INFO/LOG/.
      839de998
  15. 15 Oct, 2005 2 commits
  16. 12 Oct, 2005 1 commit
    • Wim Taymans's avatar
      check/: Moved sinks2 testcode in sinks check. · cc28efc2
      Wim Taymans authored
      Original commit message from CVS:
      * check/Makefile.am:
      * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
      * check/states/sinks2.c:
      Moved sinks2 testcode in sinks check.
      
      * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
      (gst_bin_remove_func), (gst_bin_recalc_state),
      (gst_bin_change_state_func), (bin_bus_handler):
      Fix potential race condition when _get_state() iterated over an
      ASYNC element right before it posted a state completion.
      
      * gst/gstclock.h:
      Do proper cast here.
      
      * gst/gstevent.c: (gst_event_new_newsegment),
      (gst_event_parse_newsegment):
      A playback rate of 0.0 is not allowed.
      cc28efc2
  17. 11 Oct, 2005 2 commits
    • Wim Taymans's avatar
      Added extra flag to newsegment for future API freeze. · c97e237a
      Wim Taymans authored
      Original commit message from CVS:
      * check/gst/gstevent.c: (GST_START_TEST):
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_change_state):
      * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
      * gst/base/gstbasetransform.c: (gst_base_transform_event):
      * gst/elements/gstfilesink.c: (gst_file_sink_event):
      * gst/gstevent.c: (gst_event_new_newsegment),
      (gst_event_parse_newsegment):
      * gst/gstevent.h:
      Added extra flag to newsegment for future API freeze.
      Updated check and base elements.
      c97e237a
    • Wim Taymans's avatar
      gst/gstbin.*: Prepare to make current EOS message queue more generic. · 4dd6c2a5
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
      (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
      (gst_bin_recalc_state), (gst_bin_change_state_func),
      (gst_bin_dispose), (bin_bus_handler):
      * gst/gstbin.h:
      Prepare to make current EOS message queue more generic.
      Fix some typos.
      
      * gst/gstevent.c: (gst_event_new_newsegment),
      (gst_event_parse_newsegment):
      * gst/gstevent.h:
      Rename base to stream_time.
      
      * gst/gstmessage.h:
      Fix typo in docs.
      4dd6c2a5
  18. 10 Oct, 2005 1 commit
    • Thomas Vander Stichele's avatar
      gst/: doc updates · 2b7c3ac5
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * gst/gstcaps.c:
      * gst/gstevent.c:
      doc updates
      * gst/gstvalue.c: (gst_value_deserialize_int_helper):
      don't use long long, it's not portable.  Replacing with
      gint64 seems to work; let's hope no skeletons fall out of the closet.
      2b7c3ac5
  19. 09 Oct, 2005 1 commit
    • Stefan Kost's avatar
      more docs, fix compilation · f9c812c5
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstevent.c:
      * gst/gstevent.h:
      * gst/gstinfo.c:
      * gst/gstinfo.h:
      * gst/gstmessage.c: (gst_message_parse_state_changed):
      * gst/gstpad.c:
      * gst/gstpad.h:
      more docs, fix compilation
      f9c812c5
  20. 08 Oct, 2005 2 commits
    • Stefan Kost's avatar
      more docs · 796a232d
      Stefan Kost authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstelementfactory.c:
      * gst/gstevent.c:
      * gst/gsttaglist.c:
      more docs
      796a232d
    • Wim Taymans's avatar
      gst/gstevent.*: Fix event quark registration. · bed8c238
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstevent.c:
      * gst/gstevent.h:
      Fix event quark registration.
      Add some space between events so we can insert them in the
      right groups.
      bed8c238
  21. 07 Oct, 2005 1 commit
  22. 06 Oct, 2005 2 commits
  23. 24 Sep, 2005 1 commit
    • Wim Taymans's avatar
      Various documentation updates. · 84770e84
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-events.txt:
      * docs/design/part-gstbus.txt:
      * docs/design/part-gstpipeline.txt:
      * docs/design/part-messages.txt:
      * docs/design/part-overview.txt:
      * docs/design/part-segments.txt:
      * gst/gstbin.c:
      * gst/gstbuffer.c:
      * gst/gstclock.c:
      * gst/gstelement.c:
      * gst/gstevent.c:
      * gst/gstfilter.c:
      * gst/gstiterator.c:
      Various documentation updates.
      84770e84
  24. 08 Sep, 2005 1 commit
    • Michael Smith's avatar
      Various fixes for unseekable, unmmapable, and non-normal files, so that... · 4e78d618
      Michael Smith authored
      Various fixes for unseekable, unmmapable, and non-normal files, so that fallback to read() rather than mmap() works.
      
      Original commit message from CVS:
      Various fixes for unseekable, unmmapable, and non-normal files, so that
      fallback to read() rather than mmap() works.
      
      Allow newsegment events with start == end, so that cases where that's
      correct work (e.g. filesrc on a zero-size file).
      4e78d618
  25. 01 Sep, 2005 1 commit
    • Wim Taymans's avatar
      gst/base/gstbasesink.*: Handle newsegments more correctly. · 8099c342
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_event), (gst_base_sink_do_sync),
      (gst_base_sink_handle_event):
      * gst/base/gstbasesink.h:
      Handle newsegments more correctly.
      
      * gst/gstbus.c:
      Fix docs.
      
      * gst/gstevent.c: (gst_event_new_newsegment):
      A newsegment cannot have a start_time of -1
      8099c342
  26. 31 Aug, 2005 1 commit
    • Thomas Vander Stichele's avatar
      docs/faq/gst-uninstalled: add -good · e5d298f4
      Thomas Vander Stichele authored
      Original commit message from CVS:
      
      * docs/faq/gst-uninstalled:
      add -good
      * gst/gstevent.c:
      * gst/gstevent.h:
      remove wrong docs
      * gst/gstutils.c: (gst_element_link_filtered):
      * gst/gstutils.h:
      add gst_element_link_filtered
      e5d298f4
  27. 25 Aug, 2005 1 commit
    • Stefan Kost's avatar
      gst/gstbin.h: removed ';' from the end of macro defs · a28d6343
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstbin.h:
      removed ';' from the end of macro defs
      * docs/gst/gstreamer-docs.sgml:
      * docs/gst/gstreamer-sections.txt:
      * docs/gst/tmpl/.cvsignore:
      * gst/gstbus.h:
      * gst/gstelement.c: (gst_element_class_init),
      (gst_element_set_state), (activate_pads),
      (gst_element_save_thyself):
      * gst/gstevent.c: (gst_event_new_newsegment):
      * gst/gstevent.h:
      * gst/gstiterator.c:
      * gst/gstiterator.h:
      * gst/gstpad.c:
      * gst/gstprobe.h:
      * gst/gstutils.c: (gst_pad_query_convert):
      * gst/gstutils.h:
      fixed parameter name mismatches between source, header and docs
      added some more docs, resolved the last batch of unused elements in
      docs (now someone needs to doc them)
      a28d6343
  28. 23 Aug, 2005 1 commit
    • Wim Taymans's avatar
      gst/gstevent.*: Some more debugging output and doc cleanups. · bc3dfd5d
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
      (gst_event_new_newsegment), (gst_event_parse_newsegment),
      (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
      (gst_event_parse_qos), (gst_event_new_seek),
      (gst_event_parse_seek):
      * gst/gstevent.h:
      Some more debugging output and doc cleanups.
      
      * gst/gstqueue.c: (gst_queue_handle_sink_event):
      Fix possible deadlock.
      bc3dfd5d
  29. 22 Aug, 2005 1 commit
  30. 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
  31. 18 Jul, 2005 1 commit
    • Wim Taymans's avatar
      docs/design/: Some more docs in the works. · 2b1ce5f2
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-dynamic.txt:
      * docs/design/part-events.txt:
      * docs/design/part-seeking.txt:
      Some more docs in the works.
      
      * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
      (gst_base_transform_getcaps), (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_sink_activate_push),
      (gst_base_transform_src_activate_pull),
      (gst_base_transform_set_passthrough),
      (gst_base_transform_is_passthrough):
      Refcounting fixes.
      
      * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
      Cleanups.
      
      * gst/gstevent.c: (gst_event_finalize):
      Set SRC to NULL.
      
      * gst/gstutils.c: (gst_element_unlink),
      (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
      (gst_pad_proxy_setcaps):
      * gst/gstutils.h:
      Add _get_parent_element() to get a pads parent as an element.
      2b1ce5f2
  32. 29 Jun, 2005 1 commit
  33. 27 Jun, 2005 1 commit
    • Andy Wingo Wingo's avatar
      gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any remaining buffer. · f2cf753b
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2005-06-27  Andy Wingo  <wingo@pobox.com>
      
      * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
      remaining buffer.
      
      * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
      returns a sorted copy of the trace list.
      (gst_alloc_trace_print_live): New API, only prints traces with
      live objects. Sort the list.
      (gst_alloc_trace_print_all): Sort the list.
      (gst_alloc_trace_print): Align columns.
      
      * gst/elements/gstttypefindelement.c:
      * gst/elements/gsttee.c:
      * gst/base/gstbasesrc.c:
      * gst/base/gstbasesink.c:
      * gst/base/gstbasetransform.c:
      * gst/gstqueue.c: Adapt for pad activation changes.
      
      * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
      sched.
      (gst_pipeline_dispose): Drop ref on sched.
      
      * gst/gstpad.c (gst_pad_init): Set the default activate func.
      (gst_pad_activate_default): Push mode by default.
      (pre_activate_switch, post_activate_switch): New stubs, things to
      do before and after switching activation modes on pads.
      (gst_pad_set_active): Take a boolean and not a mode, dispatch to
      the pad's activate function to choose which mode to activate.
      Shortcut on deactivation and call the right function directly.
      (gst_pad_activate_pull): New API, (de)activates a pad in pull
      mode.
      (gst_pad_activate_push): New API, same for push mode.
      (gst_pad_set_activate_function)
      (gst_pad_set_activatepull_function)
      (gst_pad_set_activatepush_function): Setters for new API.
      
      * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
      Trace all miniobjects.
      (gst_mini_object_make_writable): Unref the arg if we copy, like
      gst_caps_make_writable.
      
      * gst/gstmessage.c (_gst_message_initialize): No trace init.
      
      * gst/gstghostpad.c (gst_proxy_pad_do_activate)
      (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
      Adapt for new pad API.
      
      * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
      
      * gst/gstelement.h:
      * gst/gstelement.c (gst_element_iterate_src_pads)
      (gst_element_iterate_sink_pads): New API functions.
      
      * gst/gstelement.c (iterator_fold_with_resync): New utility,
      should fold into gstiterator.c in some form.
      (gst_element_pads_activate): Simplified via use of fold and
      delegation of decisions to gstpad->activate.
      
      * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
      help in debugging.
      
      * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
      class once in init, like gstmessage. Didn't run into this issue
      but it seems correct. Don't initialize a trace, gstminiobject does
      that.
      
      * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
      test, runs fakesrc ! fakesink, stopping on ::handoff via a message
      to the bus.
      (assert_live_count): New util function, uses alloc traces to check
      cleanup.
      
      * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
      To be modified when unlink drops the internal pad.
      f2cf753b
  34. 16 May, 2005 1 commit
    • David Schleef's avatar
      check/Makefile.am: remove GstData checks · e134f7f7
      David Schleef authored
      Original commit message from CVS:
      * check/Makefile.am: remove GstData checks
      * check/gst-libs/gdp.c: (START_TEST): fix for API changes
      * gst/Makefile.am: add miniobject, remove data
      * gst/gst.h: add miniobject, remove data
      * gst/gstdata.c: remove
      * gst/gstdata.h: remove
      * gst/gstdata_private.h: remove
      * gst/gsttypes.h: remove GstEvent and GstMessage
      * gst/gstelement.c: (gst_element_post_message): fix for API changes
      * gst/gstmarshal.list: change BOXED -> OBJECT
      Implement GstMiniObject.
      * gst/gstminiobject.c:
      * gst/gstminiobject.h:
      Modify to be subclasses of GstMiniObject.
      * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
      (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
      (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
      (gst_subbuffer_get_type), (gst_subbuffer_init),
      (gst_buffer_create_sub), (gst_buffer_is_span_fast),
      (gst_buffer_span):
      * gst/gstbuffer.h:
      * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
      (gst_event_class_init), (gst_event_init), (gst_event_finalize),
      (_gst_event_copy), (gst_event_new):
      * gst/gstevent.h:
      * gst/gstmessage.c: (_gst_message_initialize),
      (gst_message_get_type), (gst_message_class_init),
      (gst_message_init), (gst_message_finalize), (_gst_message_copy),
      (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/gstmessage.h:
      * gst/gstprobe.c: (gst_probe_perform),
      (gst_probe_dispatcher_dispatch):
      * gst/gstprobe.h:
      * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
      (gst_query_class_init), (gst_query_finalize), (gst_query_init),
      (_gst_query_copy), (gst_query_new):
      Update elements for GstData -> GstMiniObject changes
      * gst/gstquery.h:
      * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
      (gst_queue_chain), (gst_queue_loop):
      * gst/elements/gstbufferstore.c:
      (gst_buffer_store_add_buffer_func),
      (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
      * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
      (gst_fakesink_render):
      * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
      * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
      (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
      (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
      (gst_filesrc_create_read):
      * gst/elements/gstidentity.c: (gst_identity_class_init):
      * gst/elements/gsttypefindelement.c:
      (gst_type_find_element_src_event), (free_entry_buffers),
      (gst_type_find_element_handle_event):
      * libs/gst/dataprotocol/dataprotocol.c:
      (gst_dp_header_from_buffer):
      * libs/gst/dataprotocol/dataprotocol.h:
      * libs/gst/dataprotocol/dp-private.h:
      e134f7f7
  35. 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