yolobs-studio/plugins/obs-transitions/obs-transitions.c

29 lines
887 B
C
Raw Normal View History

2016-02-23 23:16:51 +00:00
#include <obs-module.h>
OBS_DECLARE_MODULE()
OBS_MODULE_USE_DEFAULT_LOCALE("obs-transitions", "en-US")
2019-07-27 12:47:10 +00:00
MODULE_EXPORT const char *obs_module_description(void)
{
return "OBS core transitions";
}
2016-02-23 23:16:51 +00:00
extern struct obs_source_info cut_transition;
extern struct obs_source_info fade_transition;
2016-05-24 19:53:01 +00:00
extern struct obs_source_info swipe_transition;
extern struct obs_source_info slide_transition;
2018-02-19 19:54:37 +00:00
extern struct obs_source_info stinger_transition;
2016-05-24 19:53:01 +00:00
extern struct obs_source_info fade_to_color_transition;
2016-08-28 12:07:43 +00:00
extern struct obs_source_info luma_wipe_transition;
2016-02-23 23:16:51 +00:00
bool obs_module_load(void)
{
obs_register_source(&cut_transition);
obs_register_source(&fade_transition);
2016-05-24 19:53:01 +00:00
obs_register_source(&swipe_transition);
obs_register_source(&slide_transition);
2018-02-19 19:54:37 +00:00
obs_register_source(&stinger_transition);
2016-05-24 19:53:01 +00:00
obs_register_source(&fade_to_color_transition);
2016-08-28 12:07:43 +00:00
obs_register_source(&luma_wipe_transition);
2016-02-23 23:16:51 +00:00
return true;
}