vaapidecode: fix gst_caps_new_simple call

https://bugzilla.gnome.org/show_bug.cgi?id=732265
This commit is contained in:
orestisf 2017-08-03 23:17:44 +03:00 committed by Víctor Manuel Jáquez Leal
parent d4b6459bb2
commit 3bb96eff14

View file

@ -1164,7 +1164,8 @@ static GstCaps *
add_h264_profile_in_caps (GstCaps * caps, const gchar * profile_name)
{
GstCaps *caps_new =
gst_caps_new_simple ("video/x-h264", "profile", profile_name, NULL);
gst_caps_new_simple ("video/x-h264", "profile", G_TYPE_STRING,
profile_name, NULL);
return gst_caps_merge (caps_new, caps);
}