We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3202062 + a9f3a7d commit 1393fd9Copy full SHA for 1393fd9
modules/videoio/test/test_video_io.cpp
@@ -112,6 +112,13 @@ class Videoio_Test_Base
112
113
{
114
SCOPED_TRACE("consecutive read");
115
+ if (apiPref == CAP_GSTREAMER)
116
+ {
117
+ // This workaround is for GStreamer 1.3.1.1 and older.
118
+ // Old Gstreamer has a bug which handles the total duration 1 frame shorter
119
+ // Old Gstreamer are used in Ubuntu 14.04, so the following code could be removed after it's EOL
120
+ n_frames--;
121
+ }
122
for (int k = 0; k < n_frames; ++k)
123
124
checkFrameRead(k, cap);
0 commit comments