diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-05-12 19:53:11 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-05-12 19:53:11 +0000 |
commit | 75952448452f91bc34b2e99247b23c7c5221fc21 (patch) | |
tree | 42bd58d7a9a2ae9b6f13866bdc2a1aa02775145e /apps/plugins/video.c | |
parent | 205c120672a733e0dd6d26b62e5a0667a7589707 (diff) | |
download | rockbox-75952448452f91bc34b2e99247b23c7c5221fc21.tar.gz rockbox-75952448452f91bc34b2e99247b23c7c5221fc21.zip |
Fix for bug #904026: Reset pitch to ensure synchronous playback.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6459 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/video.c')
-rw-r--r-- | apps/plugins/video.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/video.c b/apps/plugins/video.c index db371392d5..b4b27e0cb8 100644 --- a/apps/plugins/video.c +++ b/apps/plugins/video.c | |||
@@ -852,6 +852,9 @@ int main(char* filename) | |||
852 | if (fd < 0) | 852 | if (fd < 0) |
853 | return PLUGIN_ERROR; | 853 | return PLUGIN_ERROR; |
854 | file_size = rb->filesize(fd); | 854 | file_size = rb->filesize(fd); |
855 | |||
856 | // reset pitch value to ensure synchronous playback | ||
857 | rb->sound_set_pitch(1000); | ||
855 | 858 | ||
856 | // init statistics | 859 | // init statistics |
857 | rb->memset(&gStats, 0, sizeof(gStats)); | 860 | rb->memset(&gStats, 0, sizeof(gStats)); |