Fixed several --json misconfigurations in inputs.
This commit is contained in:
parent
1e09acbb92
commit
a555c5b43c
3 changed files with 3 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
||||||
namespace Mist {
|
namespace Mist {
|
||||||
inputDTSC::inputDTSC(Util::Config * cfg) : Input(cfg) {
|
inputDTSC::inputDTSC(Util::Config * cfg) : Input(cfg) {
|
||||||
capa["name"] = "DTSC";
|
capa["name"] = "DTSC";
|
||||||
capa["decs"] = "Enables DTSC Input";
|
capa["desc"] = "Enables DTSC Input";
|
||||||
capa["priority"] = 9ll;
|
capa["priority"] = 9ll;
|
||||||
capa["source_match"] = "/*.dtsc";
|
capa["source_match"] = "/*.dtsc";
|
||||||
capa["codecs"][0u][0u].append("H264");
|
capa["codecs"][0u][0u].append("H264");
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
namespace Mist {
|
namespace Mist {
|
||||||
inputFLV::inputFLV(Util::Config * cfg) : Input(cfg) {
|
inputFLV::inputFLV(Util::Config * cfg) : Input(cfg) {
|
||||||
capa["name"] = "FLV";
|
capa["name"] = "FLV";
|
||||||
capa["decs"] = "Enables FLV Input";
|
capa["desc"] = "Enables FLV Input";
|
||||||
capa["source_match"] = "/*.flv";
|
capa["source_match"] = "/*.flv";
|
||||||
capa["priority"] = 9ll;
|
capa["priority"] = 9ll;
|
||||||
capa["codecs"][0u][0u].append("H264");
|
capa["codecs"][0u][0u].append("H264");
|
||||||
|
|
|
@ -46,6 +46,7 @@ namespace Mist {
|
||||||
inputOGG::inputOGG(Util::Config * cfg) : Input(cfg){
|
inputOGG::inputOGG(Util::Config * cfg) : Input(cfg){
|
||||||
capa["name"] = "OGG";
|
capa["name"] = "OGG";
|
||||||
capa["desc"] = "Enables OGG input";
|
capa["desc"] = "Enables OGG input";
|
||||||
|
capa["source_match"] = "/*.ogg";
|
||||||
capa["codecs"][0u][0u].append("theora");
|
capa["codecs"][0u][0u].append("theora");
|
||||||
capa["codecs"][0u][1u].append("vorbis");
|
capa["codecs"][0u][1u].append("vorbis");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue