Skip to content

[40] gstplayer: Unschedule the clock when stopped

Jean Felder requested to merge wip/jfelder/40-high-cpu-stopped into gnome-40

This is a follow-up of commit ad31ba0f which unschedules the clock when the player is paused.

When the player is paused or stopped, the clock "wait" times out and causes a high cpu usage (this only happens with gstreamer 1.18).

This commit unschedules the clock when the player is stopped.

See https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/673

Merge request reports