summaryrefslogtreecommitdiff
path: root/apps/plugins/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/video.c')
-rw-r--r--apps/plugins/video.c7
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: