Skip to content
Snippets Groups Projects
Commit d8cae209 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Fix for missing stream

parent bd769dee
No related branches found
No related tags found
1 merge request!148Resolves #213 and resolves #214
Pipeline #15978 passed
...@@ -100,7 +100,7 @@ static void run(ftl::Configurable *root) { ...@@ -100,7 +100,7 @@ static void run(ftl::Configurable *root) {
LOG(INFO) << "Found " << (max_stream+1) << " sources in " << path; LOG(INFO) << "Found " << (max_stream+1) << " sources in " << path;
// For each stream found, add a source object // For each stream found, add a source object
for (int i=0; i<max_stream; ++i) { for (int i=0; i<=max_stream; ++i) {
root->getConfig()["sources"].push_back(nlohmann::json{{"uri",std::string("file://") + path + std::string("#") + std::to_string(i)}}); root->getConfig()["sources"].push_back(nlohmann::json{{"uri",std::string("file://") + path + std::string("#") + std::to_string(i)}});
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment