1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Merge pull request #6267 from dtmoodie:issue_5918

This commit is contained in:
Alexander Alekhin
2016-03-21 09:37:11 +00:00
+2 -2
View File
@@ -874,8 +874,8 @@ bool CvCapture_GStreamer::open( int type, const char* filename )
fps = (double)num/(double)denom;
// GST_DEBUG_BIN_TO_DOT_FILE(GST_BIN(pipeline), GST_DEBUG_GRAPH_SHOW_ALL, "pipeline")
stopPipeline();
if (file)
stopPipeline();
}
__END__;