Changeset 105065 in vbox
- Timestamp:
- Jun 27, 2024 5:26:43 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r105009 r105065 135 135 136 136 for (unsigned i = 0; i < RT_ELEMENTS(maRecordingEnabled); i++) 137 maRecordingEnabled[i] = true;137 maRecordingEnabled[i] = false; 138 138 #endif 139 139 … … 2305 2305 int Display::i_recordingScreenUpdate(unsigned uScreenId, PRECORDINGVIDEOFRAME pFrame) 2306 2306 { 2307 if ( !maRecordingEnabled[uScreenId])2308 return VINF_NO_CHANGE;2309 2310 AssertPtr(mParent); 2307 if ( uScreenId >= mcMonitors /* Might be SVGA_ID_INVALID. */ 2308 || !maRecordingEnabled[uScreenId]) 2309 return VINF_SUCCESS; 2310 2311 2311 RecordingContext *pCtx = mParent->i_recordingGetContext(); 2312 2312 if (!pCtx) … … 2353 2353 RT_NOREF(fFlags); 2354 2354 2355 #if 0 /** @todo For whatever reason we always report SVGA_ID_INVALID here. Needs investigation. */ 2356 if ( uScreenId > mcMonitors /* Might be SVGA_ID_INVALID. */ 2355 if ( uScreenId >= mcMonitors /* Might be SVGA_ID_INVALID. */ 2357 2356 || !maRecordingEnabled[uScreenId]) 2358 2357 return VINF_SUCCESS; 2359 #endif 2360 2361 AssertPtr(mParent); 2358 2362 2359 RecordingContext *pCtx = mParent->i_recordingGetContext(); 2363 2360 if (!pCtx)
Note:
See TracChangeset
for help on using the changeset viewer.