diff options
Diffstat (limited to 'apps/plugins/mpegplayer/stream_mgr.h')
-rw-r--r-- | apps/plugins/mpegplayer/stream_mgr.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/stream_mgr.h b/apps/plugins/mpegplayer/stream_mgr.h index 63452ecbc0..dd5d8cabec 100644 --- a/apps/plugins/mpegplayer/stream_mgr.h +++ b/apps/plugins/mpegplayer/stream_mgr.h | |||
@@ -105,6 +105,9 @@ int stream_seek(uint32_t time, int whence); | |||
105 | /* Show/Hide the video image at the current seekpoint */ | 105 | /* Show/Hide the video image at the current seekpoint */ |
106 | bool stream_show_vo(bool show); | 106 | bool stream_show_vo(bool show); |
107 | 107 | ||
108 | /* Set the visible section of video */ | ||
109 | void stream_vo_set_clip(const struct vo_rect *rc); | ||
110 | |||
108 | #ifndef HAVE_LCD_COLOR | 111 | #ifndef HAVE_LCD_COLOR |
109 | /* Set the gray overlay rectangle */ | 112 | /* Set the gray overlay rectangle */ |
110 | bool stream_set_gray_rect(const struct vo_rect *rc); | 113 | bool stream_set_gray_rect(const struct vo_rect *rc); |
@@ -114,12 +117,19 @@ void stream_gray_show(bool show); | |||
114 | /* Display thumbnail of the current seekpoint */ | 117 | /* Display thumbnail of the current seekpoint */ |
115 | bool stream_display_thumb(const struct vo_rect *rc); | 118 | bool stream_display_thumb(const struct vo_rect *rc); |
116 | 119 | ||
120 | /* Draw the frame at the current position */ | ||
121 | bool stream_draw_frame(bool no_prepare); | ||
122 | |||
117 | /* Return video dimensions */ | 123 | /* Return video dimensions */ |
118 | bool stream_vo_get_size(struct vo_ext *sz); | 124 | bool stream_vo_get_size(struct vo_ext *sz); |
119 | 125 | ||
120 | /* Returns the resume time in timestamp ticks */ | 126 | /* Returns the resume time in timestamp ticks */ |
121 | uint32_t stream_get_resume_time(void); | 127 | uint32_t stream_get_resume_time(void); |
122 | 128 | ||
129 | /* Returns stream_get_time if no seek is pending or else the | ||
130 | last time give to seek */ | ||
131 | uint32_t stream_get_seek_time(uint32_t *start); | ||
132 | |||
123 | /* Return the absolute stream time in clock ticks - adjusted by | 133 | /* Return the absolute stream time in clock ticks - adjusted by |
124 | * master clock stream via audio timestamps */ | 134 | * master clock stream via audio timestamps */ |
125 | static inline uint32_t stream_get_time(void) | 135 | static inline uint32_t stream_get_time(void) |