VirtualBox

Changeset 75069 in vbox for trunk


Ignore:
Timestamp:
Oct 25, 2018 1:21:17 PM (6 years ago)
Author:
vboxsync
Message:

VideoRec/Main: Initialize context in VideoRecStreamInit().

File:
1 edited

Legend:

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

    r75066 r75069  
    417417    }
    418418
    419     if (RT_FAILURE(rc))
     419    if (RT_SUCCESS(rc))
     420    {
     421        pStream->pCtx     = pCtx;
     422        pStream->fEnabled = true;
     423    }
     424    else
    420425    {
    421426        int rc2 = VideoRecStreamClose(pStream);
     
    423428        return rc;
    424429    }
    425 
    426     pStream->fEnabled = true;
    427430
    428431    return VINF_SUCCESS;
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