vo_opengl: fix blend-subtitles=video in some cases
Shader miscompilation and bad output.
Regression probably since commit 93546f0c (or one of the following
ones).
Fixes #2982.
This commit is contained in:
1 parent
c8b6ca9070
commit
fd3ae6c561
1 file changed
+1
@@ -2113,6 +2113,7 @@ static void pass_render_frame(struct gl_video *p)
|
||||
pass_draw_osd(p, OSD_DRAW_SUB_ONLY, vpts, rect,
|
||||
p->texture_w, p->texture_h, p->blend_subs_fbo.fbo, false);
|
||||
GLSL(color = texture(texture0, texcoord0);)
|
||||
pass_read_fbo(p, &p->blend_subs_fbo);
|
||||
}
|
||||
|
||||
apply_shaders(p, p->opts.pre_shaders, p->texture_w, p->texture_h, p->pre_fbo);
|
||||
|
||||
Reference in new issue
Block a user