plugins: memory:DMABuf only handles planar formats

When glimagesink negotiates the caps feature memory:DMABuf the
exported dmabufs buffers with NV12 format are not well rendered, thus
setting only planar.

https://bugzilla.gnome.org/show_bug.cgi?id=788229
This commit is contained in:
Víctor Manuel Jáquez Leal 2017-09-27 11:27:40 +02:00
parent 9f4a5762d5
commit 8fee85ecaa

View file

@ -113,7 +113,7 @@ gst_vaapi_caps_feature_contains (const GstCaps * caps,
#define GST_VAAPI_MAKE_DMABUF_CAPS \ #define GST_VAAPI_MAKE_DMABUF_CAPS \
GST_VIDEO_CAPS_MAKE_WITH_FEATURES( \ GST_VIDEO_CAPS_MAKE_WITH_FEATURES( \
GST_CAPS_FEATURE_MEMORY_DMABUF, "{ NV12, I420, YV12 }") GST_CAPS_FEATURE_MEMORY_DMABUF, "{ I420, YV12, RGBA }")
G_GNUC_INTERNAL G_GNUC_INTERNAL
gboolean gboolean