fixing configuration file
changed version number
removed global buffer
pass subtitle in write_cc_buffer from general loop
seprated output function
init encoder and dinit encoder have more function
set size at correct place