Fixed regression in cv::VideoCapture with gstreamer back end that prevented viewing of rtsp streams.
This commit is contained in:
parent
e04f372083
commit
da189ce1e0
@ -860,7 +860,7 @@ bool CvCapture_GStreamer::open( int type, const char* filename )
|
|||||||
fps = (double)num/(double)denom;
|
fps = (double)num/(double)denom;
|
||||||
|
|
||||||
// GST_DEBUG_BIN_TO_DOT_FILE(GST_BIN(pipeline), GST_DEBUG_GRAPH_SHOW_ALL, "pipeline")
|
// GST_DEBUG_BIN_TO_DOT_FILE(GST_BIN(pipeline), GST_DEBUG_GRAPH_SHOW_ALL, "pipeline")
|
||||||
|
if (file)
|
||||||
stopPipeline();
|
stopPipeline();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user