Fixed srt input building with old compilers

This commit is contained in:
Thulinma 2017-11-29 11:24:03 +01:00
parent 185fd6ebb8
commit a07c8ef02e
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@
namespace Mist{ namespace Mist{
InputSrt::InputSrt(Util::Config *cfg) : Input(cfg){ InputSrt::InputSrt(Util::Config *cfg) : Input(cfg){
vtt = false;
capa["name"] = "SRT"; capa["name"] = "SRT";
capa["decs"] = "Enables SRT Input"; capa["decs"] = "Enables SRT Input";
capa["source_match"].append("/*.srt"); capa["source_match"].append("/*.srt");

View file

@ -20,7 +20,7 @@ namespace Mist{
void getNext(bool smart = true); void getNext(bool smart = true);
void seek(int seekTime); void seek(int seekTime);
void trackSelect(std::string trackSpec); void trackSelect(std::string trackSpec);
bool vtt = false; bool vtt;
FILE * inFile; FILE * inFile;