Changeset 104713 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- May 17, 2024 2:45:27 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r104286 r104713 7654 7654 /** 7655 7655 * Stops recording. Does nothing if recording is not active. 7656 */ 7657 int Console::i_recordingStop(util::AutoWriteLock *pAutoLock /* = NULL */) 7656 * 7657 * Note: This does *not* disable recording for a VM, in other words, 7658 * it does not change the VM's recording (enabled) setting. 7659 */ 7660 int Console::i_recordingStop(util::AutoWriteLock *) 7658 7661 { 7659 7662 if (!mRecording.mCtx.IsStarted()) … … 7668 7671 for (unsigned uScreen = 0; uScreen < cStreams; ++uScreen) 7669 7672 mDisplay->i_recordingScreenChanged(uScreen); 7670 7671 if (pAutoLock)7672 pAutoLock->release();7673 7674 ComPtr<IRecordingSettings> pRecordSettings;7675 HRESULT hrc = mMachine->COMGETTER(RecordingSettings)(pRecordSettings.asOutParam());7676 ComAssertComRC(hrc);7677 hrc = pRecordSettings->COMSETTER(Enabled)(FALSE);7678 ComAssertComRC(hrc);7679 7680 if (pAutoLock)7681 pAutoLock->acquire();7682 7673 } 7683 7674
Note:
See TracChangeset
for help on using the changeset viewer.