1. 26 Nov, 2011 1 commit
  2. 29 May, 2009 2 commits
    • Wim Taymans's avatar
      pipeline: deprecate old methods, fix test · 087c8957
      Wim Taymans authored
      Deprecate the old _set_stream_time and _get_last_stream_time methods because
      they are now equivalent to the better named _set/_get_start_time.
      087c8957
    • Wim Taymans's avatar
      pipeline: use START_TIME to keep track of time · 6affcdd2
      Wim Taymans authored
      Use the element START_TIME to keep track of the running time when the pipeline
      paused so that it can be used to restore the base_time.
      Take the start_time before setting the children to PAUSED so that we can
      distribute the start_time to the children.
      6affcdd2
  3. 28 Feb, 2007 1 commit
    • Wim Taymans's avatar
      gst/gstelement.*: Improve docs a little. Added Since: for new macro. · acf6165c
      Wim Taymans authored
      Original commit message from CVS:
      * gst/gstelement.c: (gst_element_message_full),
      (gst_element_get_state_func):
      * gst/gstelement.h:
      Improve docs a little. Added Since: for new macro.
      * gst/gstobject.c: (gst_object_sink):
      * gst/gstpipeline.c: (gst_pipeline_change_state),
      (gst_pipeline_set_new_stream_time):
      * gst/gstpipeline.h:
      Improve debugging and docs.
      * gst/gstutils.c: (gst_element_state_change_return_get_name):
      Improve debugging.
      acf6165c
  4. 13 Mar, 2006 1 commit
    • Wim Taymans's avatar
      Documentation updates. · 429ebfff
      Wim Taymans authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
      * gst/gstbin.h:
      * gst/gstbus.c: (gst_bus_class_init):
      * gst/gstbus.h:
      * gst/gstclock.c:
      * gst/gstelement.c: (gst_element_set_locked_state):
      * gst/gstsegment.c:
      Documentation updates.
      * gst/gstpipeline.c: (gst_pipeline_get_type),
      (gst_pipeline_class_init), (gst_pipeline_init),
      (gst_pipeline_dispose), (gst_pipeline_set_property),
      (gst_pipeline_get_property), (do_pipeline_seek),
      (gst_pipeline_send_event), (gst_pipeline_change_state),
      (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
      (gst_pipeline_get_delay):
      * gst/gstpipeline.h:
      Added methods for setting the delay.
      API: gst_pipeline_set_delay
      API: gst_pipeline_get_delay
      Add pipeline debug category
      Various cleanups.
      Updated docs.
      Don't reset stream time when seek failed.
      429ebfff
  5. 09 Mar, 2006 1 commit
    • Tim-Philipp Müller's avatar
      Add new API: gst_pipeline_set_auto_flush_bus() and... · 3bced21c
      Tim-Philipp Müller authored
      Add new API: gst_pipeline_set_auto_flush_bus() and gst_pipeline_get_auto_flush_bus() to disable automatic flushing of...
      
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gstpipeline.c: (gst_pipeline_class_init),
      (gst_pipeline_init), (gst_pipeline_set_property),
      (gst_pipeline_get_property), (gst_pipeline_change_state),
      (gst_pipeline_set_auto_flush_bus),
      (gst_pipeline_get_auto_flush_bus):
      * gst/gstpipeline.h:
      Add new API: gst_pipeline_set_auto_flush_bus() and
      gst_pipeline_get_auto_flush_bus() to disable automatic
      flushing of the pipeline's GstBus when going from READY
      to NULL state (#332045).
      3bced21c
  6. 24 Nov, 2005 1 commit
    • Wim Taymans's avatar
      Doc fixes. · a9f7f7b7
      Wim Taymans authored
      Original commit message from CVS:
      Doc fixes.
      a9f7f7b7
  7. 22 Nov, 2005 1 commit
    • Wim Taymans's avatar
      gst/base/gstbasesink.*: No need to store the clock, the parent element class already has it. · cf925ebb
      Wim Taymans authored
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_class_init),
      (gst_base_sink_wait), (gst_base_sink_do_sync),
      (gst_base_sink_handle_event):
      * gst/base/gstbasesink.h:
      No need to store the clock, the parent element class already
      has it.
      
      * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
      Updates for clock_set returning a gboolean
      
      * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
      (gst_clock_id_wait_async), (gst_clock_class_init),
      (gst_clock_init), (gst_clock_finalize),
      (gst_clock_get_internal_time), (gst_clock_get_time),
      (gst_clock_slave_callback), (gst_clock_set_master),
      (gst_clock_get_master), (do_linear_regression),
      (gst_clock_add_observation), (gst_clock_set_property),
      (gst_clock_get_property):
      * gst/gstclock.h:
      Implement master/slave. When setting a clock as a slave, a
      periodic timeout is scheduled to sample master and slave times.
      Then the slave clock is recalibrated to match offset and rate
      of the master clock.
      Update logging a bit.
      Add flag so that a clock can state that is cannot be slaved to
      another clock.
      
      * gst/gstelement.c: (gst_element_set_clock):
      * gst/gstelement.h:
      The set_clock returns a gboolean for when an element cannot
      deal with the selected clock in the pipeline.
      
      * gst/gstpipeline.c: (gst_pipeline_change_state),
      (gst_pipeline_set_clock):
      * gst/gstpipeline.h:
      Handle the case where the selected clock cannot be set on
      the pipeline.
      
      * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
      (gst_net_client_clock_init), (gst_net_client_clock_finalize),
      (gst_net_client_clock_set_property),
      (gst_net_client_clock_get_property),
      (gst_net_client_clock_observe_times):
      * gst/net/gstnetclientclock.h:
      Use regression code in GstClock parent, remove duplicated
      functionality.
      cf925ebb
  8. 12 Oct, 2005 1 commit
    • Stefan Kost's avatar
      renamed GST_FLAGS macros to GST_OBJECT_FLAGS moved bitshift from macro to enum definition · a98aef82
      Stefan Kost authored
      Original commit message from CVS:
      * check/gst/gstbin.c: (GST_START_TEST):
      * docs/gst/gstreamer-sections.txt:
      * gst/base/gstbasesink.c: (gst_base_sink_init):
      * gst/base/gstbasesrc.c: (gst_base_src_init),
      (gst_base_src_get_range), (gst_base_src_check_get_range),
      (gst_base_src_start), (gst_base_src_stop):
      * gst/base/gstbasesrc.h:
      * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
      * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
      (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
      (bin_bus_handler):
      * gst/gstbin.h:
      * gst/gstbuffer.h:
      * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
      * gst/gstbus.h:
      * gst/gstelement.c: (gst_element_is_locked_state),
      (gst_element_set_locked_state), (gst_element_commit_state),
      (gst_element_set_state):
      * gst/gstelement.h:
      * gst/gstindex.c: (gst_index_init):
      * gst/gstindex.h:
      * gst/gstminiobject.h:
      * gst/gstobject.c: (gst_object_init), (gst_object_sink),
      (gst_object_set_parent):
      * gst/gstobject.h:
      * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
      (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
      * gst/gstpad.h:
      * gst/gstpadtemplate.h:
      * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
      (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
      * gst/gstpipeline.h:
      * gst/indexers/gstfileindex.c: (gst_file_index_load),
      (gst_file_index_commit):
      * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
      * testsuite/pad/link.c: (gst_test_src_init),
      (gst_test_filter_init), (gst_test_sink_init):
      * testsuite/states/locked.c: (main):
      renamed GST_FLAGS macros to GST_OBJECT_FLAGS
      moved bitshift from macro to enum definition
      a98aef82
  9. 10 Oct, 2005 1 commit
    • Wim Taymans's avatar
      check/: Check fixes, use API as stated in design docs, remove hacks. · 2153c459
      Wim Taymans authored
      Original commit message from CVS:
      * check/Makefile.am:
      * check/generic/states.c: (GST_START_TEST):
      * check/gst/gstbin.c: (GST_START_TEST):
      * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
      * check/states/sinks.c: (GST_START_TEST):
      * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
      (main):
      Check fixes, use API as stated in design docs, remove hacks.
      
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_change_state):
      Catch stopping our task while we're shutting down.
      
      * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
      (gst_bin_remove_func), (gst_bin_get_state_func),
      (gst_bin_recalc_state), (gst_bin_change_state_func),
      (bin_bus_handler):
      * gst/gstbin.h:
      * gst/gstelement.c: (gst_element_init),
      (gst_element_get_state_func), (gst_element_abort_state),
      (gst_element_commit_state), (gst_element_lost_state),
      (gst_element_set_state), (gst_element_change_state),
      (gst_element_change_state_func):
      * gst/gstelement.h:
      New state change algorithm (see #318116)
      
      * gst/gstpipeline.c: (gst_pipeline_class_init),
      (gst_pipeline_init), (gst_pipeline_set_property),
      (gst_pipeline_get_property), (do_pipeline_seek),
      (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
      * gst/gstpipeline.h:
      Remove crude state change hacks.
      
      * gst/gstutils.h:
      Remove crude hacks.
      
      * tools/gst-launch.c: (main):
      Fixes for state change. Needs some more work to fully use the
      new stuff.
      2153c459
  10. 27 Sep, 2005 1 commit
    • Stefan Kost's avatar
      added two new functions to the docs documents all undocumented GstXXXFlags... · 6de84a3d
      Stefan Kost authored
      added two new functions to the docs documents all undocumented GstXXXFlags completed some incomplete docs
      
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/base/gstbasesrc.h:
      * gst/gstelement.h:
      * gst/gstevent.h:
      * gst/gstobject.h:
      * gst/gstpad.h:
      * gst/gstpipeline.c:
      * gst/gstpipeline.h:
      * gst/gstutils.h:
      * gst/gstxml.h:
      added two new functions to the docs
      documents all undocumented GstXXXFlags
      completed some incomplete docs
      6de84a3d
  11. 18 Jul, 2005 1 commit
    • Wim Taymans's avatar
      Removed plugable schedulers. · e1aeec6d
      Wim Taymans authored
      Original commit message from CVS:
      Removed plugable schedulers.
      Removed Scheduler/Manager from elements.
      Removed gsttypes.h, rearranged includes.
      Removed dependency pad<->element, element<>pipeline, and
      various others,  fix includes.
      implement gst_pad_get_parent() with gst_object_get_parent()
      Make GstTask sefcontained.
      Fix _get_state() on GstBin, it did not return ASYNC with a 0
      timeout.
      Fix endless loop in iterator_fold_with_resync.
      e1aeec6d
  12. 16 Jul, 2005 1 commit
    • Wim Taymans's avatar
      gst/base/gstbasesink.*: Store and use discont values when syncing buffers as... · d5be929b
      Wim Taymans authored
      gst/base/gstbasesink.*: Store and use discont values when syncing buffers as described in design docs.
      
      Original commit message from CVS:
      * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
      (gst_base_sink_event), (gst_base_sink_get_times),
      (gst_base_sink_do_sync), (gst_base_sink_change_state):
      * gst/base/gstbasesink.h:
      Store and use discont values when syncing buffers as described
      in design docs.
      
      * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
      (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
      (gst_base_src_activate_push):
      Push discont event when starting.
      
      * gst/elements/gstidentity.c: (gst_identity_transform):
      Small cleanups.
      
      * gst/gstbin.c: (gst_bin_change_state):
      Small cleanups in base_time  distribution.
      
      * gst/gstelement.c: (gst_element_set_base_time),
      (gst_element_get_base_time), (gst_element_change_state):
      * gst/gstelement.h:
      Added methods for the base_time of the element.
      Some MT fixes.
      
      * gst/gstpipeline.c: (gst_pipeline_send_event),
      (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
      (gst_pipeline_get_last_stream_time):
      * gst/gstpipeline.h:
      MT fixes.
      Handle seeking as described in design doc, remove stream_time
      hack.
      Cleanups clock and stream_time selection code. Added accessors
      for the stream_time.
      d5be929b
  13. 06 Jul, 2005 1 commit
    • Jan Schmidt's avatar
      examples/: Update a couple of the examples to work again. · ba5cecf3
      Jan Schmidt authored
      Original commit message from CVS:
      * examples/Makefile.am:
      * examples/helloworld/helloworld.c: (event_loop), (main):
      * examples/queue/queue.c: (event_loop), (main):
      * examples/queue2/queue2.c: (main):
      Update a couple of the examples to work again.
      
      * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
      (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
      Spelling corrections and extra debug.
      
      * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
      (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
      (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
      * gst/gstbin.h:
      * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
      (gst_pipeline_change_state):
      * gst/gstpipeline.h:
      Move the bus handler for children to the GstBin, and create a
      separate bus for receiving messages from children to the one the
      bus sends 'upwards' on.
      ba5cecf3
  14. 21 Mar, 2005 1 commit
    • Wim Taymans's avatar
      Next big merge. · c2f41a89
      Wim Taymans authored
      Original commit message from CVS:
      Next big merge.
      Added GstBus for mainloop integration.
      Added GstMessage for sending notifications on the bus.
      Added GstTask as an abstraction for pipeline entry points.
      Removed GstThread.
      Removed Schedulers.
      Simplified GstQueue for multithreaded core.
      Made _link threadsafe, removed old capsnego.
      Added STREAM_LOCK and PREROLL_LOCK in GstPad.
      Added pad blocking functions.
      Reworked scheduling functions in GstPad to prepare for
      scheduling updates soon.
      Moved events out of data stream.
      Simplified GstEvent types.
      Added return values to push/pull.
      Removed clocking from GstElement.
      Added prototypes for state change function for next merge.
      Removed iterate from bins and state change management.
      Fixed some elements, disabled others for now.
      Fixed -inspect and -launch.
      Added check for GstBus.
      c2f41a89
  15. 07 Mar, 2005 1 commit
  16. 15 Mar, 2004 1 commit
  17. 13 Mar, 2004 1 commit
  18. 09 Dec, 2003 1 commit
  19. 31 Oct, 2003 1 commit
  20. 07 Oct, 2003 1 commit
  21. 15 Apr, 2003 1 commit
  22. 19 Dec, 2002 1 commit
    • Wim Taymans's avatar
      - Cleanups · 68b53ac4
      Wim Taymans authored
      Original commit message from CVS:
      - Cleanups
      - Added padding to structs
      - fixed typechecking/casts
      - reduced casts
      - implemented remove_element in gstbin
      - implemented set index on bin
      68b53ac4
  23. 08 Jul, 2002 1 commit
    • Wim Taymans's avatar
      - Removed unused locking from the cothreads · ae87d97c
      Wim Taymans authored
      Original commit message from CVS:
      - Removed unused locking from the cothreads
      - use G_*_DECLS in .h files
      - remove gstlog.h include from gstobject.h, add to .c files
      - removed unused refcounting code from gstobject
      - small fixes in #includes
      - Added Scheduling policy and priority properties to gstthread so that
      SCHED_FIFO and SCHED_RR threads can be constructed.
      ae87d97c
  24. 27 Dec, 2001 1 commit
    • Wim Taymans's avatar
      - Added a function to get the currently executing cothread · e7f54b1e
      Wim Taymans authored
      Original commit message from CVS:
      - Added a function to get the currently executing cothread
      - Removed some useless includes
      - _interrupt now returns a boolean so the behaviour after the interrupt
      can be controlled by the scheduler.
      - Added a better way to set/get the default scheduler.
      - make thread and pipeline get the default scheduler.
      e7f54b1e
  25. 15 Dec, 2001 1 commit
  26. 21 Oct, 2001 1 commit
    • Wim Taymans's avatar
      API docs. revived _buffer_ref_by_count fast types for scheduler and bin. · cccc097c
      Wim Taymans authored
      Original commit message from CVS:
      API docs.
      revived _buffer_ref_by_count
      fast types for scheduler and bin.
      error checking on plugin features;
      removed some prototypes that were not implemented (gst_pipeline_iterate
      comes to mind)
      remove gst_pad_event until we know what it's supposed to do.
      remove sinesrc, it wasn't compiles anymore, so...
      updates to various elements that used the old event API.
      cccc097c
  27. 20 Oct, 2001 1 commit
  28. 25 Jun, 2001 1 commit
  29. 10 Mar, 2001 1 commit
  30. 07 Mar, 2001 1 commit
  31. 28 Dec, 2000 2 commits
  32. 15 Dec, 2000 1 commit
    • Wim Taymans's avatar
      Header cleanup: try to include as little as possible; this will probably speed... · a63780a3
      Wim Taymans authored
      Header cleanup: try to include as little as possible; this will probably speed up compilation a bit.
      
      Original commit message from CVS:
      Header cleanup: try to include as little as possible; this will probably
      speed up compilation a bit.
      changed the .c files to use #include "..."
      Fix for the 'plugins are loaded twice' bug.
      Fix 22186: GstObject flags are now used everywhere. Added *_FLAG_LAST so
      elements do not use the same flags. Added some padding in the flag enum
      for future expansion.
      a63780a3
  33. 04 Nov, 2000 1 commit
  34. 17 Sep, 2000 1 commit
    • Wim Taymans's avatar
      Added gst_pipeline_add_sink/src to allow multiple sink cases and more complex... · cab1728f
      Wim Taymans authored
      Added gst_pipeline_add_sink/src to allow multiple sink cases and more complex autoplugging. Update docs too.
      
      Original commit message from CVS:
      Added gst_pipeline_add_sink/src to allow multiple sink cases and
      more complex autoplugging. Update docs too.
      Simplified the pipeline autoplugging code.
      Changed the cothread case: One iteration is now a push from the src
      element. The disk source does not change its state anymore on eof.
      Better type setting for the ac3 parser/decoder and mpeg2parse.
      cab1728f
  35. 09 Sep, 2000 1 commit
    • Wim Taymans's avatar
      Changes to gstreamer-config to include gtk+ libs manual changes: queues,... · 552b7f32
      Wim Taymans authored
      Changes to gstreamer-config to include gtk+ libs manual changes: queues, threads, programs gsteditor does not crash a...
      
      Original commit message from CVS:
      Changes to gstreamer-config to include gtk+ libs
      manual changes: queues, threads, programs
      gsteditor does not crash anymore.
      gstpipline new should return a GstElement *
      fixed ac3dec for new getbits
      fixes to gstreamer-launch
      more efficient startup for gstplay.
      552b7f32
  36. 21 Aug, 2000 1 commit
    • Wim Taymans's avatar
      A first (rude) attempt at autoplug. · fa4a4319
      Wim Taymans authored
      Original commit message from CVS:
      A first (rude) attempt at autoplug.
      Autoplugging selects appropriate codecs to connect src to sink, adds
      them to the pipeline and connect pads.
      Autoplugging will run the typedetect plugin if the src pad has no MIME
      type.
      No autoplugging is done on the src and sink pads, it's hardcoded:
      connect 'src to sink'.
      No attempt at creating threads.
      No attempt at dynamically autoplugging not yet existing pads.
      Changes to (some) plugins to properly set their MIME types.
      fa4a4319
  37. 30 Jan, 2000 1 commit