Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
a9f3a7de
Commit
a9f3a7de
authored
Mar 05, 2018
by
Tomoaki Teshima
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add workaround of old gstreamer
parent
90ff9003
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
test_video_io.cpp
modules/videoio/test/test_video_io.cpp
+7
-0
No files found.
modules/videoio/test/test_video_io.cpp
View file @
a9f3a7de
...
...
@@ -112,6 +112,13 @@ public:
{
SCOPED_TRACE
(
"consecutive read"
);
if
(
apiPref
==
CAP_GSTREAMER
)
{
// This workaround is for GStreamer 1.3.1.1 and older.
// Old Gstreamer has a bug which handles the total duration 1 frame shorter
// Old Gstreamer are used in Ubuntu 14.04, so the following code could be removed after it's EOL
n_frames
--
;
}
for
(
int
k
=
0
;
k
<
n_frames
;
++
k
)
{
checkFrameRead
(
k
,
cap
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment