1. 12 Jun, 2006 1 commit
    • Stefan Kost's avatar
      gst/: constify quark registration strings. Fixes #344115 · eb006ba6
      Stefan Kost authored
      Original commit message from CVS:
      Patch by: Stefan Kost <ensonic at sonicpulse dot de>
      * gst/gstevent.c: (gst_event_get_type):
      * gst/gstmessage.c:
      * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
      (gst_pad_push):
      constify quark registration strings. Fixes #344115
      Avoid unneeded type checking is _pad_push() by internally
      calling gst_pad_chain_unchecked().
      eb006ba6
  2. 02 Jun, 2006 1 commit
  3. 14 May, 2006 1 commit
    • Tim-Philipp Müller's avatar
      Minor docs fixes. · d619a982
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstevent.c:
      * gst/gstevent.h:
      * gst/gstmessage.h:
      Minor docs fixes.
      d619a982
  4. 10 May, 2006 1 commit
    • Thomas Vander Stichele's avatar
      gst/: make sure some essential types used by events are registered as part of gst_init() · b4e05d62
      Thomas Vander Stichele authored
      Original commit message from CVS:
      * gst/gstevent.c: (_gst_event_initialize):
      * gst/gstformat.c: (_gst_format_initialize):
      make sure some essential types used by events are registered
      as part of gst_init()
      * gst/gstvalue.c: (gst_value_serialize_flags):
      if no flags are set, serialize them to a value that represents NONE
      so that deserializing them works
      * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
      add tests for serialization and deserialization of flags
      b4e05d62
  5. 08 May, 2006 1 commit
    • Wim Taymans's avatar
      docs/design/part-overview.txt: Make upsteam/downstream concepts more clear. · b9dbb551
      Wim Taymans authored
      Original commit message from CVS:
      * docs/design/part-overview.txt:
      Make upsteam/downstream concepts more clear.
      Give an example of serialized/non-serialized events.
      * docs/design/part-events.txt:
      * docs/design/part-streams.txt:
      Mention applied_rate.
      * docs/design/part-trickmodes.txt:
      Mention applied rate, flesh out some more use cases.
      * gst/gstevent.c: (gst_event_new_new_segment),
      (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
      (gst_event_parse_new_segment_full), (gst_event_new_tag),
      (gst_event_parse_tag), (gst_event_new_buffer_size),
      (gst_event_parse_buffer_size), (gst_event_new_qos),
      (gst_event_parse_qos), (gst_event_parse_seek),
      (gst_event_new_navigation):
      * gst/gstevent.h:
      Add applied_rate field to NEWSEGMENT event.
      API: gst_event_new_new_segment_full()
      API: gst_event_parse_new_segment_full()
      * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
      (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
      (gst_segment_to_stream_time), (gst_segment_to_running_time):
      * gst/gstsegment.h:
      Add applied_rate to GstSegment structure.
      Make calculation of stream_time and running_time more correct
      wrt rate/applied_rate.
      Add some more docs.
      API: GstSegment::applied_rate field
      API: gst_segment_set_newsegment_full();
      * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
      (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
      * libs/gst/base/gstbasetransform.c:
      (gst_base_transform_sink_eventfunc),
      (gst_base_transform_handle_buffer):
      Parse and use applied_rate in the GstSegment field.
      * tests/check/gst/gstevent.c: (GST_START_TEST):
      Add check for applied_rate field.
      * tests/check/gst/gstsegment.c: (GST_START_TEST),
      (gstsegments_suite):
      Add more checks for various GstSegment operations.
      b9dbb551
  6. 04 May, 2006 1 commit
    • James Andrewartha's avatar
      Make sure gstprivate.h and/or config.h are always included first, otherwise... · 5deab8d3
      James Andrewartha authored
      Make sure gstprivate.h and/or config.h are always included first, otherwise some of our defines (like _FILE_OFFSET_BI...
      
      Original commit message from CVS:
      Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
      * gst/gst.c:
      * gst/gstbus.c:
      * gst/gstclock.c:
      * gst/gstevent.c:
      * gst/gstformat.c:
      * gst/gstmessage.c:
      * gst/gstparse.c:
      * gst/gstquery.c:
      * gst/gstutils.c:
      * gst/parse/Makefile.am:
      * libs/gst/base/gstadapter.c:
      * libs/gst/base/gstbasesrc.c:
      * libs/gst/base/gstpushsrc.c:
      * libs/gst/base/gsttypefindhelper.c:
      * plugins/elements/gstfakesrc.c:
      * plugins/elements/gstidentity.c:
      Make sure gstprivate.h and/or config.h are
      always included first, otherwise some of our
      defines (like _FILE_OFFSET_BITS) might be
      redefined in the system headers. Fixes build
      on opensolaris (#340016).
      5deab8d3
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 06 Dec, 2005 1 commit
  13. 29 Nov, 2005 1 commit
  14. 24 Nov, 2005 1 commit
    • Wim Taymans's avatar
      Doc fixes. · a9f7f7b7
      Wim Taymans authored
      Original commit message from CVS:
      Doc fixes.
      a9f7f7b7
  15. 22 Nov, 2005 1 commit
  16. 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
  17. 15 Nov, 2005 1 commit
  18. 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
  19. 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
  20. 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
  21. 15 Oct, 2005 2 commits
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 07 Oct, 2005 1 commit
  28. 06 Oct, 2005 2 commits
  29. 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
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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
  35. 22 Aug, 2005 1 commit