Skip to content

Commit

Permalink
Merge pull request #24512 from asmorkalov:as/gstreamer_warn_fix
Browse files Browse the repository at this point in the history
Fixed build warning introduced in #24243
  • Loading branch information
asmorkalov committed Nov 8, 2023
2 parents 5b0ad6b + b203c7c commit 41c335e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/videoio/test/test_gstreamer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 41c335e

Please sign in to comment.