summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororestisf <orestisf1993@gmail.com>2017-08-03 23:17:44 +0300
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2017-08-03 23:28:59 +0200
commit3bb96eff14a3320f58392fe7129f946840939735 (patch)
tree0ffa833be3fe6deb0f7b5286db1955f7df35a81b
parentd4b6459bb2242c446d29eff7b86ea8f3a8ec1c72 (diff)
vaapidecode: fix gst_caps_new_simple call
https://bugzilla.gnome.org/show_bug.cgi?id=732265
-rw-r--r--gst/vaapi/gstvaapidecode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/vaapi/gstvaapidecode.c b/gst/vaapi/gstvaapidecode.c
index e1ac44f4..488ab539 100644
--- a/gst/vaapi/gstvaapidecode.c
+++ b/gst/vaapi/gstvaapidecode.c
@@ -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);
}