Renamed SRT input and output to SubRip to prevent confusion with TSSRT

This commit is contained in:
Thulinma 2023-03-23 13:50:13 +01:00
parent 9d295cd9af
commit 9cd08e3a77
6 changed files with 16 additions and 8 deletions

View file

@ -545,6 +545,14 @@ int main_loop(int argc, char **argv){
continue;
}
if ((*it)["connector"].asStringRef() == "SRT"){
edit = true;
JSON::Value newSubRip = *it;
newSubRip["connector"] = "SubRip";
newVal.append(newSubRip);
continue;
}
if ((*it)["connector"].asStringRef() == "CMAF"){foundCMAF = true;}
newVal.append(*it);
}