mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
systemclock: Clarify comment that described a previous version of the code
Nowadays we are only waking up the head entry waiting if either the head entry is unscheduled (which is handled some lines above already), or when the head entry specifically is woken up because a new entry became the new head entry. We're not waking up *all* entries anymore whenever any entry in the last was unscheduled. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/500>
This commit is contained in:
parent
c4a2d92718
commit
d9bf0f1ec2
1 changed files with 2 additions and 3 deletions
|
@ -767,9 +767,8 @@ gst_system_clock_async_thread (GstClock * clock)
|
|||
}
|
||||
case GST_CLOCK_BUSY:
|
||||
/* somebody unlocked the entry but is was not canceled, This means that
|
||||
* either a new entry was added in front of the queue or some other entry
|
||||
* was canceled. Whatever it is, pick the head entry of the list and
|
||||
* continue waiting. */
|
||||
* a new entry was added in front of the queue. Pick the new head
|
||||
* entry of the list and continue waiting. */
|
||||
GST_CAT_DEBUG_OBJECT (GST_CAT_CLOCK, clock,
|
||||
"async entry %p needs restart", entry);
|
||||
|
||||
|
|
Loading…
Reference in a new issue