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

@ -10,7 +10,7 @@ outputs = [
{'name' : 'MP3', 'format' : 'mp3', 'extra': ['http']},
{'name' : 'H264', 'format' : 'h264', 'extra': ['http']},
{'name' : 'HDS', 'format' : 'hds', 'extra': ['http']},
{'name' : 'SRT', 'format' : 'srt', 'extra': ['http']},
{'name' : 'SubRip', 'format' : 'srt', 'extra': ['http']},
{'name' : 'JSON', 'format' : 'json', 'extra': ['http']},
{'name' : 'TS', 'format' : 'ts', 'extra': ['ts']},
{'name' : 'HTTPTS', 'format' : 'httpts', 'extra': ['http', 'ts']},

View file

@ -10,8 +10,8 @@ namespace Mist{
void OutSRT::init(Util::Config *cfg){
HTTPOutput::init(cfg);
capa["name"] = "SRT";
capa["friendly"] = "SubRip/WebVTT over HTTP";
capa["name"] = "SubRip";
capa["friendly"] = "SubRip (SRT/WebVTT) over HTTP";
capa["desc"] = "Pseudostreaming in SubRip Text (SRT) and WebVTT formats over HTTP";
capa["url_match"].append("/$.srt");
capa["url_match"].append("/$.vtt");