This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

tvtime 1.0.2 videodev.h missing patch 2.6.38

By: a guest on Aug 13th, 2011  |  syntax: Diff  |  size: 0.56 KB  |  views: 187  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Index: tvtime-1.0.2/src/videoinput.c
  2. ===================================================================
  3. --- tvtime-1.0.2.orig/src/videoinput.c
  4. +++ tvtime-1.0.2/src/videoinput.c
  5. @@ -35,8 +35,17 @@
  6.  #ifdef HAVE_CONFIG_H
  7.  # include "config.h"
  8.  #endif
  9. -#include "videodev.h"
  10. -#include "videodev2.h"
  11. +#include <libv4l1-videodev.h>
  12. +#include <linux/videodev2.h>
  13. +#include <libv4l1.h>
  14. +
  15. +#ifndef VIDEO_MAX_FRAME
  16. +#define VIDEO_MAX_FRAME 32
  17. +#endif
  18. +
  19. +#ifndef BASE_VIDIOCPRIVATE
  20. +#define BASE_VIDIOCPRIVATE 192
  21. +#endif
  22.  #include "videoinput.h"
  23.  #include "mixer.h"
clone this paste RAW Paste Data