mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue