obs-transitions: Fix annoying log message
This would cause a null pointer check log message because matte_source only exists when using an explicit separate video for track matte stingers. Instead, explicitly set matte_ph to null if matt_source is null to avoid the null pointer check logging.
This commit is contained in:
parent
9867b9513f
commit
d4780e061c
@ -406,7 +406,9 @@ static void stinger_transition_start(void *data)
|
||||
proc_handler_t *ph =
|
||||
obs_source_get_proc_handler(s->media_source);
|
||||
proc_handler_t *matte_ph =
|
||||
obs_source_get_proc_handler(s->matte_source);
|
||||
s->matte_source
|
||||
? obs_source_get_proc_handler(s->matte_source)
|
||||
: NULL;
|
||||
|
||||
if (s->transitioning) {
|
||||
proc_handler_call(ph, "restart", &cd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user