VirtualBox

Changeset 69725 in vbox for trunk


Ignore:
Timestamp:
Nov 17, 2017 1:24:51 PM (7 years ago)
Author:
vboxsync
Message:

VideoRec: Added a bit more error logging going into the release log.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r69724 r69725  
    27462746
    27472747    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        }
    27662763    }
    27672764
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette