Fix invalid white balance from nonconnected FFmpeg inputs.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 12 Feb 2020 16:57:49 +0000 (17:57 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 12 Feb 2020 16:57:49 +0000 (17:57 +0100)
nageru/ffmpeg_capture.h

index 6084b68..843c83c 100644 (file)
@@ -305,7 +305,7 @@ private:
        bool has_last_subtitle = false;
        std::string last_subtitle;
 
-       movit::RGBTriplet last_neutral_color;
+       movit::RGBTriplet last_neutral_color{1.0f, 1.0f, 1.0f};
 };
 
 #endif  // !defined(_FFMPEG_CAPTURE_H)