mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 23:34:08 +00:00
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.
This commit is contained in:
parent
7af9c2d882
commit
3cb36bbd51
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue