seek: update slider only 25 times a second

don't update the slider a 100 times a second, it's likely higher than the screen
framerate and just wastes cpu.
This commit is contained in:
Wim Taymans 2009-12-08 17:30:39 +01:00
parent 1818d795ee
commit bc1302cf8e

View file

@ -57,7 +57,7 @@ GST_DEBUG_CATEGORY_STATIC (seek_debug);
#define FILL_INTERVAL 100
//#define UPDATE_INTERVAL 500
//#define UPDATE_INTERVAL 100
#define UPDATE_INTERVAL 10
#define UPDATE_INTERVAL 40
/* number of milliseconds to play for after a seek */
#define SCRUB_TIME 100