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
2143f7ce
Commit
2143f7ce
authored
Mar 12, 2019
by
Josh Veitch-Michaelis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release frame after disabling convert rgb
parent
f3074fd5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
cap_v4l.cpp
modules/videoio/src/cap_v4l.cpp
+4
-2
No files found.
modules/videoio/src/cap_v4l.cpp
View file @
2143f7ce
...
...
@@ -1803,9 +1803,11 @@ bool CvCaptureCAM_V4L::setProperty( int property_id, double _value )
if
(
bool
(
value
))
{
convert_rgb
=
convertableToRgb
();
return
convert_rgb
;
}
else
{
convert_rgb
=
false
;
releaseFrame
();
return
true
;
}
convert_rgb
=
false
;
return
true
;
case
cv
:
:
CAP_PROP_FOURCC
:
{
if
(
palette
==
static_cast
<
__u32
>
(
value
))
...
...
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