mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +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);
|
GstVaBaseTransform *self = GST_VA_BASE_TRANSFORM (trans);
|
||||||
GstAllocator *allocator = NULL, *other_allocator = NULL;
|
GstAllocator *allocator = NULL, *other_allocator = NULL;
|
||||||
GstAllocationParams params, other_params;
|
GstAllocationParams params = { 0, }, other_params = { 0, };
|
||||||
GstBufferPool *pool = NULL, *other_pool = NULL;
|
GstBufferPool *pool = NULL, *other_pool = NULL;
|
||||||
GstCaps *outcaps = NULL;
|
GstCaps *outcaps = NULL;
|
||||||
GstStructure *config;
|
GstStructure *config;
|
||||||
|
|
Loading…
Reference in a new issue