eDVBMetaParser::eDVBMetaParser()
{
m_time_create = 0;
+ m_data_ok = 0;
}
int eDVBMetaParser::parseFile(const std::string &basename)
++linecnt;
}
fclose(f);
+ m_data_ok = 1;
return 0;
}
m_name = description;
m_description = "";
m_time_create = 0;
+
+ m_data_ok = 1;
fclose(f);
return 0;
}
int eDVBMetaParser::updateMeta(const std::string &tsname)
{
+ if (!m_data_ok)
+ return -1;
std::string filename = tsname + ".meta";
FILE *f = fopen(filename.c_str(), "w");