fix: video input on both output and monitoring
This commit is contained in:
@@ -313,6 +313,10 @@ static bool init(const Parameters *params) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef VIDEO_IN
|
#ifdef VIDEO_IN
|
||||||
|
if (params->output && params->monitor) {
|
||||||
|
window_use(window_output, &context);
|
||||||
|
}
|
||||||
|
|
||||||
shaders_link_inputs(&program, &project, &video_captures,
|
shaders_link_inputs(&program, &project, &video_captures,
|
||||||
init_params.video_buffers);
|
init_params.video_buffers);
|
||||||
#endif /* VIDEO_IN */
|
#endif /* VIDEO_IN */
|
||||||
|
|||||||
Reference in New Issue
Block a user