plugins: no sinkpad bufferpool when decoder
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Tue, 24 May 2016 14:22:24 +0000 (16:22 +0200)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Tue, 24 May 2016 14:50:39 +0000 (16:50 +0200)
commitb27ddd8036b82567ae84f6e4ab225a1332b50b03
tree15713c3f0ba1e0b5f89a274f54e275a44372dbb5
parentc9f600686531049c3f17ea0a4db745c8bd8d547c
plugins: no sinkpad bufferpool when decoder

Right now, the decoders create a buffer pool for their sink pad which is not
used at all, because the decoders have never proposed it to upstream.

This patch avoids the buffer pool instantiating when the element inherits from
the GstVideoDecoder class.
gst/vaapi/gstvaapipluginbase.c