提交 3cb36bbd 编写于 作者: J jp9000

libobs: Fix deinterlacing discarding flipped status

When rendering the deinterlaced surface, it would not take in to account
whether the async surfaces were marked as flipped or not.
上级 7af9c2d8
......@@ -357,7 +357,8 @@ void deinterlace_render(obs_source_t *s)
gs_effect_set_bool(frame2, obs->video.video_time >= frame2_ts);
while (gs_effect_loop(effect, tech))
gs_draw_sprite(NULL, 0, s->async_width, s->async_height);
gs_draw_sprite(NULL, s->async_flip ? GS_FLIP_V : 0,
s->async_width, s->async_height);
}
static void enable_deinterlacing(obs_source_t *source,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册