- 24 Nov, 2005 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: Doc fixes.
-
- 23 Nov, 2005 1 commit
-
-
Andy Wingo Wingo authored
Original commit message from CVS: 2005-11-23 Andy Wingo <wingo@pobox.com> * check/net/gstnetclientclock.c (test_functioning): Adjust to rate_num/rate_denom change. * gst/net/gstnetclientclock.c (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the OBJECT_LOCK. Don't call add_observation with the lock. * gst/gstclock.c (gst_clock_init): Initialize the rate as a fraction. (gst_clock_adjust_unlocked): Adjust using uint64_scale and the rate fraction. (gst_clock_set_calibration, gst_clock_get_calibration): Change to deal with rate as a fraction whose numerator and denominator are GstClockTime values. (gst_clock_set_master): Only use the OBJECT_LOCK to set the master; the other fields are protected by the SLAVE_LOCK. (do_linear_regression): Note that this must be called with the SLAVE_LOCK. (gst_clock_add_observation): Take the SLAVE_LOCK, not the OBJECT_LOCK. Call set_calibration instead of touching the variables directly. (gst_clock_set_property, gst_clock_get_property): Protect master/slave parameters with the SLAVE_LOCK. * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and note that all of the instance variables that add_observation and the set_master functions use are protected by that lock and not the OBJECT_LOCK. (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros. * gst/gstclock.c (gst_clock_add_observation): No longer requires the caller to take the object lock.
-
- 22 Nov, 2005 1 commit
-
-
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.
-
- 21 Nov, 2005 2 commits
-
-
Wim Taymans authored
Original commit message from CVS: * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master), (gst_clock_get_master): * gst/gstclock.h: * gst/gstsystemclock.c: (gst_system_clock_init): Convert Clock flags to object flags. Added methods to manage master/slave clocks.
-
Andy Wingo Wingo authored
Original commit message from CVS: 2005-11-21 Andy Wingo <wingo@pobox.com> * *.h: * *.c: Ran scripts/update-macros. Oh yes. * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK) (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from GST_GET_LOCK, etc. * scripts/update-macros: New script. Run it on your files to change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as well.
-
- 19 Nov, 2005 2 commits
-
-
Andy Wingo Wingo authored
Original commit message from CVS: 2005-11-19 Andy Wingo <wingo@pobox.com> * gst/gstclock.h: * gst/gstclock.c (GstClock, GstClockClass): Change resolution to be a GstClockTime. (gst_clock_set_resolution, gst_clock_get_resolution): Resolution is a GstClockTime. Fixes #321710.
-
Andy Wingo Wingo authored
gst/gstclock.h (GstClock): Remove offset property. Add internal_calibration and external_calibration. Fix padding. Pa... Original commit message from CVS: 2005-11-19 Andy Wingo <wingo@pobox.com> * gst/gstclock.h (GstClock): Remove offset property. Add internal_calibration and external_calibration. Fix padding. Pad also by GstClockTime so we don't run into problems. * gst/gstclock.c (gst_clock_set_rate_offset): Remove. (gst_clock_get_rate_offset): Remove. (gst_clock_set_time_adjust): Remove. Fixes #321712.
-
- 18 Nov, 2005 2 commits
-
-
Wim Taymans authored
Original commit message from CVS: * gst/gstclock.c: (gst_clock_set_calibration), (gst_clock_get_calibration): Doc and API fixes. Callibration can be set with internal time equal to current internal time too.
-
Andy Wingo Wingo authored
gst/net/gstnetclientclock.c (do_linear_regression): Use all integer arithmetic. Return the minimum of the domain, whi... Original commit message from CVS: 2005-11-18 Andy Wingo <wingo@pobox.com> * gst/net/gstnetclientclock.c (do_linear_regression): Use all integer arithmetic. Return the minimum of the domain, which can be set as "internal" for gst_clock_set_calibration. (gst_net_client_clock_observe_times): Call _set_calibration. (gst_net_client_clock_new): Call _set_calibration instead of rate_offset. * check/net/gstnetclientclock.c (test_functioning): Use the right adjustment api. * gst/gstclock.h: * gst/gstclock.c (gst_clock_get_calibration) (gst_clock_set_calibration): New functions, obsolete the ones I added yesterday. Doh. Precision issues mean we have to extrapolate from a point in the more recent past than 1970. (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as obsolete. (gst_clock_adjust_unlocked): Use the right calibration data.
-
- 17 Nov, 2005 2 commits
-
-
Michael Smith authored
gst/gstclock.*: Anonymous structs are a gcc (and some other compilers) extension, so don't use them. Since this is on... Original commit message from CVS: * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked), (gst_clock_set_rate_offset), (gst_clock_get_rate_offset): * gst/gstclock.h: Anonymous structs are a gcc (and some other compilers) extension, so don't use them. Since this is only for ABI-compatibility, and our API/ABI freeze is over in a few days, this whole thing will only last a few days, so don't bother trying to think up a meaningful name for the struct.
-
Andy Wingo Wingo authored
gst/gstclock.h (GstClock): Add rate and offset properties, preserving ABI stability. Add rate/offset accessors. Will ... Original commit message from CVS: 2005-11-17 Andy Wingo <wingo@pobox.com> * gst/gstclock.h (GstClock): Add rate and offset properties, preserving ABI stability. Add rate/offset accessors. Will file bug for the freeze break. * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate and offset, trying to keep precision and avoiding underflow/overflow. (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New functions. Make gst_clock_set_time_adjust obsolete. (gst_clock_set_time_adjust): Note that this function is obsolete. Will file bug soon. * gst/base/gstbasetransform.h: Make the ABI-stability hack greppable by using GST_PADDING-1+1.
-
- 09 Nov, 2005 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * docs/gst/gstreamer-sections.txt: Added some new macros. * gst/gstclock.c: * gst/gstclock.h: * gst/gstobject.h: Docs updates.
-
- 28 Oct, 2005 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * docs/gst/gstreamer-sections.txt: * gst/gstclock.c: * gst/gstclock.h: Documented the clocks.
-
- 15 Oct, 2005 2 commits
-
-
Thomas Vander Stichele authored
Original commit message from CVS: various style fixes
-
Thomas Vander Stichele authored
Original commit message from CVS: whitespace fixes
-
- 13 Oct, 2005 1 commit
-
-
Stefan Kost authored
Original commit message from CVS: * docs/design/draft-push-pull.txt: * docs/design/part-overview.txt: * docs/random/TODO-pre-0.9: * docs/random/old/ChangeLog.gstreamer: * gst/base/gstpushsrc.c: * gst/gstclock.c: fixed typos
-
- 11 Oct, 2005 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * docs/design/part-states.txt: Some more docs. * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state), (gst_bin_change_state_func), (bin_bus_handler): Doc updates. Don't distribute the same clock over and over again. * gst/gstclock.c: * gst/gstclock.h: Doc updates. * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark), (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event), (gst_pad_send_event): * gst/gstpad.h: Make probe emission threadsafe again. Register quarks and move _get_name() from utils. Doc updates. * gst/gstpipeline.c: (gst_pipeline_class_init), (gst_pipeline_change_state), (gst_pipeline_provide_clock_func): Only redistribute the clock of it changed. * gst/gstsystemclock.h: Doc updates. * gst/gstutils.c: * gst/gstutils.h: Moved the _flow_get_name() to GstPad.
-
- 08 Oct, 2005 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * gst/gstbus.c: (gst_bus_pop): * gst/gstclock.c: * gst/gstsystemclock.c: (gst_system_clock_async_thread): Small cleanups and doc updates.
-
- 24 Sep, 2005 1 commit
-
-
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.
-
- 20 Sep, 2005 2 commits
-
-
Thomas Vander Stichele authored
gst/gstclock.c: Commit from the Political Party For More Atomic CVS Commits, so that people don't waste too much of t... Original commit message from CVS: * gst/gstclock.c: (_gst_clock_id_free): Commit from the Political Party For More Atomic CVS Commits, so that people don't waste too much of their day fishing out obvious leaks out of massive commits. Oh, and fix a pretty damn obvious leak in the memchunk removal code.
-
David Schleef authored
Original commit message from CVS: * docs/gst/Makefile.am: Ignore a few more internal headers * docs/gst/gstreamer-docs.sgml: Remove old sections * docs/gst/gstreamer-sections.txt: Remove old sections * docs/gst/tmpl/gstobject.sgml: update * docs/gst/tmpl/gstplugin.sgml: update * docs/gst/tmpl/gstpluginfeature.sgml: update * docs/random/ds/0.9-suggested-changes: update. * gst/Makefile.am: remove memchunk and trashstack, since they're not used. * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup * gst/gst.h: don't include some headers * gst/gstchildproxy.c: add gstmarshal.h * gst/gstclock.c: Don't use memchunks * gst/gstminiobject.c: Add some docs * gst/gstobject.c: remove DESTROYED flag, since it's redundant * gst/gstobject.h: same * gst/gstplugin.c: include gstmacros.h * gst/gstplugin.h: don't include gstmacros.h, since it's private * gst/gstquery.c: don't use memchunks * gst/gstregistry.c: rename gst_registry_deinit() * gst/gstregistry.h: same
-
- 27 Aug, 2005 1 commit
-
-
Stefan Kost authored
Original commit message from CVS: * docs/design/part-messages.txt: update info * docs/gst/tmpl/.cvsignore: * docs/gst/tmpl/gstcaps.sgml: * docs/gst/tmpl/gstclock.sgml: * gst/gstbus.c: * gst/gstcaps.c: * gst/gstcaps.h: * gst/gstclock.c: * gst/gstclock.h: * gst/gstmessage.c: added descriptions for bus and message inline caps and clock docs
-
- 20 Aug, 2005 1 commit
-
-
Thomas Vander Stichele authored
Original commit message from CVS: valgrind more tests
-
- 05 May, 2005 1 commit
-
-
Wim Taymans authored
Original commit message from CVS: * gst/gstbin.c: (gst_bin_send_event), (compare_name), (gst_bin_get_by_name): * gst/gstbuffer.h: * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init), (gst_clock_finalize): * gst/gstdata.c: (gst_data_replace): * gst/gstdata.h: * gst/gstelement.c: (gst_element_request_pad), (gst_element_pads_activate): * gst/gstobject.c: (gst_object_init), (gst_object_ref), (gst_object_unref): * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active), (gst_pad_set_checkgetrange_function), (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps), (gst_pad_check_pull_range), (gst_pad_pull_range), (gst_static_pad_template_get_caps), (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task): * gst/gstutils.c: (gst_element_get_compatible_pad_template), (gst_element_request_pad), (gst_pad_proxy_getcaps): Fix name lookup in GstBin. Added _data_replace() function and _buffer_replace() Use finalize method to clean up clock. Fix refcounting on request pads. Fix pad schedule mode error. Some more object refcounting debug info,
-
- 28 Apr, 2005 1 commit
-
-
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.
-
- 24 Apr, 2005 1 commit
-
-
David Schleef authored
Original commit message from CVS: Convert everything from GstAtomicInt to g_atomic_int_*, and remove gstatomic. * gst/Makefile.am: * gst/gstatomic.c: * gst/gstatomic.h: * gst/gstatomic_impl.h: * gst/gstbuffer.c: * gst/gstcaps.c: * gst/gstcaps.h: * gst/gstclock.c: * gst/gstclock.h: * gst/gstdata.c: * gst/gstdata.h: * gst/gstdata_private.h: * gst/gstevent.c: * gst/gstinfo.c: * gst/gstinfo.h: * gst/gstmessage.c: * gst/gstobject.c: * gst/gstobject.h: * gst/gststructure.c: * gst/gststructure.h: * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function. * gst/gstutils.h:
-
- 07 Mar, 2005 1 commit
-
-
Wim Taymans authored
First THREADED backport attempt, focusing on adding locks and making sure the API is threadsafe. Needs more work. Mor... Original commit message from CVS: First THREADED backport attempt, focusing on adding locks and making sure the API is threadsafe. Needs more work. More docs follow this week.
-
- 28 Apr, 2004 1 commit
-
-
David Schleef authored
Original commit message from CVS: A bunch of portability fixes, derived from Steve Lhomme's MSVC patch (bug #141317): * gst/gst-i18n-lib.h: Allow disabling gettext. * gst/gstatomic_impl.h: disable warning when it's dumb. * gst/gstclock.c: fix include * gst/gstcompat.h: fix variadic macro * gst/gstinfo.c: fix include * gst/gstmacros.h: add defines for inlines on MSVC * gst/gstplugin.c: fix includes * gst/gstregistry.c: fix includes * gst/gstregistry.h: use S_IREAD, etc., if S_IRUSR isn't defined * gst/gstsystemclock.c: fix include * gst/gsttrace.c: (gst_trace_new), (gst_trace_text_flush): use S_IREAD if S_IRUSR isn't defined. fix use of non-portable functions * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_element_factory): fix use of non-portable functions * libs/gst/control/dparam.h: Remove trailing comma in enum definition * libs/gst/control/dparammanager.h: same
-
- 09 Apr, 2004 1 commit
-
-
Benjamin Otte authored
Original commit message from CVS: * gst/gstbin.c: (gst_bin_get_type): * gst/gstclock.c: (gst_clock_get_type): * gst/gstindex.c: (gst_index_get_type): * gst/gstobject.c: (gst_object_get_type), (gst_signal_object_get_type): * gst/gstpad.c: (gst_pad_get_type), (gst_real_pad_get_type), (gst_pad_template_get_type), (gst_ghost_pad_get_type): * gst/gstpluginfeature.c: (gst_plugin_feature_get_type): * gst/gstqueue.c: (gst_queue_get_type): * gst/gstregistry.c: (gst_registry_get_type): * gst/gstsystemclock.c: (gst_system_clock_get_type): * gst/gstthread.c: (gst_thread_get_type): don't use memchunks for these objects, use malloc instead
-
- 28 Mar, 2004 1 commit
-
-
Martin Soto authored
gst/gstelement.*: New function for setting element time taking into account a hardware buffering delay. Original commit message from CVS: * gst/gstelement.h: * gst/gstelement.c (gst_element_set_time_delay): New function for setting element time taking into account a hardware buffering delay. (gst_element_set_time): Now just an invocation of gst_element_set_time_delay. * gst/gstclock.h: * gst/gstclock.c (gst_clock_get_event_time_delay): New function allowing to set event times in the future. (gst_clock_get_event_time): Now just an invocation of gst_clock_get_event_time_delay.
-
- 15 Mar, 2004 1 commit
-
-
Thomas Vander Stichele authored
Original commit message from CVS: don't mix tabs and spaces
-
- 13 Mar, 2004 1 commit
-
-
Thomas Vander Stichele authored
Original commit message from CVS: gst-indent run on core
-
- 11 Feb, 2004 1 commit
-
-
David Schleef authored
Original commit message from CVS: reviewed by: David Schleef <ds@schleef.org> * gst/gstclock.c: (gst_clock_entry_new): fixes structure initialisation of clock (bug #134128)
-
- 04 Feb, 2004 1 commit
-
-
Benjamin Otte authored
Original commit message from CVS: 2004-02-04 Benjamin Otte <in7y118@public.uni-hamburg.de> * gst/gstclock.c: (gst_clock_init), (gst_clock_set_speed), (gst_clock_get_speed): * gst/gstclock.h: reset padding, remove unused fields
-
- 16 Jan, 2004 1 commit
-
-
Benjamin Otte authored
Original commit message from CVS: 2004-01-16 Benjamin Otte <in7y118@public.uni-hamburg.de> * gst/gstclock.c: (gst_clock_get_time): make it compile with gcc 2.95 again. Patch by Scott Wheeler
-
- 15 Jan, 2004 1 commit
-
-
Benjamin Otte authored
Original commit message from CVS: 2004-01-15 Benjamin Otte <in7y118@public.uni-hamburg.de> * gst/autoplug/gstspideridentity.c: (gst_spider_identity_sink_loop_type_finding): break infinite loop by just returning instead of looping * gst/gstclock.c: (gst_clock_class_init), (gst_clock_set_property): set event time difference correctly. Set it to 1 second instead of 100ms to be more tolerant * gst/gstelement.c: (gst_element_set_time): add debugging output
-
- 14 Jan, 2004 1 commit
-
-
Benjamin Otte authored
Original commit message from CVS: 2004-01-13 Benjamin Otte <in7y118@public.uni-hamburg.de> * gst/gstclock.c: (gst_clock_class_init), (gst_clock_init), (gst_clock_set_speed), (gst_clock_set_active), (gst_clock_is_active), (gst_clock_reset), (gst_clock_handle_discont): * gst/gstclock.h: deprecate old interface and disable functions that aren't in use anymore. * gst/gstelement.h: * gst/gstelement.c: (gst_element_get_time), (gst_element_wait), (gst_element_set_time), (gst_element_adjust_time): add concept of "element time" and functions to get/set this time. * gst/gstelement.c: (gst_element_change_state): update element time correctly. * gst/gstelement.c: (gst_element_get_compatible_pad_filtered): This is a debug message, not a g_critical. * gst/gstpad.c: (gst_pad_event_default): handle discontinuous events right with element time. * gst/gstscheduler.c: (gst_scheduler_state_transition): update to clocking fixes. set clocks on elements in READY=>PAUSED. The old behaviour caused a wrong element time on the first element that started playing. * gst/schedulers/gstbasicscheduler.c: (gst_basic_scheduler_class_init): * gst/schedulers/gstoptimalscheduler.c: (gst_opt_scheduler_class_init): remove code that just implements the default behaviour. * gst/elements/gstfakesink.c: (gst_fakesink_chain): update to use new clocking functions * testsuite/clock/clock1.c: (gst_clock_debug), (main): * testsuite/clock/clock2.c: (gst_clock_debug), (main): update to test new element time. * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps): use _get_allowed_caps instead of _get_caps. This catches filtered caps correctly. * testsuite/debug/commandline.c: update for new GST_DEBUG syntax. * testsuite/threads/Makefile.am: disable a test that only works sometimes.
-
- 17 Dec, 2003 1 commit
-
-
Ronald S. Bultje authored
Remove need for calling set_active(FALSE)+set_active(TRUE) before calling handle_discont(). I didn't really understan... Original commit message from CVS: Remove need for calling set_active(FALSE)+set_active(TRUE) before calling handle_discont(). I didn't really understand this part but I'm assuming that "hey, it works!" is good enough this time...
-
- 29 Jun, 2003 1 commit
-
-
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
-
- 15 May, 2003 1 commit
-
-
Thomas Vander Stichele authored
Original commit message from CVS: gtk-doc fixes clock debug
-