diff options
author | wm4 <wm4@nowhere> | 2019-11-30 18:09:31 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-11-30 18:09:31 +0100 |
commit | 78f1629a539cc14a598831a73c59c3763c074094 (patch) | |
tree | f2dd75c25225701d9161721fd598a2bd71b96d01 /video/out/gpu/video.h | |
parent | 6a88e7463e9f759121b109be16cd4bd911355c86 (diff) | |
download | mpv-78f1629a539cc14a598831a73c59c3763c074094.tar.bz2 mpv-78f1629a539cc14a598831a73c59c3763c074094.tar.xz |
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.
Diffstat (limited to 'video/out/gpu/video.h')
-rw-r--r-- | video/out/gpu/video.h | 3 |
1 files changed, 2 insertions, 1 deletions
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, }; |