1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

Merge pull request #24512 from asmorkalov:as/gstreamer_warn_fix

Fixed build warning introduced in #24243
This commit is contained in:
Alexander Smorkalov
2023-11-08 15:42:49 +03:00
committed by GitHub
+1 -1
View File
@@ -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());