ducatividdec: flush the codec on caps changes
authorAlessandro Decina <alessandro.decina@collabora.co.uk>
Tue, 28 Feb 2012 17:07:33 +0000 (18:07 +0100)
committerAlessandro Decina <alessandro.decina@collabora.co.uk>
Tue, 28 Feb 2012 17:07:33 +0000 (18:07 +0100)
commitde17ddfd0991b36637d163769ae49f7cd3211e39
tree14cf5d8ed8f48c92a784a70ee4c47222b77c1a0f
parent785adb8954c943369a6917cc807a14db42720148
ducatividdec: flush the codec on caps changes

Flush the codec when caps change. Needed for downstream sinks that provide a
buffer pool and need to destroy all the outstanding buffers before they can
negotiate new caps (hello v4l2sink).
src/gstducatividdec.c