]> git.sesse.net Git - nageru/commitdiff
Fix a crash bug on preview.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 12 Oct 2018 16:50:05 +0000 (18:50 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 12 Oct 2018 16:50:05 +0000 (18:50 +0200)
player.cpp

index 2261ee43dff929f482aa0b2a6d52ec46dafbdb14..1b3901899cacd5b0f6afa530f813411b7964fcff 100644 (file)
@@ -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.