mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-27 20:35:26 -05:00
Add "slideshow" to list of supported media sources
This commit is contained in:
parent
1a8a4584c1
commit
bd5ecb3b3b
|
|
@ -651,7 +651,8 @@ void populateMediaSelection(QComboBox *sel, bool addSelect)
|
|||
reinterpret_cast<std::vector<std::string> *>(data);
|
||||
std::string sourceId = obs_source_get_id(source);
|
||||
if (sourceId.compare("ffmpeg_source") == 0 ||
|
||||
sourceId.compare("vlc_source") == 0) {
|
||||
sourceId.compare("vlc_source") == 0 ||
|
||||
sourceId.compare("slideshow") == 0) {
|
||||
list->push_back(obs_source_get_name(source));
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user