Index: /trunk/src/VBox/Main/include/RecordingStream.h
===================================================================
--- /trunk/src/VBox/Main/include/RecordingStream.h	(revision 75416)
+++ /trunk/src/VBox/Main/include/RecordingStream.h	(revision 75417)
@@ -174,6 +174,4 @@
         /** File handle to use for writing. */
         RTFILE              hFile;
-        /** File name being used for this stream. */
-        Utf8Str             strName;
         /** Pointer to WebM writer instance being used. */
         WebMWriter         *pWEBM;
Index: /trunk/src/VBox/Main/src-client/RecordingStream.cpp
===================================================================
--- /trunk/src/VBox/Main/src-client/RecordingStream.cpp	(revision 75416)
+++ /trunk/src/VBox/Main/src-client/RecordingStream.cpp	(revision 75417)
@@ -155,6 +155,6 @@
                 if (RT_SUCCESS(rc))
                 {
-                    this->File.hFile   = hFile;
-                    this->File.strName = pszFile;
+                    this->File.hFile = hFile;
+                    this->ScreenSettings.File.strName = pszFile;
                 }
             }
@@ -697,4 +697,8 @@
 int RecordingStream::initInternal(RecordingContext *a_pCtx, uint32_t uScreen, const settings::RecordingScreenSettings &Settings)
 {
+    this->pCtx           = a_pCtx;
+    this->uScreenID      = uScreen;
+    this->ScreenSettings = Settings;
+
     int rc = parseOptionsString(Settings.strOptions);
     if (RT_FAILURE(rc))
@@ -730,4 +734,5 @@
         case RecordingDestination_File:
         {
+            Assert(this->ScreenSettings.File.strName.isNotEmpty());
             const char *pszFile = this->ScreenSettings.File.strName.c_str();
 
@@ -811,10 +816,7 @@
     if (RT_SUCCESS(rc))
     {
-        this->pCtx           = a_pCtx;
-        this->enmState       = RECORDINGSTREAMSTATE_INITIALIZED;
-        this->fEnabled       = true;
-        this->uScreenID      = uScreen;
-        this->tsStartMs      = RTTimeMilliTS();
-        this->ScreenSettings = Settings;
+        this->enmState  = RECORDINGSTREAMSTATE_INITIALIZED;
+        this->fEnabled  = true;
+        this->tsStartMs = RTTimeMilliTS();
     }
     else
