VirtualBox

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


Ignore:
Timestamp:
Jan 23, 2017 1:39:33 PM (8 years ago)
Author:
vboxsync
Message:

VideoRec: tsStartMs not needed.

File:
1 edited

Legend:

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

    r65401 r65402  
    164164    /** Worker thread. */
    165165    RTTHREAD            Thread;
    166     uint64_t            tsStartMs;
    167166    /** Maximal time (in ms) to record. */
    168167    uint64_t            uMaxTimeMs;
     
    923922
    924923    if (   pCtx->uMaxTimeMs
    925         && (tsNowMs - pCtx->tsStartMs) >= pCtx->uMaxTimeMs)
     924        && tsNowMs >= pCtx->uMaxTimeMs)
    926925    {
    927926        return true;
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