Changeset 7292 in vbox
- Timestamp:
- Mar 5, 2008 9:51:22 AM (17 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxHeadless
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp
r7280 r7292 694 694 display->RegisterExternalFramebuffer(pFramebuffer); 695 695 } 696 else 697 LogError("Failed to initialise video capturing - make sure that the file format\n" 698 "you wish to use is supported on your system\n", 1); 696 699 } 697 700 } … … 699 702 if (rc != S_OK) 700 703 { 701 LogError ("Failed to load VBoxFFmpegFB shared library\n", 0);704 LogError ("Failed to set up video capturing\n", 1); 702 705 return -1; 703 706 } -
trunk/src/VBox/Frontends/VBoxHeadless/VideoCapture/FFmpegFB.cpp
r7207 r7292 739 739 AVOutputFormat *pOutFormat = mpFormatContext->oformat; 740 740 AVCodecContext *pCodecContext = mpStream->codec; 741 AssertReturn(pCodecContext != 0, E_UNEXPECTED); 741 742 AVCodec *pCodec = avcodec_find_encoder(pOutFormat->video_codec); 742 743 AssertReturn(pCodec != 0, E_UNEXPECTED);
Note:
See TracChangeset
for help on using the changeset viewer.