mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
vaapiupload: fix memory leak in _init() function.
This commit is contained in:
parent
42fa974391
commit
12c85f69ff
1 changed files with 1 additions and 0 deletions
|
@ -358,6 +358,7 @@ gst_vaapiupload_init(GstVaapiUpload *upload, GstVaapiUploadClass *klass)
|
|||
/* Override query on src pad */
|
||||
srcpad = gst_element_get_static_pad(GST_ELEMENT(upload), "src");
|
||||
gst_pad_set_query_function(srcpad, gst_vaapiupload_query);
|
||||
g_object_unref(srcpad);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
Loading…
Reference in a new issue