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>
Wed, 21 Aug 2013 07:59:41 +0000 (15:59 +0800)
commitcde20526dff1b2a1f04f3226bea23977713f0cef
treee9f2a20a3498a23ef4688301d74e7328b1bf50ee
parentaf0b1b1193e7a6de59e0e170da6bff0d5f0a75ce
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