Limit size of initial keyframe in one-pass.
Limit size of initial keyframe in one-pass.

Rather than using a default size of 1/2 or 3/2 seconds for the first
frame, use a fraction of the initial buffer level to give the
application some control.

This will likely undergo further refinement as size limits on key
frames are currently under discussion on codec-devel@, but this gives
much better behavior for small buffer sizes as a starting point.

Change-Id: Ieba55b86517b81e51e6f0a9fe27aabba295acab0

altogother/webm.libvpx,thdav/aom,kleopatra999/webm.libvpx,pcwalton/libvpx,Acidburn0zzz/webm.libvpx,mwgoldsmith/vpx,goodleixiao/vpx,thdav/aom,matanbs/webm.libvpx,mwgoldsmith/libvpx,shyamalschandra/libvpx,Topopiccione/libvpx,gshORTON/webm.libvpx,sanyaade-teachings/libvpx,mwgoldsmith/vpx,shareefalis/libvpx,genesi/libvpx0,awatry/libvpx.opencl,awatry/libvpx.opencl,shacklettbp/aom,openpeer/libvpx_new,WebRTC-Labs/libvpx,WebRTC-Labs/libvpx,matanbs/vp982,shyamalschandra/libvpx,smarter/aom,turbulenz/libvpx,zofuthan/libvpx,ittiamvpx/libvpx-1,stewnorriss/libvpx,running770/libvpx,reimaginemedia/webm.libvpx,Laknot/libvpx,shareefalis/libvpx,Distrotech/libvpx,Laknot/libvpx,webmproject/libvpx,mwgoldsmith/vpx,iniwf/webm.libvpx,charup/https---github.com-webmproject-libvpx-,Suvarna1488/webm.libvpx,altogother/webm.libvpx,kleopatra999/webm.libvpx,goodleixiao/vpx,ittiamvpx/libvpx,cinema6/libvpx,hsueceumd/test_hui,goodleixiao/vpx,shareefalis/libvpx,lyx2014/libvpx_c,sanyaade-teachings/libvpx,running770/libvpx,jdm/libvpx,hsueceumd/test_hui,mbebenita/aom,shacklettbp/aom,thdav/aom,Topopiccione/libvpx,turbulenz/libvpx,jdm/libvpx,Distrotech/libvpx,goodleixiao/vpx,thdav/aom,ittiamvpx/libvpx,awatry/libvpx.opencl,webmproject/libvpx,hsueceumd/test_hui,gshORTON/webm.libvpx,awatry/libvpx.opencl,enmasse-entertainment/libvpx,stewnorriss/libvpx,iniwf/webm.libvpx,kleopatra999/webm.libvpx,Topopiccione/libvpx,Maria1099/webm.libvpx,n4t/libvpx,stewnorriss/libvpx,ittiamvpx/libvpx-1,webmproject/libvpx,felipebetancur/libvpx,jdm/libvpx,pcwalton/libvpx,pcwalton/libvpx,altogother/webm.libvpx,mwgoldsmith/libvpx,cinema6/libvpx,jmvalin/aom,goodleixiao/vpx,sanyaade-teachings/libvpx,jmvalin/aom,kim42083/webm.libvpx,rikaunite/gst-opera_libvpx,ittiamvpx/libvpx,lyx2014/libvpx_c,enmasse-entertainment/libvpx,altogother/webm.libvpx,jacklicn/webm.libvpx,abwiz0086/webm.libvpx,shareefalis/libvpx,luctrudeau/aom,ShiftMediaProject/libvpx,mbebenita/aom,jmvalin/aom,jacklicn/webm.libvpx,iniwf/webm.libvpx,iniwf/webm.libvpx,thdav/aom,smarter/aom,shyamalschandra/libvpx,matanbs/vp982,mwgoldsmith/libvpx,mwgoldsmith/vpx,smarter/aom,luctrudeau/aom,reimaginemedia/webm.libvpx,enmasse-entertainment/libvpx,turbulenz/libvpx,kim42083/webm.libvpx,mbebenita/aom,Distrotech/libvpx,thdav/aom,VTCSecureLLC/libvpx,WebRTC-Labs/libvpx,mwgoldsmith/vpx,matanbs/webm.libvpx,rikaunite/gst-opera_libvpx,felipebetancur/libvpx,WebRTC-Labs/libvpx,Laknot/libvpx,openpeer/libvpx_new,jmvalin/aom,liqianggao/libvpx,n4t/libvpx,luctrudeau/aom,zofuthan/libvpx,gshORTON/webm.libvpx,reimaginemedia/webm.libvpx,liqianggao/libvpx,gshORTON/webm.libvpx,matanbs/vp982,lyx2014/libvpx_c,genesi/libvpx0,goodleixiao/vpx,shareefalis/libvpx,rikaunite/gst-opera_libvpx,stewnorriss/libvpx,GrokImageCompression/aom,hsueceumd/test_hui,turbulenz/libvpx,mwgoldsmith/libvpx,openpeer/libvpx_new,pcwalton/libvpx,cinema6/libvpx,altogother/webm.libvpx,Suvarna1488/webm.libvpx,Distrotech/libvpx,jdm/libvpx,GrokImageCompression/aom,zofuthan/libvpx,shacklettbp/aom,GrokImageCompression/aom,Maria1099/webm.libvpx,charup/https---github.com-webmproject-libvpx-,mbebenita/aom,jdm/libvpx,kleopatra999/webm.libvpx,Maria1099/webm.libvpx,matanbs/vp982,VTCSecureLLC/libvpx,Distrotech/libvpx,abwiz0086/webm.libvpx,jmvalin/aom,liqianggao/libvpx,mwgoldsmith/libvpx,lyx2014/libvpx_c,mbebenita/aom,hsueceumd/test_hui,n4t/libvpx,Acidburn0zzz/webm.libvpx,Maria1099/webm.libvpx,cinema6/libvpx,mbebenita/aom,rikaunite/gst-opera_libvpx,iniwf/webm.libvpx,altogother/webm.libvpx,VTCSecureLLC/libvpx,reimaginemedia/webm.libvpx,jmvalin/aom,cinema6/libvpx,matanbs/vp982,felipebetancur/libvpx,sanyaade-teachings/libvpx,kim42083/webm.libvpx,liqianggao/libvpx,GrokImageCompression/aom,mwgoldsmith/libvpx,felipebetancur/libvpx,turbulenz/libvpx,kalli123/webm.libvpx,shacklettbp/aom,cinema6/libvpx,liqianggao/libvpx,n4t/libvpx,jdm/libvpx,Suvarna1488/webm.libvpx,lyx2014/libvpx_c,Maria1099/webm.libvpx,openpeer/libvpx_new,jacklicn/webm.libvpx,vasilvv/esvp8,genesi/libvpx0,kleopatra999/webm.libvpx,running770/libvpx,Distrotech/libvpx,WebRTC-Labs/libvpx,ittiamvpx/libvpx,Maria1099/webm.libvpx,kim42083/webm.libvpx,abwiz0086/webm.libvpx,Acidburn0zzz/webm.libvpx,Acidburn0zzz/webm.libvpx,rikaunite/gst-opera_libvpx,iniwf/webm.libvpx,vasilvv/esvp8,smarter/aom,gshORTON/webm.libvpx,zofuthan/libvpx,cinema6/libvpx,zofuthan/libvpx,turbulenz/libvpx,ittiamvpx/libvpx,mbebenita/aom,ittiamvpx/libvpx-1,reimaginemedia/webm.libvpx,kalli123/webm.libvpx,ittiamvpx/libvpx-1,luctrudeau/aom,pcwalton/libvpx,VTCSecureLLC/libvpx,Suvarna1488/webm.libvpx,jacklicn/webm.libvpx,turbulenz/libvpx,Topopiccione/libvpx,webmproject/libvpx,pcwalton/libvpx,sanyaade-teachings/libvpx,shacklettbp/aom,jacklicn/webm.libvpx,luctrudeau/aom,VTCSecureLLC/libvpx,turbulenz/libvpx,mwgoldsmith/vpx,genesi/libvpx0,enmasse-entertainment/libvpx,Acidburn0zzz/webm.libvpx,shacklettbp/aom,shyamalschandra/libvpx,turbulenz/libvpx,enmasse-entertainment/libvpx,gshORTON/webm.libvpx,vasilvv/esvp8,shyamalschandra/libvpx,abwiz0086/webm.libvpx,running770/libvpx,abwiz0086/webm.libvpx,ShiftMediaProject/libvpx,smarter/aom,kalli123/webm.libvpx,luctrudeau/aom,mbebenita/aom,lyx2014/libvpx_c,kleopatra999/webm.libvpx,genesi/libvpx0,felipebetancur/libvpx,Topopiccione/libvpx,mbebenita/aom,webmproject/libvpx,GrokImageCompression/aom,Laknot/libvpx,hsueceumd/test_hui,kalli123/webm.libvpx,matanbs/vp982,stewnorriss/libvpx,shareefalis/libvpx,VTCSecureLLC/libvpx,Suvarna1488/webm.libvpx,abwiz0086/webm.libvpx,ittiamvpx/libvpx-1,kim42083/webm.libvpx,smarter/aom,kim42083/webm.libvpx,matanbs/webm.libvpx,kalli123/webm.libvpx,shyamalschandra/libvpx,running770/libvpx,charup/https---github.com-webmproject-libvpx-,charup/https---github.com-webmproject-libvpx-,matanbs/webm.libvpx,GrokImageCompression/aom,reimaginemedia/webm.libvpx,jacklicn/webm.libvpx,ittiamvpx/libvpx,charup/https---github.com-webmproject-libvpx-,vasilvv/esvp8,ShiftMediaProject/libvpx,zofuthan/libvpx,Acidburn0zzz/webm.libvpx,ShiftMediaProject/libvpx,webmproject/libvpx,charup/https---github.com-webmproject-libvpx-,openpeer/libvpx_new,stewnorriss/libvpx,vasilvv/esvp8,matanbs/vp982,genesi/libvpx0,Laknot/libvpx,felipebetancur/libvpx,liqianggao/libvpx,Suvarna1488/webm.libvpx,matanbs/webm.libvpx,ShiftMediaProject/libvpx,Topopiccione/libvpx,vasilvv/esvp8,openpeer/libvpx_new,vasilvv/esvp8,kalli123/webm.libvpx,ittiamvpx/libvpx-1,matanbs/webm.libvpx,n4t/libvpx,running770/libvpx,Laknot/libvpx