mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
vaapidecode: fix gst_caps_new_simple call
https://bugzilla.gnome.org/show_bug.cgi?id=732265
This commit is contained in:
parent
d4b6459bb2
commit
3bb96eff14
1 changed files with 2 additions and 1 deletions
|
@ -1164,7 +1164,8 @@ static GstCaps *
|
||||||
add_h264_profile_in_caps (GstCaps * caps, const gchar * profile_name)
|
add_h264_profile_in_caps (GstCaps * caps, const gchar * profile_name)
|
||||||
{
|
{
|
||||||
GstCaps *caps_new =
|
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);
|
return gst_caps_merge (caps_new, caps);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue