mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
vaapidecodebin: set queue's max size buffers to 1
Otherwise the queue will swallow all the available decoder's surfaces reaching a dead-lock. This setting might impact the bin's peformance, but it's a trade-off.
This commit is contained in:
parent
1fa172f032
commit
14ea838512
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@
|
|||
GST_DEBUG_CATEGORY_STATIC (gst_debug_vaapi_decode_bin);
|
||||
#define GST_CAT_DEFAULT gst_debug_vaapi_decode_bin
|
||||
|
||||
#define DEFAULT_QUEUE_MAX_SIZE_BUFFERS 0
|
||||
#define DEFAULT_QUEUE_MAX_SIZE_BUFFERS 1
|
||||
#define DEFAULT_QUEUE_MAX_SIZE_BYTES 0
|
||||
#define DEFAULT_QUEUE_MAX_SIZE_TIME 0
|
||||
#define DEFAULT_DEINTERLACE_METHOD GST_VAAPI_DEINTERLACE_METHOD_BOB
|
||||
|
|
Loading…
Reference in a new issue