1. 15 Sep, 2006 1 commit
    • Wim Taymans's avatar
      gst/: Small cleanups in docs and code. · bb634398
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstobject.c: (gst_object_set_parent):
      * gst/gstpipeline.c: (do_pipeline_seek):
      Small cleanups in docs and code.
      * gst/gstsegment.c: (gst_segment_clip):
      * tests/check/gst/gstsegment.c: (GST_START_TEST):
      if stop == start and start is in the segment, no clipping should be
      done. Also add a test for this.
      bb634398
  2. 01 Jul, 2006 1 commit
    • Thomas Vander Stichele's avatar
      tests/check/: use the new macro · 64086e29
      Thomas Vander Stichele authored
      Original commit message from CVS:
      * tests/check/elements/fakesink.c:
      * tests/check/elements/fakesrc.c:
      * tests/check/elements/fdsrc.c:
      * tests/check/elements/identity.c:
      * tests/check/generic/sinks.c: (gst_sinks_suite):
      * tests/check/generic/states.c:
      * tests/check/gst/gst.c:
      * tests/check/gst/gstabi.c:
      * tests/check/gst/gstbin.c:
      * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
      * tests/check/gst/gstbus.c: (gst_bus_suite):
      * tests/check/gst/gstcaps.c: (GST_START_TEST):
      * tests/check/gst/gstelement.c:
      * tests/check/gst/gstevent.c: (gst_event_suite):
      * tests/check/gst/gstghostpad.c:
      * tests/check/gst/gstiterator.c: (gst_iterator_suite):
      * tests/check/gst/gstmessage.c: (gst_message_suite):
      * tests/check/gst/gstminiobject.c:
      * tests/check/gst/gstobject.c:
      * tests/check/gst/gstpad.c:
      * tests/check/gst/gstpipeline.c:
      * tests/check/gst/gstplugin.c:
      * tests/check/gst/gstquery.c: (gst_query_suite):
      * tests/check/gst/gstsegment.c: (gst_segment_suite):
      * tests/check/gst/gststructure.c:
      * tests/check/gst/gstsystemclock.c:
      * tests/check/gst/gsttag.c:
      * tests/check/gst/gsttask.c: (gst_task_suite):
      * tests/check/gst/gstutils.c:
      * tests/check/gst/gstvalue.c:
      * tests/check/libs/adapter.c:
      * tests/check/libs/basesrc.c:
      * tests/check/libs/collectpads.c:
      * tests/check/libs/controller.c:
      * tests/check/libs/gdp.c: (gst_dp_suite):
      * tests/check/libs/gstnetclientclock.c:
      * tests/check/libs/gstnettimeprovider.c:
      * tests/check/libs/libsabi.c: (libsabi_suite):
      * tests/check/libs/typefindhelper.c:
      * tests/check/pipelines/cleanup.c:
      * tests/check/pipelines/parse-launch.c:
      * tests/check/pipelines/simple-launch-lines.c:
      * tests/check/pipelines/stress.c: (stress_suite):
      use the new macro
      64086e29
  3. 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
  4. 12 Dec, 2005 1 commit
    • Wim Taymans's avatar
      gst/gstsegment.c: Added more documentation. · 8666c159
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstsegment.c: (gst_segment_init),
      (gst_segment_set_last_stop), (gst_segment_set_seek),
      (gst_segment_set_newsegment), (gst_segment_to_stream_time),
      (gst_segment_to_running_time):
      Added more documentation.
      Make sure the last_pos value is updated properly.
      Make sure to_stream_time and to_running_time don't
      operate on wrong values.
      
      * tests/check/gst/gstsegment.c: (GST_START_TEST):
      Update check.
      8666c159
  5. 21 Nov, 2005 2 commits
    • Wim Taymans's avatar
      More segment updates, replace code in plugins with segment helper functions. · a35882df
      Wim Taymans authored
      Original commit message from CVS:
      * check/gst/gstsegment.c: (GST_START_TEST):
      * docs/design/part-TODO.txt:
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_event), (gst_base_sink_do_sync),
      (gst_base_sink_activate_pull), (gst_base_sink_get_position),
      (gst_base_sink_query), (gst_base_sink_change_state):
      * gst/base/gstbasesink.h:
      * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
      (gst_base_src_default_newsegment),
      (gst_base_src_configure_segment), (gst_base_src_do_seek),
      (gst_base_src_get_range), (gst_base_src_loop),
      (gst_base_src_change_state):
      * gst/base/gstbasesrc.h:
      * gst/base/gstbasetransform.c:
      (gst_base_transform_prepare_output_buf),
      (gst_base_transform_event), (gst_base_transform_change_state):
      * gst/base/gstbasetransform.h:
      * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
      (gst_collect_pads_event):
      * gst/base/gstcollectpads.h:
      * gst/elements/gstfakesrc.c: (gst_fake_src_init),
      (gst_fake_src_create):
      * gst/elements/gstfakesrc.h:
      * gst/elements/gstidentity.c: (gst_identity_transform_ip):
      * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
      (gst_segment_set_last_stop), (gst_segment_set_seek),
      (gst_segment_set_newsegment), (gst_segment_to_stream_time),
      (gst_segment_to_running_time), (gst_segment_clip):
      * gst/gstsegment.h:
      More segment updates, replace code in plugins with segment
      helper functions.
      a35882df
    • Wim Taymans's avatar
      More segment updates and more checks. · 29ea4a0b
      Wim Taymans authored
      Original commit message from CVS:
      * check/gst/gstsegment.c: (GST_START_TEST), (gstsegments_suite),
      (main):
      * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
      (gst_segment_set_last_stop), (gst_segment_set_seek),
      (gst_segment_set_newsegment), (gst_segment_to_stream_time),
      (gst_segment_to_running_time), (gst_segment_clip):
      * gst/gstsegment.h:
      More segment updates and more checks.
      29ea4a0b
  6. 20 Nov, 2005 1 commit
    • Wim Taymans's avatar
      Added segment helper structure and methods. Not fully implemented yet. · 2754334f
      Wim Taymans authored
      Original commit message from CVS:
      * check/Makefile.am:
      * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
      (main):
      * gst/Makefile.am:
      * gst/gst.h:
      * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
      (gst_segment_set_seek), (gst_segment_set_newsegment),
      (gst_segment_to_stream_time), (gst_segment_to_running_time),
      (gst_segment_clip):
      * gst/gstsegment.h:
      Added segment helper structure and methods. Not fully implemented
      yet.
      Added segment check.
      2754334f