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
921675c4
Commit
921675c4
authored
Mar 21, 2013
by
Dirk Van Haerenborgh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eliminated warnings
parent
4f3453db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
cap_gstreamer.cpp
modules/highgui/src/cap_gstreamer.cpp
+5
-4
No files found.
modules/highgui/src/cap_gstreamer.cpp
View file @
921675c4
...
...
@@ -83,7 +83,8 @@ static cv::Mutex gst_initializer_mutex;
/*!
* \brief The gst_initializer class
* Initializes gstreamer once in the whole process
*/
class
gst_initializer
*/
class
gst_initializer
{
public
:
static
void
init
()
...
...
@@ -1007,9 +1008,9 @@ void CvVideoWriter_GStreamer::init()
*/
void
CvVideoWriter_GStreamer
::
close
()
{
if
(
pipeline
)
{
GstFlowReturn
ret
;
ret
=
gst_app_src_end_of_stream
(
GST_APP_SRC
(
source
));
if
(
pipeline
)
{
gst_app_src_end_of_stream
(
GST_APP_SRC
(
source
));
//wait for EOS to trickle down the pipeline. This will let all elements finish properly
GstBus
*
bus
=
gst_element_get_bus
(
pipeline
);
...
...
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