For pal: 25 and 24 Fps 
#define one_time_max 588 // these values are setup for NTSC video
#define one_time_min 422 // PAL would be around 1000 for 0 and 500 for 1
#define zero_time_max 1080 // 80bits times 29.97 frames per sec
#define zero_time_min 922 // equals 833 (divide by 8 clock pulses)
For User bit : userBit[9] = ((tc[0]&0xF0)>>4)+0x30; // user bits 8
userBit[8] = ((tc[1]&0xF0)>>4)+0x30; // user bits 7
userBit[7] = ((tc[2]&0xF0)>>4)+0x30; // user bits 6
userBit[6] = ((tc[3]&0xF0)>>4)+0x30; // user bits 5
userBit[5] = '-';
userBit[4] = ((tc[4]&0xF0)>>4)+0x30; // user bits 4
userBit[3] = ((tc[5]&0xF0)>>4)+0x30; // user bits 3
userBit[2] = '-';
userBit[1] = ((tc[6]&0xF0)>>4)+0x30; // user bits 2
userBit[0] = ((tc[7]&0xF0)>>4)+0x30; // user bits 1