Changeset 75417 in vbox
- Timestamp:
- Nov 13, 2018 12:07:20 PM (6 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/RecordingStream.h
r75361 r75417 174 174 /** File handle to use for writing. */ 175 175 RTFILE hFile; 176 /** File name being used for this stream. */177 Utf8Str strName;178 176 /** Pointer to WebM writer instance being used. */ 179 177 WebMWriter *pWEBM; -
trunk/src/VBox/Main/src-client/RecordingStream.cpp
r75393 r75417 155 155 if (RT_SUCCESS(rc)) 156 156 { 157 this->File.hFile 158 this-> File.strName = pszFile;157 this->File.hFile = hFile; 158 this->ScreenSettings.File.strName = pszFile; 159 159 } 160 160 } … … 697 697 int RecordingStream::initInternal(RecordingContext *a_pCtx, uint32_t uScreen, const settings::RecordingScreenSettings &Settings) 698 698 { 699 this->pCtx = a_pCtx; 700 this->uScreenID = uScreen; 701 this->ScreenSettings = Settings; 702 699 703 int rc = parseOptionsString(Settings.strOptions); 700 704 if (RT_FAILURE(rc)) … … 730 734 case RecordingDestination_File: 731 735 { 736 Assert(this->ScreenSettings.File.strName.isNotEmpty()); 732 737 const char *pszFile = this->ScreenSettings.File.strName.c_str(); 733 738 … … 811 816 if (RT_SUCCESS(rc)) 812 817 { 813 this->pCtx = a_pCtx; 814 this->enmState = RECORDINGSTREAMSTATE_INITIALIZED; 815 this->fEnabled = true; 816 this->uScreenID = uScreen; 817 this->tsStartMs = RTTimeMilliTS(); 818 this->ScreenSettings = Settings; 818 this->enmState = RECORDINGSTREAMSTATE_INITIALIZED; 819 this->fEnabled = true; 820 this->tsStartMs = RTTimeMilliTS(); 819 821 } 820 822 else
Note:
See TracChangeset
for help on using the changeset viewer.