IR library and TV out library don't work together. Any Fix?

Hello everyone!

Just wondering if there is a way of fixing the IR library (for Infrared remotes to interact with Arduino) and TV out library (to send an image that I will interact with on my TV) so they work together... I've heard its possible to modify libraries for different purposes but I'm not sure how to do this here...

I have an Arduino Uno as Micro-controller.

Thanks for your help in advance !!

Pharoah

Here is the code BTW:

#include    // IR library
#include       // Servo library
#include       // Tv Out 
#include 
#include "schematic.h"
#include "TVOlogo.h"    // Interface (the graphical part of what you see on the TV)

int ledState[2];         // Variable for keeping track of the state of LEDs
int selection = 1;      // For keeping track of selection
int cur[2];              // For keeping track of selection in x and y axis        

//decode_results results;

const int x = 1;        //    ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ 
const int y = 2;        //   ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^     

TVout TV;               // Start the TV
IRrecv irrecv(11);      // Start the IR reciver

void setup() {          
  pinMode(5, OUTPUT);
  pinMode(6, OUTPUT);
  
  Serial.begin(9600);
// Attaching servo
//  myservo.attach(3);
  
  // Basic TV setup
  TV.begin(PAL,120,96);
  TV.select_font(font6x8);
  // Drawing interface
  TV.bitmap(0,0,TVOlogo);
}

void loop() {
  if (results.value == 66883950) {left(); Serial.println("Left pressed");}
  if (results.value == 66867630) {right(); Serial.println("Right pressed");}
}

void select() {
  if(selection == 1) {select1();}
  else if(selection == 2) {select2();}
  else if(selection == 3) {select3();}
  else if(selection == 4) {select4();}
  }

void right() {
  if(selection == 4) {
    selection = 1;
  }
  else {
    selection = selection + 1; 
  }
  select();
}

void left() {
  if(selection == 1) {
    selection = 4;
  }
  else {
    selection = selection - 1; 
  }
  select();
}

void select1() {
  TV.draw_rect(62, 44, 2, 2, WHITE); // Clear all selection squares.
  TV.draw_rect(62, 44, 2, 1, WHITE);
  
  TV.draw_rect(22, 71, 2, 2, WHITE);
  TV.draw_rect(22, 71, 2, 1, WHITE);
  
  TV.draw_rect(62, 71, 2, 2, WHITE);
  TV.draw_rect(62, 71, 2, 1, WHITE);
  
  TV.draw_rect(22, 44, 2, 2, WHITE);
  TV.draw_rect(22, 44, 2, 1, WHITE);
  
  TV.draw_rect(22, 44, 2, 2, BLACK); // Draw the selection square.
  TV.draw_rect(22, 44, 2, 1, BLACK);
}

void select2() {
  TV.draw_rect(62, 44, 2, 2, WHITE); // Clear all selection squares.
  TV.draw_rect(62, 44, 2, 1, WHITE);
  
  TV.draw_rect(22, 71, 2, 2, WHITE);
  TV.draw_rect(22, 71, 2, 1, WHITE);
  
  TV.draw_rect(62, 71, 2, 2, WHITE);
  TV.draw_rect(62, 71, 2, 1, WHITE);
  
  TV.draw_rect(22, 44, 2, 2, WHITE);
  TV.draw_rect(22, 44, 2, 1, WHITE);
  
  TV.draw_rect(62, 44, 2, 2, BLACK); // Draw the selection square.
  TV.draw_rect(62, 44, 2, 1, BLACK);
}

void select3() {
  TV.draw_rect(62, 44, 2, 2, WHITE); // Clear all selection squares.
  TV.draw_rect(62, 44, 2, 1, WHITE);
  
  TV.draw_rect(22, 71, 2, 2, WHITE);
  TV.draw_rect(22, 71, 2, 1, WHITE);
  
  TV.draw_rect(62, 71, 2, 2, WHITE);
  TV.draw_rect(62, 71, 2, 1, WHITE);
  
  TV.draw_rect(22, 44, 2, 2, WHITE);
  TV.draw_rect(22, 44, 2, 1, WHITE);
  
  TV.draw_rect(22, 71, 2, 2, BLACK); // Draw the selection square.
  TV.draw_rect(22, 71, 2, 1, BLACK);
}

void select4() {
  TV.draw_rect(62, 44, 2, 2, WHITE); // Clear all selection squares.
  TV.draw_rect(62, 44, 2, 1, WHITE);
  
  TV.draw_rect(22, 71, 2, 2, WHITE);
  TV.draw_rect(22, 71, 2, 1, WHITE);
  
  TV.draw_rect(62, 71, 2, 2, WHITE);
  TV.draw_rect(62, 71, 2, 1, WHITE);
  
  TV.draw_rect(22, 44, 2, 2, WHITE);
  TV.draw_rect(22, 44, 2, 1, WHITE);
  
  TV.draw_rect(62, 71, 2, 2, BLACK); // Draw the selection square.
  TV.draw_rect(62, 71, 2, 1, BLACK);
}

It works fine when I comment all the parts that use the IR library and the "#include ", this shows that it is the IR library that is causing the problem.

S.O.S! Please help! :)

Pharoah