forked from len0rd/rockbox
FS#7487 - mpegplayer - video start time seek with resume
by John S. Gwynne & Brian J. Morey This should stop the patch from breaking again and give them opportunity to improve it further. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15052 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ce135909b9
commit
fd3fe45bc1
17 changed files with 1241 additions and 219 deletions
|
@ -2,16 +2,23 @@
|
|||
#include "plugin.h"
|
||||
|
||||
struct mpeg_settings {
|
||||
int showfps;
|
||||
int limitfps;
|
||||
int skipframes;
|
||||
int showfps; /* flag to display fps */
|
||||
int limitfps; /* flag to limit fps */
|
||||
int skipframes; /* flag to skip frames */
|
||||
int resume_count; /* total # of resumes in config file */
|
||||
int resume_time; /* resume time for current mpeg (in half minutes) */
|
||||
char resume_filename[128]; /* filename of current mpeg */
|
||||
|
||||
#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200)
|
||||
unsigned displayoptions;
|
||||
int displayoptions;
|
||||
#endif
|
||||
};
|
||||
|
||||
extern struct mpeg_settings settings;
|
||||
|
||||
int get_start_time(int play_time, int in_file);
|
||||
int mpeg_start_menu(int play_time, int in_file);
|
||||
bool mpeg_menu(void);
|
||||
void init_settings(void);
|
||||
void init_settings(const char* filename);
|
||||
void save_settings(void);
|
||||
void clear_resume_count(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue