mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
gl/filter: always initialize the upload object
This commit is contained in:
parent
a27589629d
commit
c2cdac278e
1 changed files with 2 additions and 2 deletions
|
@ -1127,9 +1127,9 @@ gst_gl_filter_transform (GstBaseTransform * bt, GstBuffer * inbuf,
|
|||
filter->upload = gst_object_ref (GST_GL_BUFFER_POOL (pool)->upload);
|
||||
} else {
|
||||
filter->upload = gst_gl_upload_new (filter->context);
|
||||
if (!gst_gl_upload_init_format (filter->upload, &filter->in_info))
|
||||
goto upload_error;
|
||||
}
|
||||
if (!gst_gl_upload_init_format (filter->upload, &filter->in_info))
|
||||
goto upload_error;
|
||||
|
||||
gst_caps_unref (in_caps);
|
||||
gst_caps_unref (out_caps);
|
||||
|
|
Loading…
Reference in a new issue