vaapipostproc: clear state on stop
authorMichael Olbrich <m.olbrich@pengutronix.de>
Tue, 27 Jan 2015 14:06:02 +0000 (16:06 +0200)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Tue, 27 Jan 2015 14:06:02 +0000 (16:06 +0200)
commit22d1acb6d2f754fb851bd0f2fc535adf81b37d0b
tree773ffbb207ff03db810ab7d3824c116e38ada35c
parentb7d7a0197d6d92a557a9914af2a644c16235584c
vaapipostproc: clear state on stop

Otherwise restarting may fail because the state of vaapipluginbase and
vaapipostproc don't match. e.g. gst_vaapipostproc_set_caps() will skip
initailization and not call gst_vaapi_plugin_base_set_caps()
gst/vaapi/gstvaapipostproc.c