diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2020-05-18 18:29:05 +0200 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2020-05-18 18:35:16 +0200 |
commit | 6b2f83522f965be0848cd00c2b25458477e9555a (patch) | |
tree | 77e5f26c50edc69035420c08f15ca88303c38831 | |
parent | df063989175a7e69ce0538b5f25b128ecb2e4aa9 (diff) |
vaapivideobufferpool: fix meta overwrite
commit 7ac2a207 added a regression by erroneously assumed that
GstVaapiVideoMeta is actually a GstMeta, which is not.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/327>
-rw-r--r-- | gst/vaapi/gstvaapivideobufferpool.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/vaapi/gstvaapivideobufferpool.c b/gst/vaapi/gstvaapivideobufferpool.c index 36be263e..3ff29acd 100644 --- a/gst/vaapi/gstvaapivideobufferpool.c +++ b/gst/vaapi/gstvaapivideobufferpool.c @@ -385,7 +385,6 @@ gst_vaapi_video_buffer_pool_alloc_buffer (GstBufferPool * pool, goto error_create_meta; buffer = gst_vaapi_video_buffer_new (meta); - GST_META_FLAG_SET (meta, GST_META_FLAG_POOLED); if (!buffer) goto error_create_buffer; |