]> git.sesse.net Git - nageru/commitdiff
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 6084b68f398dd6a15727fc380c3ef1207a818db6..843c83c254d4b9b5ac8cf46532c236cc269298c7 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)