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>
Mon, 18 Nov 2013 08:52:33 +0000 (16:52 +0800)
commitf198e0abed696a71a71e167b7e752fc68a89c97c
tree0c42ba6e87120f8cc4e4dcb363bb9ad46c2c78b9
parent0507923521018ca7ac29a3e04dd72eb43bfd42d9
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