mirror of
https://github.com/opencv/opencv.git
synced 2025-06-28 15:30:49 +08:00
Merge pull request #6318 from paroj:gst_cap_props
This commit is contained in:
commit
fc55e54aa1
@ -847,7 +847,7 @@ bool CvCapture_GStreamer::open( int type, const char* filename )
|
|||||||
duration = -1;
|
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
|
#if GST_VERSION_MAJOR == 0
|
||||||
GstCaps* buffer_caps = gst_pad_get_caps(pad);
|
GstCaps* buffer_caps = gst_pad_get_caps(pad);
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user