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
27c23b55
Commit
27c23b55
authored
Jun 30, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merged few small fixes from 2.4 branch
parent
cdad4ac7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
4 deletions
+11
-4
xml_yaml_persistence.rst
modules/core/doc/xml_yaml_persistence.rst
+9
-0
persistence.cpp
modules/core/src/persistence.cpp
+1
-3
cap_dshow.cpp
modules/highgui/src/cap_dshow.cpp
+1
-1
No files found.
modules/core/doc/xml_yaml_persistence.rst
View file @
27c23b55
...
...
@@ -201,6 +201,15 @@ Closes the file and releases all the memory buffers.
.. ocv:function:: void FileStorage::release()
Call this method after all I/O operations with the storage are finished.
FileStorage::releaseAndGetString
--------------------------------
Closes the file and releases all the memory buffers.
.. ocv:function:: string FileStorage::releaseAndGetString()
Call this method after all I/O operations with the storage are finished. If the storage was opened for writing data and ``FileStorage::WRITE`` was specified
...
...
modules/core/src/persistence.cpp
View file @
27c23b55
...
...
@@ -5203,9 +5203,7 @@ string FileStorage::releaseAndGetString()
if
(
fs
.
obj
&&
fs
.
obj
->
outbuf
)
icvClose
(
fs
.
obj
,
&
buf
);
fs
.
release
();
structs
.
clear
();
state
=
UNDEFINED
;
release
();
return
buf
;
}
...
...
modules/highgui/src/cap_dshow.cpp
View file @
27c23b55
...
...
@@ -3278,7 +3278,7 @@ bool CvCaptureCAM_DShow::setProperty( int property_id, double value )
case
CV_CAP_PROP_FPS
:
int
fps
=
cvRound
(
value
);
if
(
fps
!=
VI
.
getFPS
(
0
))
if
(
fps
!=
VI
.
getFPS
(
index
))
{
VI
.
stopDevice
(
index
);
VI
.
setIdealFramerate
(
index
,
fps
);
...
...
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