mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
vacompositor: Initialize the allocation related variables in decide_allocation()
Prevent garbage value has been pass thru and causing pipeline fail to run later on. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7097>
This commit is contained in:
parent
f498ba25da
commit
e82eb628b1
1 changed files with 1 additions and 1 deletions
|
@ -654,7 +654,7 @@ gst_va_compositor_decide_allocation (GstAggregator * agg, GstQuery * query)
|
|||
GstVideoAggregator *vagg = GST_VIDEO_AGGREGATOR (agg);
|
||||
|
||||
GstAllocator *allocator = NULL, *other_allocator = NULL;
|
||||
GstAllocationParams params, other_params;
|
||||
GstAllocationParams params = { 0, }, other_params = { 0, };
|
||||
GstBufferPool *pool = NULL, *other_pool = NULL;
|
||||
GstCaps *caps = NULL;
|
||||
GstStructure *config;
|
||||
|
|
Loading…
Reference in a new issue