window: Disable video track when toplevel gets suspended
@rmader I think this is as good as it gets or can we maybe save some more cycles (we want audio to continue when the player is in the background)
G_MESSAGES_DEBUG=livi-window
prints a log message when the video decoding is resumed/suspended (audio isn't affected as we want to like like we're playing the video in the background). On intel this halves the CPU usage in a nested session for me.
Signed-off-by: Guido Günther agx@sigxcpu.org
Edited by Guido Günther