mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
Revert "cuda: Fix GstCudaContext refcount bug"
This reverts commit df7ee0e215
.
We should not unref it since gst_message_new_have_context()
takes ownership of the GstContext.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2342>
This commit is contained in:
parent
5687568144
commit
1fb3804408
1 changed files with 0 additions and 1 deletions
|
@ -236,7 +236,6 @@ gst_cuda_ensure_element_context (GstElement * element, gint device_id,
|
|||
context, *cuda_ctx);
|
||||
msg = gst_message_new_have_context (GST_OBJECT_CAST (element), context);
|
||||
gst_element_post_message (GST_ELEMENT_CAST (element), msg);
|
||||
gst_context_unref (context);
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue