diff options
Diffstat (limited to 'apps/plugins/mpegplayer')
-rw-r--r-- | apps/plugins/mpegplayer/alloc.c | 2 | ||||
-rw-r--r-- | apps/plugins/mpegplayer/video_thread.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugins/mpegplayer/alloc.c b/apps/plugins/mpegplayer/alloc.c index c2165b2ea9..eb58c67f44 100644 --- a/apps/plugins/mpegplayer/alloc.c +++ b/apps/plugins/mpegplayer/alloc.c | |||
@@ -149,7 +149,7 @@ bool mpeg_alloc_init(unsigned char *buf, size_t mallocsize) | |||
149 | return false; | 149 | return false; |
150 | } | 150 | } |
151 | 151 | ||
152 | IF_COP(rb->cpucache_invalidate()); | 152 | IF_COP(rb->commit_discard_dcache()); |
153 | return true; | 153 | return true; |
154 | } | 154 | } |
155 | 155 | ||
diff --git a/apps/plugins/mpegplayer/video_thread.c b/apps/plugins/mpegplayer/video_thread.c index 5119712396..392cc6179f 100644 --- a/apps/plugins/mpegplayer/video_thread.c +++ b/apps/plugins/mpegplayer/video_thread.c | |||
@@ -550,7 +550,7 @@ static void video_thread_msg(struct video_thread_data *td) | |||
550 | } | 550 | } |
551 | else | 551 | else |
552 | { | 552 | { |
553 | IF_COP(rb->cpucache_invalidate()); | 553 | IF_COP(rb->commit_discard_dcache()); |
554 | vo_lock(); | 554 | vo_lock(); |
555 | rb->lcd_update(); | 555 | rb->lcd_update(); |
556 | vo_unlock(); | 556 | vo_unlock(); |
@@ -1007,7 +1007,7 @@ bool video_thread_init(void) | |||
1007 | { | 1007 | { |
1008 | intptr_t rep; | 1008 | intptr_t rep; |
1009 | 1009 | ||
1010 | IF_COP(rb->cpucache_flush()); | 1010 | IF_COP(rb->commit_dcache()); |
1011 | 1011 | ||
1012 | video_str.hdr.q = &video_str_queue; | 1012 | video_str.hdr.q = &video_str_queue; |
1013 | rb->queue_init(video_str.hdr.q, false); | 1013 | rb->queue_init(video_str.hdr.q, false); |
@@ -1025,7 +1025,7 @@ bool video_thread_init(void) | |||
1025 | 1025 | ||
1026 | /* Wait for thread to initialize */ | 1026 | /* Wait for thread to initialize */ |
1027 | rep = str_send_msg(&video_str, STREAM_NULL, 0); | 1027 | rep = str_send_msg(&video_str, STREAM_NULL, 0); |
1028 | IF_COP(rb->cpucache_invalidate()); | 1028 | IF_COP(rb->commit_discard_dcache()); |
1029 | 1029 | ||
1030 | return rep == 0; /* Normally STREAM_NULL should be ignored */ | 1030 | return rep == 0; /* Normally STREAM_NULL should be ignored */ |
1031 | } | 1031 | } |
@@ -1037,7 +1037,7 @@ void video_thread_exit(void) | |||
1037 | { | 1037 | { |
1038 | str_post_msg(&video_str, STREAM_QUIT, 0); | 1038 | str_post_msg(&video_str, STREAM_QUIT, 0); |
1039 | rb->thread_wait(video_str.thread); | 1039 | rb->thread_wait(video_str.thread); |
1040 | IF_COP(rb->cpucache_invalidate()); | 1040 | IF_COP(rb->commit_discard_dcache()); |
1041 | video_str.thread = 0; | 1041 | video_str.thread = 0; |
1042 | } | 1042 | } |
1043 | } | 1043 | } |