diff --git a/libobs/obs.c b/libobs/obs.c index f075b30c9..fd9731ce8 100644 --- a/libobs/obs.c +++ b/libobs/obs.c @@ -129,8 +129,8 @@ static bool obs_init_video(struct obs_video_info *ovi) struct video_output_info vi; int errorcode; - ovi.output_width &= 0xFFFFFFFC; - ovi.output_height &= 0xFFFFFFFE; + ovi->output_width &= 0xFFFFFFFC; + ovi->output_height &= 0xFFFFFFFE; make_video_info(&vi, ovi); errorcode = video_output_open(&video->video, &vi);