VirtualBox

Changeset 68772 in vbox


Ignore:
Timestamp:
Sep 15, 2017 1:01:02 PM (7 years ago)
Author:
vboxsync
Message:

VideoRec: Report back all data as being processed if audio support is not compiled in.

File:
1 edited

Legend:

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

    r68737 r68772  
    787787            break;
    788788    }
     789
     790    if (pcxWritten)
     791        *pcxWritten = cbWrittenTotal;
    789792#else
     793    /* Report back all data as being processed. */
     794    if (pcxWritten)
     795        *pcxWritten = cxBuf;
     796
    790797    rc = VERR_NOT_SUPPORTED;
    791798#endif /* VBOX_WITH_LIBOPUS */
    792 
    793     /*
    794      * Always report back all samples acquired, regardless of whether the
    795      * encoder actually did process those.
    796      */
    797     if (pcxWritten)
    798         *pcxWritten = cbWrittenTotal;
    799799
    800800    LogFlowFunc(("csReadTotal=%RU32, rc=%Rrc\n", cbWrittenTotal, rc));
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