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() { | ||||
|     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
 | ||||
|  |  | |||
|  | @ -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
 | ||||
|  |  | |||
|  | @ -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
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Thulinma
						Thulinma