diff options
author | He Junyan <junyan.he@hotmail.com> | 2019-09-24 01:01:22 +0800 |
---|---|---|
committer | GStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2019-12-20 05:01:07 +0000 |
commit | a6289308ee6f992fe6530cae3c6592a7a0b12ba3 (patch) | |
tree | a0aee68c7882fd1c85d037f18a9d1fee4c925425 /gst-libs/gst/vaapi/gstvaapiprofilecaps.c | |
parent | 61de88e58030e245b596fd10af422615c08cb9a3 (diff) |
libs: context: port to a plain C structure
The GstVaapiMiniObject is obsolete and we need to replace it. This
patch turns GstVaapiContext into a plain C structure with its own
reference counting mechanism.
Also this patch removes unused overlays attributes.
Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
Diffstat (limited to 'gst-libs/gst/vaapi/gstvaapiprofilecaps.c')
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapiprofilecaps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiprofilecaps.c b/gst-libs/gst/vaapi/gstvaapiprofilecaps.c index fcd6981f..7efa6a32 100644 --- a/gst-libs/gst/vaapi/gstvaapiprofilecaps.c +++ b/gst-libs/gst/vaapi/gstvaapiprofilecaps.c @@ -87,7 +87,7 @@ append_caps_with_context_info (GstVaapiDisplay * display, return FALSE; ret = append_caps (context, structure); - gst_vaapi_object_unref (context); + gst_vaapi_context_unref (context); return ret; } |