Ticket #5988: speed_example.diff

File speed_example.diff, 439 bytes (added by bemasc, 7 years ago)

Patch to Theora to make its example encoder use fast mode.

  • examples/encoder_example.c

     
    760760 
    761761  theora_encode_init(&td,&ti); 
    762762  theora_info_clear(&ti); 
     763   
     764  c = 2; 
     765  theora_control(&td, TH_ENCCTL_SET_SPLEVEL, &c, sizeof(int)); 
    763766 
    764767  /* initialize Vorbis too, assuming we have audio to compress. */ 
    765768  if(audio){