videopool: update buffer size after video alignment
authorSong Bing <b06498@freescale.com>
Tue, 16 Dec 2014 11:10:53 +0000 (12:10 +0100)
committerWim Taymans <wtaymans@redhat.com>
Tue, 16 Dec 2014 11:14:53 +0000 (12:14 +0100)
commit8baf1ec50076bd4ea13477875069eb48d7f2a337
tree95721ba69605fbd03e9acd29c9900f688f244d79
parent0b7537f93baa3200c3d0435dd95c4383777aa1ba
videopool: update buffer size after video alignment

Update the new buffer size after alignment in the pool configuration
before calling the parent set_config. This ensures that the parent knows
about the buffer size that we will allocate and makes the size check
work in the release_buffer method.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=741420
gst-libs/gst/video/gstvideopool.c
sys/ximage/ximagepool.c
sys/xvimage/xvimagepool.c