From: Víctor Manuel Jáquez Leal Date: Fri, 7 Jun 2019 07:54:12 +0000 (+0200) Subject: vaapidecodebin: set queue's max size buffers to 1 X-Git-Tag: 1.19.3~503^2~490 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=14ea838512dbc15337c5954b99c40b5baf3a4c57;p=platform%2Fupstream%2Fgstreamer.git 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. --- diff --git a/gst/vaapi/gstvaapidecodebin.c b/gst/vaapi/gstvaapidecodebin.c index 8e4cd34..021953b 100644 --- a/gst/vaapi/gstvaapidecodebin.c +++ b/gst/vaapi/gstvaapidecodebin.c @@ -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