From bbf8695f14441955b2eb9f7fb76de526420ab0cb Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Sun, 4 May 2003 22:22:21 +0000 Subject: some of us haven't nvtv support, let us use xine-lib anyway ;-) CVS patchset: 4771 CVS date: 2003/05/04 22:22:21 --- src/xine-engine/nvtv/back_client.c | 4 +++- src/xine-engine/nvtv/backend.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/xine-engine/nvtv/back_client.c b/src/xine-engine/nvtv/back_client.c index 5a3ee0ec6..24289cc71 100644 --- a/src/xine-engine/nvtv/back_client.c +++ b/src/xine-engine/nvtv/back_client.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: back_client.c,v 1.3 2003/05/04 01:35:05 hadess Exp $ + * $Id: back_client.c,v 1.4 2003/05/04 22:22:21 f1rmb Exp $ * * Contents: * @@ -480,8 +480,10 @@ CardPtr back_client_init (void) { CardPtr card; +#ifdef XINE_HAVE_NVTV back_access = &bcl_access_func; back_card = &bcl_card_func; +#endif bcl_openPipes (); pipeWriteCmd (pipe_out, PCmd_Init); pipeWriteArgs (pipe_out, 0); diff --git a/src/xine-engine/nvtv/backend.h b/src/xine-engine/nvtv/backend.h index af652b8a2..a496fa51f 100644 --- a/src/xine-engine/nvtv/backend.h +++ b/src/xine-engine/nvtv/backend.h @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: backend.h,v 1.3 2003/05/04 01:35:06 hadess Exp $ + * $Id: backend.h,v 1.4 2003/05/04 22:22:21 f1rmb Exp $ * * Contents: * @@ -124,7 +124,9 @@ typedef struct { /* The backend(s) use static information, so there can only be one backend active: */ +#ifdef XINE_HAVE_NVTV extern BackAccessPtr back_access; extern BackCardPtr back_card; +#endif #endif /* _BACKEND_H */ -- cgit v1.2.3