mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-23 20:05:11 +00:00
obs-source-factory: Fix support for transitions
Transitions always require audio and video rendering.
This commit is contained in:
parent
6ae9904e13
commit
2e250ad826
1 changed files with 3 additions and 7 deletions
|
@ -144,13 +144,9 @@ namespace obs {
|
|||
set_resolution_enabled(false);
|
||||
_info.transition_start = _transition_start;
|
||||
_info.transition_stop = _transition_stop;
|
||||
if ((_info.output_flags & OBS_SOURCE_VIDEO) != 0) {
|
||||
_info.video_tick = _video_tick;
|
||||
_info.video_render = _video_render;
|
||||
}
|
||||
if ((_info.output_flags & OBS_SOURCE_AUDIO) != 0) {
|
||||
_info.audio_render = _audio_render;
|
||||
}
|
||||
_info.audio_render = _audio_render;
|
||||
_info.video_tick = _video_tick;
|
||||
_info.video_render = _video_render;
|
||||
} else if (_info.type == OBS_SOURCE_TYPE_FILTER) {
|
||||
switch (_info.output_flags & OBS_SOURCE_ASYNC_VIDEO) {
|
||||
case OBS_SOURCE_ASYNC_VIDEO:
|
||||
|
|
Loading…
Reference in a new issue