mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
videodec: Ensure update_pool is initialized
This was probably not causing any issues, but we would randomly and needlessly update the pool in the query due to uninitialized variable.
This commit is contained in:
parent
7b9a53068d
commit
9919c274b9
1 changed files with 1 additions and 1 deletions
|
@ -1650,7 +1650,7 @@ gst_ffmpegviddec_decide_allocation (GstVideoDecoder * decoder, GstQuery * query)
|
||||||
GstBufferPool *pool;
|
GstBufferPool *pool;
|
||||||
guint size, min, max;
|
guint size, min, max;
|
||||||
GstStructure *config;
|
GstStructure *config;
|
||||||
gboolean have_videometa, have_alignment, update_pool;
|
gboolean have_videometa, have_alignment, update_pool = FALSE;
|
||||||
GstAllocator *allocator = NULL;
|
GstAllocator *allocator = NULL;
|
||||||
GstAllocationParams params = { 0, 15, 0, 0, };
|
GstAllocationParams params = { 0, 15, 0, 0, };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue