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

pull/6267/head
Dan 9 years ago
parent e04f372083
commit da189ce1e0
  1. 4
      modules/videoio/src/cap_gstreamer.cpp

@ -860,8 +860,8 @@ 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();
} }
__END__; __END__;

Loading…
Cancel
Save