mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 13:55:41 +00:00
glupload: passthrough composition caps features in directviv upload
https://bugzilla.gnome.org/show_bug.cgi?id=782046
This commit is contained in:
parent
142469ab91
commit
beab384557
1 changed files with 6 additions and 1 deletions
|
@ -1267,8 +1267,13 @@ _directviv_upload_transform_caps (gpointer impl, GstGLContext * context,
|
||||||
gst_caps_unref (ret);
|
gst_caps_unref (ret);
|
||||||
ret = tmp;
|
ret = tmp;
|
||||||
} else {
|
} else {
|
||||||
ret = gst_caps_from_string (GST_VIDEO_CAPS_MAKE_WITH_FEATURES
|
GstCaps *tmp;
|
||||||
|
tmp = gst_caps_from_string (GST_VIDEO_CAPS_MAKE_WITH_FEATURES
|
||||||
(GST_CAPS_FEATURE_MEMORY_SYSTEM_MEMORY, GST_GL_DIRECTVIV_FORMAT));
|
(GST_CAPS_FEATURE_MEMORY_SYSTEM_MEMORY, GST_GL_DIRECTVIV_FORMAT));
|
||||||
|
ret =
|
||||||
|
_set_caps_features_with_passthrough (tmp,
|
||||||
|
GST_CAPS_FEATURE_MEMORY_SYSTEM_MEMORY, passthrough);
|
||||||
|
gst_caps_unref (tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
gst_caps_features_free (passthrough);
|
gst_caps_features_free (passthrough);
|
||||||
|
|
Loading…
Reference in a new issue