v4l2videodec: Check that pool where allocated before flushing them
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Sun, 16 Mar 2014 16:01:10 +0000 (17:01 +0100)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 8 May 2014 19:56:35 +0000 (15:56 -0400)
commita8024fef04308866839417ffdaae3578653cef00
tree744cf159fd6eb1e9d2110449fd96541a9921c5cd
parent6196026c76f84e01eb6e81fbb60e052c865e13c9
v4l2videodec: Check that pool where allocated before flushing them

Upon error, the pools might not have been allocated yet, hence we should not
try and flush them (even though we still want to make sure the processing thread
is fully stopped).
sys/v4l2/gstv4l2videodec.c