While playing a video Totem writes to the file $HOME/.config/totem/.goutputstream-XXXX every 10 seconds. This apparently happens in the main loop. Unfortunately the file gets also fsynced, which is a slow operation and causes stutter of the video.

On my system the calls to fsync take about 50ms most of the times, but sometimes it's as high as 300ms (which is very noticeable).

I'm using version 3.22.0 on Fedora 25.