Changeset 96172 in vbox for trunk/src/VBox/Main/xml
- Timestamp:
- Aug 12, 2022 1:27:46 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/Settings.cpp
r96141 r96172 2807 2807 for (size_t i = 0; i < lstFeatures.size(); i++) 2808 2808 { 2809 if (lstFeatures.at(i).compare("video", RTCString::CaseInsensitive) )2809 if (lstFeatures.at(i).compare("video", RTCString::CaseInsensitive) == 0) 2810 2810 featureMap[RecordingFeature_Video] = true; 2811 else if (lstFeatures.at(i).compare("audio", RTCString::CaseInsensitive) )2811 else if (lstFeatures.at(i).compare("audio", RTCString::CaseInsensitive) == 0) 2812 2812 featureMap[RecordingFeature_Audio] = true; 2813 2813 /* ignore everything else */ … … 2826 2826 void RecordingScreenSettings::featuresToString(const RecordingFeatureMap &featureMap, com::Utf8Str &strFeatures) 2827 2827 { 2828 strFeatures = ""; 2829 2828 2830 RecordingFeatureMap::const_iterator itFeature = featureMap.begin(); 2829 2831 while (itFeature != featureMap.end()) … … 2833 2835 if (itFeature->first == RecordingFeature_Audio && itFeature->second) 2834 2836 strFeatures += "audio "; 2835 strFeatures += " ";2836 2837 2837 ++itFeature; 2838 2838 }
Note:
See TracChangeset
for help on using the changeset viewer.