Commit just before tweaking. Output is sensible, but not correct.
This commit is contained in:
parent
3a6d06d9a2
commit
fa7f48ae2d
1 changed files with 1 additions and 1 deletions
|
@ -141,6 +141,7 @@ namespace Converters {
|
||||||
std::string tmpStr2 = it->second["codec"];
|
std::string tmpStr2 = it->second["codec"];
|
||||||
if (tmpStr2 == "H264"){
|
if (tmpStr2 == "H264"){
|
||||||
vse.setCodec("avc1");
|
vse.setCodec("avc1");
|
||||||
|
|
||||||
}
|
}
|
||||||
vse.setDataReferenceIndex(1);
|
vse.setDataReferenceIndex(1);
|
||||||
vse.setWidth(it->second["width"].asInt());
|
vse.setWidth(it->second["width"].asInt());
|
||||||
|
@ -306,7 +307,6 @@ namespace Converters {
|
||||||
//for(input.seekNext(); input.getJSON(); input.seekNext())
|
//for(input.seekNext(); input.getJSON(); input.seekNext())
|
||||||
//cout << input.getJSON["data"].asString()
|
//cout << input.getJSON["data"].asString()
|
||||||
|
|
||||||
|
|
||||||
std::set<int> selector;
|
std::set<int> selector;
|
||||||
for (JSON::ObjIter trackIt = input.getMeta()["tracks"].ObjBegin(); trackIt != input.getMeta()["tracks"].ObjEnd(); trackIt++){
|
for (JSON::ObjIter trackIt = input.getMeta()["tracks"].ObjBegin(); trackIt != input.getMeta()["tracks"].ObjEnd(); trackIt++){
|
||||||
selector.insert(trackIt->second["trackid"].asInt());
|
selector.insert(trackIt->second["trackid"].asInt());
|
||||||
|
|
Loading…
Add table
Reference in a new issue