mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 03:00:14 +08:00
Fixed build warning introduced in #24243.
This commit is contained in:
parent
5b0ad6b5e8
commit
b203c7c3e2
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user