summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/video_out_rockbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mpegplayer/video_out_rockbox.c')
-rw-r--r--apps/plugins/mpegplayer/video_out_rockbox.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/plugins/mpegplayer/video_out_rockbox.c b/apps/plugins/mpegplayer/video_out_rockbox.c
index cf47982ab7..fe3deafd01 100644
--- a/apps/plugins/mpegplayer/video_out_rockbox.c
+++ b/apps/plugins/mpegplayer/video_out_rockbox.c
@@ -116,9 +116,11 @@ static inline void yuv_blit(uint8_t * const * buf, int src_x, int src_y,
116 116
117void vo_draw_frame(uint8_t * const * buf) 117void vo_draw_frame(uint8_t * const * buf)
118{ 118{
119 if (vo.flags == 0) 119 if ((vo.flags & (VO_NON_NULL_RECT | VO_VISIBLE)) !=
120 (VO_NON_NULL_RECT | VO_VISIBLE))
120 { 121 {
121 /* Frame is hidden - copout */ 122 /* Frame is hidden - either by being set invisible or is clipped
123 * away - copout */
122 DEBUGF("vo hidden\n"); 124 DEBUGF("vo hidden\n");
123 return; 125 return;
124 } 126 }