Avoid double copying of key frames into alt and golden buffer
Avoid double copying of key frames into alt and golden buffer

Change-Id: I726976a297a593a35ed6cba3c660e372562f7b27

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