diff options
Diffstat (limited to 'video/out/gl_video.h')
-rw-r--r-- | video/out/gl_video.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/video/out/gl_video.h b/video/out/gl_video.h index e3ce40b606..4e82215268 100644 --- a/video/out/gl_video.h +++ b/video/out/gl_video.h @@ -77,6 +77,7 @@ extern const struct gl_video_opts gl_video_opts_hq_def; extern const struct gl_video_opts gl_video_opts_def; struct gl_video; +struct vo_frame; struct gl_video *gl_video_init(GL *gl, struct mp_log *log, struct mpv_global *g); void gl_video_uninit(struct gl_video *p); @@ -87,9 +88,7 @@ bool gl_video_check_format(struct gl_video *p, int mp_format); void gl_video_config(struct gl_video *p, struct mp_image_params *params); void gl_video_set_output_depth(struct gl_video *p, int r, int g, int b); void gl_video_set_lut3d(struct gl_video *p, struct lut3d *lut3d); -void gl_video_set_image(struct gl_video *p, struct mp_image *img); -void gl_video_render_frame(struct gl_video *p, struct mp_image *img, int fbo, - struct frame_timing *t); +void gl_video_render_frame(struct gl_video *p, struct vo_frame *frame, int fbo); void gl_video_resize(struct gl_video *p, int vp_w, int vp_h, struct mp_rect *src, struct mp_rect *dst, struct mp_osd_res *osd); |