obs-studio/plugins/obs-transitions/obs-transitions.c
jp9000 1dab263403 obs-transitions: Add stinger transition
Allows using a video file as a means of transitioning, transitioning two
targets at a specific time during the video playback.  Audio for target
A fades out to the transition point, and then audio for target B fades
in after the transition point.
2017-07-19 16:23:06 -07:00

26 lines
797 B
C

#include <obs-module.h>
OBS_DECLARE_MODULE()
OBS_MODULE_USE_DEFAULT_LOCALE("obs-transitions", "en-US")
extern struct obs_source_info cut_transition;
extern struct obs_source_info fade_transition;
extern struct obs_source_info swipe_transition;
extern struct obs_source_info slide_transition;
extern struct obs_source_info stinger_transition;
extern struct obs_source_info fade_to_color_transition;
extern struct obs_source_info luma_wipe_transition;
bool obs_module_load(void)
{
obs_register_source(&cut_transition);
obs_register_source(&fade_transition);
obs_register_source(&swipe_transition);
obs_register_source(&slide_transition);
obs_register_source(&stinger_transition);
obs_register_source(&fade_to_color_transition);
obs_register_source(&luma_wipe_transition);
return true;
}