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 @@ -564,13 +564,16 @@ PropertyVector& VideoProperties::fillVector(PropertyVector& data) const
564
564
addProperty (data, " minBitRate" , &VideoProperties::getMinBitRate);
565
565
addProperty (data, " gopSize" , &VideoProperties::getGopSize);
566
566
567
- std::string gop;
567
+ std::stringstream gop;
568
568
for (size_t frameIndex = 0 ; frameIndex < _gopStructure.size (); ++frameIndex)
569
569
{
570
- gop += _gopStructure.at (frameIndex).first ;
571
- gop += " " ;
570
+ gop << _gopStructure.at (frameIndex).first ;
571
+ gop << " (" ;
572
+ gop << _gopStructure.at (frameIndex).second ;;
573
+ gop << " )" ;
574
+ gop << " " ;
572
575
}
573
- detail::add (data, " gop" , gop);
576
+ detail::add (data, " gop" , gop. str () );
574
577
// detail::add( data, "isClosedGop", isClosedGop() );
575
578
576
579
addProperty (data, " hasBFrames" , &VideoProperties::hasBFrames);
You can’t perform that action at this time.
0 commit comments