胡斌

parse rotate in record info file

... ... @@ -849,6 +849,14 @@ int readfile(const char * filename, media_role role)
}
}
}
else if (res[2] == "rotate") {
if (res.size() > 3) {
const char * pInfo = res[3].c_str();
if (!strncmp(pInfo, "rotation=", 9)){
addinfo(res[1].c_str(), pInfo + 9);
}
}
}
}
}
return 0;
... ...