From 78f1629a539cc14a598831a73c59c3763c074094 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 30 Nov 2019 18:09:31 +0100 Subject: vf_gpu: render subtitles Pretty annoying affair. The vo_gpu code could of course not trigger rendering from filters yet, so it needed to be extended. Also, this uses some icky stuff made for vf_sub (and this was the reason I marked vf_sub as deprecated), so everything is terrible. --- video/out/gpu/video.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'video/out/gpu/video.h') diff --git a/video/out/gpu/video.h b/video/out/gpu/video.h index 931944a777..4c079d463c 100644 --- a/video/out/gpu/video.h +++ b/video/out/gpu/video.h @@ -159,7 +159,8 @@ struct voctrl_screenshot; enum { RENDER_FRAME_SUBS = 1 << 0, - RENDER_FRAME_OSD = 2 << 0, + RENDER_FRAME_OSD = 1 << 1, + RENDER_FRAME_VF_SUBS = 1 << 2, RENDER_FRAME_DEF = RENDER_FRAME_SUBS | RENDER_FRAME_OSD, }; -- cgit v1.2.3