Fixed stdin/stdout support messages for MistIn applications.

This commit is contained in:
Thulinma 2014-04-30 12:05:50 +02:00
parent cfbc882641
commit 6cbf81bdb9
3 changed files with 13 additions and 10 deletions

View file

@ -23,11 +23,12 @@ namespace Mist {
bool inputDTSC::setup() {
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;
}
if (config->getString("output") != "-") {
std::cerr << "Output to non-stdout not yet supported" << std::endl;
if (config->getString("output") == "-") {
std::cerr << "Output to stdout not yet supported" << std::endl;
return false;
}
//open File

View file

@ -23,11 +23,12 @@ namespace Mist {
bool inputFLV::setup() {
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;
}
if (config->getString("output") != "-") {
std::cerr << "Output to non-stdout not yet supported" << std::endl;
if (config->getString("output") == "-") {
std::cerr << "Output to stdout not yet supported" << std::endl;
return false;
}
//open File

View file

@ -21,11 +21,12 @@ namespace Mist {
bool inputOGG::setup() {
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;
}
if (config->getString("output") != "-") {
std::cerr << "Output to non-stdout not yet supported" << std::endl;
if (config->getString("output") == "-") {
std::cerr << "Output to stdout not yet supported" << std::endl;
return false;
}
//open File