Fixed stdin/stdout support messages for MistIn applications.
This commit is contained in:
parent
cfbc882641
commit
6cbf81bdb9
3 changed files with 13 additions and 10 deletions
|
@ -23,11 +23,12 @@ namespace Mist {
|
||||||
|
|
||||||
bool inputDTSC::setup() {
|
bool inputDTSC::setup() {
|
||||||
if (config->getString("input") == "-") {
|
if (config->getString("input") == "-") {
|
||||||
std::cerr << "Input from stream not yet supported" << std::endl;
|
std::cerr << "Input from stdin not yet supported" << std::endl;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (config->getString("output") != "-") {
|
if (config->getString("output") == "-") {
|
||||||
std::cerr << "Output to non-stdout not yet supported" << std::endl;
|
std::cerr << "Output to stdout not yet supported" << std::endl;
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
//open File
|
//open File
|
||||||
|
|
|
@ -23,11 +23,12 @@ namespace Mist {
|
||||||
|
|
||||||
bool inputFLV::setup() {
|
bool inputFLV::setup() {
|
||||||
if (config->getString("input") == "-") {
|
if (config->getString("input") == "-") {
|
||||||
std::cerr << "Input from stream not yet supported" << std::endl;
|
std::cerr << "Input from stdin not yet supported" << std::endl;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (config->getString("output") != "-") {
|
if (config->getString("output") == "-") {
|
||||||
std::cerr << "Output to non-stdout not yet supported" << std::endl;
|
std::cerr << "Output to stdout not yet supported" << std::endl;
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
//open File
|
//open File
|
||||||
|
|
|
@ -21,11 +21,12 @@ namespace Mist {
|
||||||
|
|
||||||
bool inputOGG::setup() {
|
bool inputOGG::setup() {
|
||||||
if (config->getString("input") == "-") {
|
if (config->getString("input") == "-") {
|
||||||
std::cerr << "Input from stream not yet supported" << std::endl;
|
std::cerr << "Input from stdin not yet supported" << std::endl;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (config->getString("output") != "-") {
|
if (config->getString("output") == "-") {
|
||||||
std::cerr << "Output to non-stdout not yet supported" << std::endl;
|
std::cerr << "Output to stdout not yet supported" << std::endl;
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
//open File
|
//open File
|
||||||
|
|
Loading…
Add table
Reference in a new issue