VirtualBox

Changeset 68856 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Sep 25, 2017 2:00:06 PM (7 years ago)
Author:
vboxsync
Message:

VideoRec: Made failing to start video capturing non-critical on display construction.

File:
1 edited

Legend:

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

    r68852 r68856  
    45474547    if (fEnabled)
    45484548    {
    4549         rc = pDisplay->i_videoCaptureInvalidate();
    4550         if (RT_SUCCESS(rc))
    4551         {
    4552             rc = pDisplay->i_videoCaptureStart();
    4553             fireVideoCaptureChangedEvent(pDisplay->mParent->i_getEventSource());
     4549        int rc2 = pDisplay->i_videoCaptureInvalidate();
     4550        if (RT_SUCCESS(rc2))
     4551        {
     4552            rc2 = pDisplay->i_videoCaptureStart();
     4553            if (RT_SUCCESS(rc2))
     4554                fireVideoCaptureChangedEvent(pDisplay->mParent->i_getEventSource());
    45544555        }
    45554556    }
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