We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc82a7b commit ab34bdeCopy full SHA for ab34bde
src/AvTranscoder/transcoder/Transcoder.cpp
@@ -356,8 +356,10 @@ ProfileLoader::Profile Transcoder::getProfileFromInputs(const std::vector<InputS
356
std::stringstream ss;
357
ss << videoProperties->getFps();
358
profile[constants::avProfileFrameRate] = ss.str();
359
- profile[constants::avProfileWidth] = videoProperties->getWidth();
360
- profile[constants::avProfileHeight] = videoProperties->getHeight();
+ ss.str(""); ss << videoProperties->getWidth();
+ profile[constants::avProfileWidth] = ss.str();
361
+ ss.str(""); ss << videoProperties->getHeight();
362
+ profile[constants::avProfileHeight] = ss.str();
363
}
364
// audio
365
else if(audioProperties != NULL)
0 commit comments