mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
vabasetranform: Initialize the allocation related variables in decide_allocation()
Prevent garbage value has been pass thru and causing pipeline fail to run. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7097>
This commit is contained in:
parent
e9801cb0a5
commit
c270c5643d
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ gst_va_base_transform_decide_allocation (GstBaseTransform * trans,
|
|||
{
|
||||
GstVaBaseTransform *self = GST_VA_BASE_TRANSFORM (trans);
|
||||
GstAllocator *allocator = NULL, *other_allocator = NULL;
|
||||
GstAllocationParams params, other_params;
|
||||
GstAllocationParams params = { 0, }, other_params = { 0, };
|
||||
GstBufferPool *pool = NULL, *other_pool = NULL;
|
||||
GstCaps *outcaps = NULL;
|
||||
GstStructure *config;
|
||||
|
|
Loading…
Reference in a new issue