From: Steinar H. Gunderson Date: Wed, 12 Feb 2020 16:57:49 +0000 (+0100) Subject: Fix invalid white balance from nonconnected FFmpeg inputs. X-Git-Tag: 1.9.2~41 X-Git-Url: https://git.sesse.net/?p=nageru;a=commitdiff_plain;h=8206e97bbc404b36e67b981d63e761ab9ce07c4f Fix invalid white balance from nonconnected FFmpeg inputs. --- diff --git a/nageru/ffmpeg_capture.h b/nageru/ffmpeg_capture.h index 6084b68..843c83c 100644 --- a/nageru/ffmpeg_capture.h +++ b/nageru/ffmpeg_capture.h @@ -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)