xvimagesink: Delay pool creation until it's needed.
Buffer pool is created every time setcaps() is called, but it's required only when upstream doesn't use it, so it's only needed to copy frames onto XV buffers. This patch delay the creation of the buffer pool until it's frame copy is required. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1088>
Showing with 14 additions and 9 deletions