Changeset 42479 in vbox for trunk/src/VBox
- Timestamp:
- Jul 31, 2012 1:32:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r42249 r42479 47 47 48 48 #include <VBox/com/array.h> 49 50 #ifdef VBOX_WITH_VPX_MAIN 51 # include "EncodeAndWrite.h" 52 PVIDEORECCONTEXT pVideoRecContext; 53 #endif 49 54 50 55 /** … … 3240 3245 } 3241 3246 } 3247 #ifdef VBOX_WITH_VPX_MAIN 3248 VideoRecCopyToIntBuffer(pVideoRecContext, pDisplay->xOrigin, pDisplay->yOrigin, 3249 pDisplay->w, pDisplay->h, mPixelFormat, 3250 pDisplay->u16BitsPerPixel, mBytesPerLine, pDisplay->w, 3251 pDisplay->h, pDisplay->h, pDisplay->w, 3252 pu8Framebuffer, mTempRGBBuffer); 3253 #endif 3254 3255 3242 3256 3243 3257 #ifdef DEBUG_sunlover … … 4218 4232 pData->IConnector.pfnVBVAMousePointerShape = Display::displayVBVAMousePointerShape; 4219 4233 #endif 4234 #ifdef VBOX_WITH_VPX_MAIN 4235 rc = VideoRecContextCreate(&pVideoRecContext); 4236 rc = RTCritSectInit(&mCritSect); 4237 AssertReturn(rc == VINF_SUCCESS, E_UNEXPECTED); 4238 4239 if(rc == VINF_SUCCESS) 4240 rc = VideoRecContextInit(pVideoRecContext, "test.webm", 800, 720); 4241 4242 #endif 4220 4243 4221 4244
Note:
See TracChangeset
for help on using the changeset viewer.