plugins: remove last negotiated video info if caps are same
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Tue, 11 Jun 2019 03:46:30 +0000 (20:46 -0700)
committerU. Artie Eoff <ullysses.a.eoff@intel.com>
Tue, 11 Jun 2019 04:28:13 +0000 (21:28 -0700)
commita6dfb6e5bee0fd7b7bbeb654e5ef1da2abe73446
tree539c9402e3546236b97a3c98c449d0d633b7cffe
parent5f4142221512f32f14038950f392a8128af4a995
plugins: remove last negotiated video info if caps are same

If the allocation caps and negotiated caps are the same,
then ensure any previously negotiated video info is also
removed.  This can occur when multi-resolution video
decoding returns to it's original resolution.

Fixes #170
gst/vaapi/gstvaapipluginbase.c