Fixed regression in cv::VideoCapture with gstreamer back end that prevented viewing of rtsp streams.

This commit is contained in:
Dan 2016-02-18 00:39:44 -05:00
parent e04f372083
commit da189ce1e0

View File

@ -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();
} }