mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
audiosink: improve comment
This commit is contained in:
parent
04f74e5642
commit
d10602fbde
1 changed files with 4 additions and 1 deletions
|
@ -739,7 +739,10 @@ gst_base_audio_sink_setcaps (GstBaseSink * bsink, GstCaps * caps)
|
|||
|
||||
GST_DEBUG_OBJECT (sink, "release old ringbuffer");
|
||||
|
||||
/* get current time, updates the last_time */
|
||||
/* get current time, updates the last_time. When the subclass has a clock that
|
||||
* restarts from 0 when a new format is negotiated, it will call
|
||||
* gst_audio_clock_reset() which will use this last_time to create an offset
|
||||
* so that time from the clock keeps on increasing monotonically. */
|
||||
now = gst_clock_get_time (sink->provided_clock);
|
||||
|
||||
GST_DEBUG_OBJECT (sink, "time was %" GST_TIME_FORMAT, GST_TIME_ARGS (now));
|
||||
|
|
Loading…
Reference in a new issue