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:
parent
1818d795ee
commit
bc1302cf8e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user