File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
src/AvTranscoder/properties Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -567,13 +567,16 @@ PropertyVector& VideoProperties::fillVector(PropertyVector& data) const
567
567
addProperty (data, " minBitRate" , &VideoProperties::getMinBitRate);
568
568
addProperty (data, " gopSize" , &VideoProperties::getGopSize);
569
569
570
- std::string gop;
570
+ std::stringstream gop;
571
571
for (size_t frameIndex = 0 ; frameIndex < _gopStructure.size (); ++frameIndex)
572
572
{
573
- gop += _gopStructure.at (frameIndex).first ;
574
- gop += " " ;
573
+ gop << _gopStructure.at (frameIndex).first ;
574
+ gop << " (" ;
575
+ gop << _gopStructure.at (frameIndex).second ;;
576
+ gop << " )" ;
577
+ gop << " " ;
575
578
}
576
- detail::add (data, " gop" , gop);
579
+ detail::add (data, " gop" , gop. str () );
577
580
// detail::add( data, "isClosedGop", isClosedGop() );
578
581
579
582
addProperty (data, " hasBFrames" , &VideoProperties::hasBFrames);
You can’t perform that action at this time.
0 commit comments