From: Steinar H. Gunderson Date: Fri, 12 Oct 2018 16:50:05 +0000 (+0200) Subject: Fix a crash bug on preview. X-Git-Tag: 1.8.0~76^2~64 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=ca4921ec45b3445ed617b6d664e0d7f5893d5a01;p=nageru Fix a crash bug on preview. --- diff --git a/player.cpp b/player.cpp index 2261ee4..1b39018 100644 --- a/player.cpp +++ b/player.cpp @@ -231,7 +231,7 @@ got_clip: if (video_stream == nullptr) { // Previews don't do any interpolation. assert(secondary_stream_idx == -1); - destination->setFrame(primary_stream_idx, in_pts_lower, /*interpolated=*/false, fade_alpha); + destination->setFrame(primary_stream_idx, in_pts_lower, /*interpolated=*/false); } else { // Calculate the interpolated frame. When it's done, the destination // will be unblocked.