Preview bugfixes mp3, srt.
This commit is contained in:
parent
bea3ca503e
commit
315fb0f40e
2 changed files with 7 additions and 1 deletions
|
@ -20,7 +20,7 @@ namespace Mist {
|
|||
capa["socket"] = "http_progressive_mp3";
|
||||
capa["codecs"][0u][0u].append("MP3");
|
||||
capa["methods"][0u]["handler"] = "http";
|
||||
capa["methods"][0u]["type"] = "mp3";
|
||||
capa["methods"][0u]["type"] = "html5/audio/mp3";
|
||||
capa["methods"][0u]["priority"] = 8ll;
|
||||
|
||||
cfg->addBasicConnectorOptions(capa);
|
||||
|
|
|
@ -30,6 +30,12 @@ namespace Mist {
|
|||
capa["url_handler"] = "http";
|
||||
capa["url_type"] = "subtitle";
|
||||
capa["socket"] = "http_srt";
|
||||
|
||||
capa["codecs"][0u][0u].append("srt");
|
||||
|
||||
capa["methods"][0u]["handler"] = "http";
|
||||
capa["methods"][0u]["type"] = "html5/text/plain";
|
||||
capa["methods"][0u]["priority"] = 8ll;
|
||||
|
||||
cfg->addBasicConnectorOptions(capa);
|
||||
config = cfg;
|
||||
|
|
Loading…
Add table
Reference in a new issue