Commit fc55e54a authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #6318 from paroj:gst_cap_props

parents 98763528 9dc14b3e
......@@ -847,7 +847,7 @@ bool CvCapture_GStreamer::open( int type, const char* filename )
duration = -1;
}
GstPad* pad = gst_element_get_static_pad(color, "src");
GstPad* pad = gst_element_get_static_pad(sink, "sink");
#if GST_VERSION_MAJOR == 0
GstCaps* buffer_caps = gst_pad_get_caps(pad);
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment