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

@ -4,9 +4,9 @@ namespace Mist{
InputSrt::InputSrt(Util::Config *cfg) : Input(cfg){
vtt = false;
capa["name"] = "SRT";
capa["name"] = "SubRip";
capa["decs"] =
"This input allows streaming of SRT and WebVTT subtitle files as Video on Demand.";
"This input allows streaming of SubRip (SRT and WebVTT) subtitle files as Video on Demand.";
capa["source_match"].append("/*.srt");
capa["source_match"].append("/*.vtt");
capa["priority"] = 9;

View file

@ -14,7 +14,7 @@ inputs = [
{'name' : 'Playlist', 'format' : 'playlist'},
{'name' : 'Balancer', 'format' : 'balancer'},
{'name' : 'RTSP', 'format' : 'rtsp'},
{'name' : 'SRT', 'format' : 'srt'},
{'name' : 'SubRip', 'format' : 'srt'},
{'name' : 'SDP', 'format' : 'sdp'},
{'name' : 'AAC', 'format' : 'aac'},
{'name' : 'FLAC', 'format' : 'flac'},