VirtualBox

Changeset 68429 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 16, 2017 8:44:54 AM (7 years ago)
Author:
vboxsync
Message:

Main/VideoRec: Logging.

File:
1 edited

Legend:

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

    r68427 r68429  
    874874        }
    875875
    876         LogRel(("VideoRec: Recording screen #%u with %ux%u @ %u kbps, %u fps to '%s'\n",
    877                 uScreen, uWidth, uHeight, uRate, uFPS, pszFile));
     876        LogRel(("VideoRec: Recording screen #%u with %ux%u @ %u kbps, %u FPS\n",
     877                uScreen, uWidth, uHeight, uRate, uFPS));
    878878    }
    879879
     
    892892    }
    893893#endif
     894
     895    if (   fHasVideoTrack
     896#ifdef VBOX_WITH_AUDIO_VIDEOREC
     897        || fHasAudioTrack)
     898#endif
     899    {
     900        char szWhat[32] = { 0 };
     901        if (fHasVideoTrack)
     902            RTStrCat(szWhat, sizeof(szWhat), "video");
     903        if (fHasAudioTrack)
     904        {
     905            if (fHasVideoTrack)
     906                RTStrCat(szWhat, sizeof(szWhat), " + ");
     907            RTStrCat(szWhat, sizeof(szWhat), "audio");
     908        }
     909
     910        LogRel(("Recording %s to '%s'\n", szWhat, pszFile));
     911    }
    894912
    895913#ifdef VBOX_WITH_LIBVPX
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