Fix 1.0 build

gst_pad_get_current_caps takes one param.
This commit is contained in:
Stéphane Cerveau 2017-02-03 18:57:47 +01:00
parent efc87dea12
commit f2fd6096d6

View file

@ -55,7 +55,7 @@ QString GraphManager::getPadCaps(ElementInfo* elementInfo, PadInfo* padInfo, ePa
break;
case PAD_CAPS_NEGOCIATED:
#if GST_VERSION_MAJOR >= 1
caps = gst_pad_get_current_caps(pad, NULL);
caps = gst_pad_get_current_caps(pad);
#else
caps = gst_pad_get_negotiated_caps(pad);
#endif