diff options
author | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-04-30 21:16:35 +0000 |
---|---|---|
committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-04-30 21:16:35 +0000 |
commit | a2d9dbdcb949b30ae61a881dd1cc8440ed10c523 (patch) | |
tree | 26b01b6e931e5b5816a2c49e64f39efce147f892 /apps | |
parent | e724b605f402dbe58f61fdeea266fd2aab53784f (diff) | |
download | rockbox-a2d9dbdcb949b30ae61a881dd1cc8440ed10c523.tar.gz rockbox-a2d9dbdcb949b30ae61a881dd1cc8440ed10c523.zip |
didn't I say no more hardware banging?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4566 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/video.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugins/video.c b/apps/plugins/video.c index c7e893fccd..234017d6f2 100644 --- a/apps/plugins/video.c +++ b/apps/plugins/video.c | |||
@@ -621,7 +621,7 @@ int PlayTick(int fd) | |||
621 | if (gPlay.bHasAudio) | 621 | if (gPlay.bHasAudio) |
622 | rb->mp3_play_pause(false); // pause audio | 622 | rb->mp3_play_pause(false); // pause audio |
623 | if (gPlay.bHasVideo) | 623 | if (gPlay.bHasVideo) |
624 | and_b(~0x10, &TSTR); // stop the timer 4 | 624 | rb->plugin_unregister_timer(); // stop the timer |
625 | } | 625 | } |
626 | else if (gPlay.state == paused) | 626 | else if (gPlay.state == paused) |
627 | { | 627 | { |
@@ -633,7 +633,10 @@ int PlayTick(int fd) | |||
633 | rb->mp3_play_pause(true); // play audio | 633 | rb->mp3_play_pause(true); // play audio |
634 | } | 634 | } |
635 | if (gPlay.bHasVideo) | 635 | if (gPlay.bHasVideo) |
636 | or_b(0x10, &TSTR); // start the video | 636 | { // start the video |
637 | rb->plugin_register_timer( | ||
638 | gFileHdr.video_frametime, 1, timer4_isr); | ||
639 | } | ||
637 | } | 640 | } |
638 | break; | 641 | break; |
639 | case BUTTON_UP: | 642 | case BUTTON_UP: |