Changeset 45776 in vbox for trunk/src/VBox/Main
- Timestamp:
- Apr 26, 2013 12:54:34 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 85340
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r45772 r45776 490 490 if (fEnabled) 491 491 { 492 ULONG ulVideoCaptureHorzRes; 493 mParent->machine()->COMGETTER(VideoCaptureWidth)(&ulVideoCaptureHorzRes); 494 ULONG ulVideoCaptureVertRes; 495 mParent->machine()->COMGETTER(VideoCaptureHeight)(&ulVideoCaptureVertRes); 496 BSTR strVideoCaptureFile; 497 mParent->machine()->COMGETTER(VideoCaptureFile)(&strVideoCaptureFile); 498 if (VideoRecContextInit(mpVideoRecContext, strVideoCaptureFile, 499 ulVideoCaptureHorzRes, ulVideoCaptureVertRes)) 492 ULONG ulCaptWidth; 493 mParent->machine()->COMGETTER(VideoCaptureWidth)(&ulCaptWidth); 494 ULONG ulCaptHeight; 495 mParent->machine()->COMGETTER(VideoCaptureHeight)(&ulCaptHeight); 496 BSTR strCaptFile; 497 mParent->machine()->COMGETTER(VideoCaptureFile)(&strCaptFile); 498 if (VideoRecContextInit(mpVideoRecContext, strCaptFile, ulCaptWidth, ulCaptHeight)) 500 499 { 501 500 LogFlow(("Failed to initialize video recording context!\n")); 502 501 return E_FAIL; 503 502 } 504 LogFlow(("Vidoe recording VPX enabled!\n")); 503 LogFlow(("Video recording as VPX with %lux%lu to '%ls' enabled!\n", 504 ulCaptWidth, ulCaptHeight, strCaptFile)); 505 505 } 506 506 #endif
Note:
See TracChangeset
for help on using the changeset viewer.