encoder: hevc: Fix the size over-flow for encoded buffer.
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Thu, 28 May 2015 07:52:48 +0000 (10:52 +0300)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Thu, 28 May 2015 07:52:48 +0000 (10:52 +0300)
commit619058b5b705d927a36061aa5b952d7ab856d7e6
treed643742987a3c0586e38625ae751d011c11e1fd4
parent4d8eaf1918934db66c43259447146c1ba21e89c6
encoder: hevc: Fix the size over-flow for encoded buffer.

The approximation of 6 times compression ratio migh not
work in all cases. Especially when enabling I frames.
Provide large enough size for coded-buffer creation.
gst-libs/gst/vaapi/gstvaapiencoder_h265.c