Changeset 75418 in vbox for trunk/src/VBox/Main/src-server/RecordingSettingsImpl.cpp
- Timestamp:
- Nov 13, 2018 12:09:09 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 126565
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/RecordingSettingsImpl.cpp
r75367 r75418 566 566 * Returns the full path to the default video capture file. 567 567 */ 568 int RecordingSettings::i_getDefaultFileName(Utf8Str &strFile )568 int RecordingSettings::i_getDefaultFileName(Utf8Str &strFile, bool fWithFileExtension) 569 569 { 570 570 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); … … 572 572 strFile = m->pMachine->i_getSettingsFileFull(); // path/to/machinesfolder/vmname/vmname.vbox 573 573 strFile.stripSuffix(); // path/to/machinesfolder/vmname/vmname 574 strFile.append(".webm"); // path/to/machinesfolder/vmname/vmname.webm 574 if (fWithFileExtension) 575 strFile.append(".webm"); // path/to/machinesfolder/vmname/vmname.webm 575 576 576 577 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.