Changeset 74909 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Oct 18, 2018 8:58:13 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/VideoRec.cpp
r74908 r74909 938 938 939 939 if (RT_SUCCESS(rc)) /* Wait for the thread to start. */ 940 rc = RTThreadUserWait(pCtx->Thread, 30 * 1000/* 30s timeout */);940 rc = RTThreadUserWait(pCtx->Thread, 30 * RT_MS_1SEC /* 30s timeout */); 941 941 942 942 if (RT_SUCCESS(rc)) … … 1290 1290 PVIDEORECVIDEOCODEC pVC = &pStream->Video.Codec; 1291 1291 1292 pStream->Video.uDelayMs = 1000/ pCfg->Video.uFPS;1292 pStream->Video.uDelayMs = RT_MS_1SEC / pCfg->Video.uFPS; 1293 1293 1294 1294 switch (pStream->enmDst) … … 1512 1512 1513 1513 if ( pCfg->uMaxTimeS 1514 && tsNowMs >= pCtx->tsStartMs + (pCfg->uMaxTimeS * 1000))1514 && tsNowMs >= pCtx->tsStartMs + (pCfg->uMaxTimeS * RT_MS_1SEC)) 1515 1515 { 1516 1516 return true;
Note:
See TracChangeset
for help on using the changeset viewer.