[simplescreenrecorder] Merge patch from Sérgio Basto.