diff options
author | Dave Chapman <dave@dchapman.com> | 2007-03-22 09:18:46 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2007-03-22 09:18:46 +0000 |
commit | 831084842182c076cbf5e8f7bf089029dbab8ae6 (patch) | |
tree | 822c3d42b30bfa33a8d55b7701ba31577410f45c /apps/plugins/mpegplayer/mpeg_settings.c | |
parent | 81cad7db4617dfaabf324e2f92fae2181911557b (diff) |
Some small mpegplayer improvements/bug-fixes, and improved A/V sync. Audio is used as the master clock and video is synced to the number of samples played. This doesn't take account of any PTS difference at the start of the stream. Also enable Limit FPS and Skip Frames by default - these options need to be enabled for A/V sync to work. Adds pcm_get_bytes_waiting() to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12884 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/mpeg_settings.c')
-rw-r--r-- | apps/plugins/mpegplayer/mpeg_settings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/mpegplayer/mpeg_settings.c b/apps/plugins/mpegplayer/mpeg_settings.c index dc63626c10..bf0b3d5a0c 100644 --- a/apps/plugins/mpegplayer/mpeg_settings.c +++ b/apps/plugins/mpegplayer/mpeg_settings.c @@ -82,8 +82,8 @@ void init_settings(void) { /* Set the default settings */ settings.showfps = 0; /* Do not show FPS */ - settings.limitfps = 0; /* Do not limit FPS */ - settings.skipframes = 0; /* Do not skip frames */ + settings.limitfps = 1; /* Limit FPS */ + settings.skipframes = 1; /* Skip frames */ configfile_init(rb); |