mirror of
https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio.git
synced 2025-05-13 03:39:00 +00:00
Fix 1.0 build
gst_pad_get_current_caps takes one param.
This commit is contained in:
parent
efc87dea12
commit
f2fd6096d6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue