v4l2sink: fix segfault in ::show_frame if the pool is being reconfigured
authorAlessandro Decina <alessandro.decina@collabora.co.uk>
Tue, 13 Mar 2012 15:27:10 +0000 (16:27 +0100)
committerAlessandro Decina <alessandro.decina@collabora.co.uk>
Tue, 13 Mar 2012 15:27:10 +0000 (16:27 +0100)
commit0c14665f222249aa88f221d9716f8dcc349b0f04
tree3c0a50268631ecf5cdd3e9ec7eec9d7f611b8fe9
parentc3094529360f751ac87e1e03e7b12e8ca09691c8
v4l2sink: fix segfault in ::show_frame if the pool is being reconfigured

While the pool is being reconfigured from buffer_alloc, show_frame can
temporarily find the pool to be NULL while rendering buffers allocated before
the reallocation.
sys/v4l2/gstv4l2sink.c