# HG changeset patch # User voroshil # Date 1180000737 0 # Node ID 4525958100163b9ea6154e4815d3a6ae66be90a5 # Parent 705f72c9a0f6f257a22de79a0d0146a5591fed00 remove unnecessary stubs which were not ever used. diff -r 705f72c9a0f6 -r 452595810016 stream/tv.h --- a/stream/tv.h Wed May 23 18:35:24 2007 +0000 +++ b/stream/tv.h Thu May 24 09:58:57 2007 +0000 @@ -66,9 +66,6 @@ int (*control)(); int (*start)(); double (*grab_video_frame)(); -#ifdef HAVE_TV_BSDBT848 - double (*grabimmediate_video_frame)(); -#endif int (*get_video_framesize)(); double (*grab_audio_frame)(); int (*get_audio_framesize)(); diff -r 705f72c9a0f6 -r 452595810016 stream/tvi_def.h --- a/stream/tvi_def.h Wed May 23 18:35:24 2007 +0000 +++ b/stream/tvi_def.h Thu May 24 09:58:57 2007 +0000 @@ -6,9 +6,6 @@ static int control(priv_t *priv, int cmd, void *arg); static int start(priv_t *priv); static double grab_video_frame(priv_t *priv, char *buffer, int len); -#ifdef HAVE_TV_BSDBT848 -static double grabimmediate_video_frame(priv_t *priv, char *buffer, int len); -#endif static int get_video_framesize(priv_t *priv); static double grab_audio_frame(priv_t *priv, char *buffer, int len); static int get_audio_framesize(priv_t *priv); @@ -20,9 +17,6 @@ control, start, grab_video_frame, -#ifdef HAVE_TV_BSDBT848 - grabimmediate_video_frame, -#endif get_video_framesize, grab_audio_frame, get_audio_framesize diff -r 705f72c9a0f6 -r 452595810016 stream/tvi_dummy.c --- a/stream/tvi_dummy.c Wed May 23 18:35:24 2007 +0000 +++ b/stream/tvi_dummy.c Thu May 24 09:58:57 2007 +0000 @@ -90,14 +90,6 @@ return(TVI_CONTROL_UNKNOWN); } -#ifdef HAVE_TV_BSDBT848 -static double grabimmediate_video_frame(priv_t *priv, char *buffer, int len) -{ - memset(buffer, 0xCC, len); - return(1); -} -#endif - static double grab_video_frame(priv_t *priv, char *buffer, int len) { memset(buffer, 0x42, len); diff -r 705f72c9a0f6 -r 452595810016 stream/tvi_v4l2.c --- a/stream/tvi_v4l2.c Wed May 23 18:35:24 2007 +0000 +++ b/stream/tvi_v4l2.c Thu May 24 09:58:57 2007 +0000 @@ -1313,15 +1313,6 @@ return 1; } - -#ifdef HAVE_TV_BSDBT848 -static double grabimmediate_video_frame(priv_t *priv, char *buffer, int len) -{ - memset(buffer, 0xCC, len); - return(1); -} -#endif /* HAVE_TV_BSDBT848 */ - // copies a video frame static inline void copy_frame(priv_t *priv, unsigned char *dest, unsigned char *source) {