胡斌

parse rotate in record info file

@@ -849,6 +849,14 @@ int readfile(const char * filename, media_role role) @@ -849,6 +849,14 @@ int readfile(const char * filename, media_role role)
849 } 849 }
850 } 850 }
851 } 851 }
  852 + else if (res[2] == "rotate") {
  853 + if (res.size() > 3) {
  854 + const char * pInfo = res[3].c_str();
  855 + if (!strncmp(pInfo, "rotation=", 9)){
  856 + addinfo(res[1].c_str(), pInfo + 9);
  857 + }
  858 + }
  859 + }
852 } 860 }
853 } 861 }
854 return 0; 862 return 0;