- Timestamp:
- Nov 17, 2017 1:24:51 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r69724 r69725 2746 2746 2747 2747 int rc = VideoRecContextCreate(mcMonitors, &mVideoRecCfg, &mpVideoRecCtx); 2748 if (RT_FAILURE(rc)) 2749 { 2750 LogFlow(("Failed to create video recording context (%Rrc)!\n", rc)); 2751 return rc; 2752 } 2753 2754 for (unsigned uScreen = 0; uScreen < mcMonitors; uScreen++) 2755 { 2756 int rc2 = VideoRecStreamInit(mpVideoRecCtx, uScreen); 2757 if (RT_SUCCESS(rc2)) 2758 { 2759 i_videoRecScreenChanged(uScreen); 2760 } 2761 else 2762 LogRel(("VideoRec: Failed to initialize video recording context #%u (%Rrc)\n", uScreen, rc2)); 2763 2764 if (RT_SUCCESS(rc)) 2765 rc = rc2; 2748 if (RT_SUCCESS(rc)) 2749 { 2750 for (unsigned uScreen = 0; uScreen < mcMonitors; uScreen++) 2751 { 2752 int rc2 = VideoRecStreamInit(mpVideoRecCtx, uScreen); 2753 if (RT_SUCCESS(rc2)) 2754 { 2755 i_videoRecScreenChanged(uScreen); 2756 } 2757 else 2758 LogRel(("VideoRec: Failed to initialize video recording context #%u (%Rrc)\n", uScreen, rc2)); 2759 2760 if (RT_SUCCESS(rc)) 2761 rc = rc2; 2762 } 2766 2763 } 2767 2764
Note:
See TracChangeset
for help on using the changeset viewer.