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
d5afa894
Commit
d5afa894
authored
7 years ago
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11202 from ArkadiuszRaj:Aravis-patch-1
parents
099a16bd
619e4c94
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
cap_aravis.cpp
modules/videoio/src/cap_aravis.cpp
+10
-9
No files found.
modules/videoio/src/cap_aravis.cpp
View file @
d5afa894
...
...
@@ -231,15 +231,16 @@ bool CvCaptureCAM_Aravis::init_buffers()
stream
=
NULL
;
}
if
(
(
stream
=
arv_camera_create_stream
(
camera
,
NULL
,
NULL
))
)
{
g_object_set
(
stream
,
"socket-buffer"
,
ARV_GV_STREAM_SOCKET_BUFFER_AUTO
,
"socket-buffer-size"
,
0
,
NULL
);
g_object_set
(
stream
,
"packet-resend"
,
ARV_GV_STREAM_PACKET_RESEND_NEVER
,
NULL
);
g_object_set
(
stream
,
"packet-timeout"
,
(
unsigned
)
40000
,
"frame-retention"
,
(
unsigned
)
200000
,
NULL
);
if
(
arv_camera_is_gv_device
(
camera
)
)
{
g_object_set
(
stream
,
"socket-buffer"
,
ARV_GV_STREAM_SOCKET_BUFFER_AUTO
,
"socket-buffer-size"
,
0
,
NULL
);
g_object_set
(
stream
,
"packet-resend"
,
ARV_GV_STREAM_PACKET_RESEND_NEVER
,
NULL
);
g_object_set
(
stream
,
"packet-timeout"
,
(
unsigned
)
40000
,
"frame-retention"
,
(
unsigned
)
200000
,
NULL
);
}
payload
=
arv_camera_get_payload
(
camera
);
for
(
int
i
=
0
;
i
<
num_buffers
;
i
++
)
...
...
This diff is collapsed.
Click to expand it.
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