forked from len0rd/rockbox
Move FPS display out of video_out_rockbox.c and into mpegplayer.c. Also add frame-rate limiting and frame-skipping (skipping display only, not decoding) to try and achieve real-time playback. Frame-rate limiting and frame skipping (and FPS display) are enabled via options in a new menu and are currently all off by default.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10669 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
18cfe431d7
commit
c8e69dfb71
5 changed files with 279 additions and 32 deletions
14
apps/plugins/mpegplayer/mpeg_settings.h
Normal file
14
apps/plugins/mpegplayer/mpeg_settings.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
|
||||
#include "plugin.h"
|
||||
|
||||
struct mpeg_settings {
|
||||
int showfps;
|
||||
int limitfps;
|
||||
int skipframes;
|
||||
};
|
||||
|
||||
extern struct mpeg_settings settings;
|
||||
|
||||
bool mpeg_menu(void);
|
||||
void init_settings(void);
|
||||
void save_settings(void);
|
Loading…
Add table
Add a link
Reference in a new issue