maxBufferCount is not constant

Change-Id: If29ae4ea052a332a5e3a4661fc669193483b20db