GSoC/GCI Archive
Google Code-in 2012 Copyleft Games Group

Hedgewars: Check for non-standard recorder framerate

completed by: O. Michael Hartman

mentors: koda, Andrey Korotaev, Xeli, Sheepy


Remember to join our IRC channel when working on this task! We are on #hedgewars at If you are new to IRC, read this tutorial from a past GCI participant.

Your task

Despite most software decoders do not have any problem with strange fps for videos, it would be nice to prompt a warning to the user when he is using a framerate different than 24, 25, 30, 50 or 60.

See QTfrontend/ui/page/pagevideos.cpp where you are going to add your code.


A working patch, that applies cleanly to our source tree. This patch should be in the form of a pull from clone, hg export or unified diff format (in order of preference) implementing the functionality required.