source-shader: Use custom draw video_render

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2019-08-07 18:10:44 +02:00
parent 76335745b1
commit c670ab60a1

View file

@ -61,7 +61,7 @@ source::shader::shader_factory::shader_factory()
memset(&_source_info, 0, sizeof(obs_source_info));
_source_info.id = "obs-stream-effects-source-shader";
_source_info.type = OBS_SOURCE_TYPE_INPUT;
_source_info.output_flags = OBS_SOURCE_VIDEO;
_source_info.output_flags = OBS_SOURCE_VIDEO | OBS_SOURCE_CUSTOM_DRAW;
_source_info.get_name = [](void*) { return D_TRANSLATE(ST); };
_source_info.get_defaults = get_defaults;