From b203c7c3e24618beb631d4586f50450a2e4389a3 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Wed, 8 Nov 2023 14:46:44 +0300 Subject: [PATCH] Fixed build warning introduced in #24243. --- modules/videoio/test/test_gstreamer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/videoio/test/test_gstreamer.cpp b/modules/videoio/test/test_gstreamer.cpp index c9f94bf7ee..ef9a6765a8 100644 --- a/modules/videoio/test/test_gstreamer.cpp +++ b/modules/videoio/test/test_gstreamer.cpp @@ -190,7 +190,7 @@ TEST_P(gstreamer_bunny, manual_seek) const string video_file = BunnyParameters::getFilename("." + GetParam()); const string pipeline = "filesrc location=" + video_file + " ! decodebin ! videoconvert ! video/x-raw, format=BGR ! appsink drop=1"; const double target_pos = 3000.0; - const float ms_per_frame = 1000 / BunnyParameters::getFps(); + const double ms_per_frame = 1000.0 / BunnyParameters::getFps(); VideoCapture cap; cap.open(pipeline, CAP_GSTREAMER); ASSERT_TRUE(cap.isOpened());