h264encoder: fix surface leak on b frames
authorWind Yuan <feng.yuan@intel.com>
Tue, 13 Aug 2013 04:41:25 +0000 (12:41 +0800)
committerWind Yuan <feng.yuan@intel.com>
Tue, 13 Aug 2013 05:19:26 +0000 (13:19 +0800)
commit4c42356548597483c75c530caba6309face21a42
treed8edba11df34399c180843003a98374f7c570c53
parent447f937719ca2d6b56ec34e3d7fe3e2bd49eb723
h264encoder: fix surface leak on b frames

 h264encoder need release reconstructed surface immediately
 on un-referenced frames, especially for b frames
gst-libs/gst/vaapi/gstvaapiencoder_h264.c