diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2009-06-29 14:29:46 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2009-06-29 14:29:46 +0000 |
commit | 89ccd5c145e45ad541a02f38e2ad07fb916f7135 (patch) | |
tree | 5fc32e78d793022246e3893f7c420f52d624c96e /apps/plugins/video.c | |
parent | b955dff268005d3d55ee3f38af0875718ab6021a (diff) | |
download | rockbox-89ccd5c145e45ad541a02f38e2ad07fb916f7135.tar.gz rockbox-89ccd5c145e45ad541a02f38e2ad07fb916f7135.zip |
Remove int_prio argument from timer_register, and move the only use for it into alpine_cdc plugin, since this plugin is only built on SH7034
Also remove it from TIMER_START()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21558 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/video.c')
-rw-r--r-- | apps/plugins/video.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/video.c b/apps/plugins/video.c index bcbbb99d80..bd8a95eb71 100644 --- a/apps/plugins/video.c +++ b/apps/plugins/video.c | |||
@@ -562,10 +562,10 @@ int SeekTo(int fd, int nPos) | |||
562 | gPlay.bVideoUnderrun = false; | 562 | gPlay.bVideoUnderrun = false; |
563 | /* start display interrupt */ | 563 | /* start display interrupt */ |
564 | #if FREQ == 12000000 /* Ondio speed kludge */ | 564 | #if FREQ == 12000000 /* Ondio speed kludge */ |
565 | rb->timer_register(1, NULL, gPlay.nFrameTimeAdjusted, 1, | 565 | rb->timer_register(1, NULL, gPlay.nFrameTimeAdjusted, |
566 | timer4_isr IF_COP(, CPU)); | 566 | timer4_isr IF_COP(, CPU)); |
567 | #else | 567 | #else |
568 | rb->timer_register(1, NULL, gFileHdr.video_frametime, 1, | 568 | rb->timer_register(1, NULL, gFileHdr.video_frametime, |
569 | timer4_isr IF_COP(, CPU)); | 569 | timer4_isr IF_COP(, CPU)); |
570 | #endif | 570 | #endif |
571 | } | 571 | } |
@@ -748,10 +748,10 @@ int PlayTick(int fd) | |||
748 | { /* start the video */ | 748 | { /* start the video */ |
749 | #if FREQ == 12000000 /* Ondio speed kludge */ | 749 | #if FREQ == 12000000 /* Ondio speed kludge */ |
750 | rb->timer_register(1, NULL, | 750 | rb->timer_register(1, NULL, |
751 | gPlay.nFrameTimeAdjusted, 1, timer4_isr); | 751 | gPlay.nFrameTimeAdjusted, timer4_isr); |
752 | #else | 752 | #else |
753 | rb->timer_register(1, NULL, | 753 | rb->timer_register(1, NULL, |
754 | gFileHdr.video_frametime, 1, timer4_isr); | 754 | gFileHdr.video_frametime, timer4_isr); |
755 | #endif | 755 | #endif |
756 | } | 756 | } |
757 | } | 757 | } |