mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-30 17:58:37 +08:00
1baa4619e4
If - for some reason - the name in a scene collection is empty (or the key doesn't even exist), use the filename stem as a fallback name. This ensures that the scene collection entry in the cache has a valid non-empty name. Using an std::string allows the use of its "empty" method to check for this otherwise invalid state of the collection data.