summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-05-04 22:22:21 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-05-04 22:22:21 +0000
commitbbf8695f14441955b2eb9f7fb76de526420ab0cb (patch)
tree5e0f4ed3e00d6814aece7443cac683b987d4a34e
parent9c39f5480b4946c93edad0fd0ae01344b5a12a0b (diff)
downloadxine-lib-bbf8695f14441955b2eb9f7fb76de526420ab0cb.tar.gz
xine-lib-bbf8695f14441955b2eb9f7fb76de526420ab0cb.tar.bz2
some of us haven't nvtv support, let us use xine-lib anyway ;-)
CVS patchset: 4771 CVS date: 2003/05/04 22:22:21
-rw-r--r--src/xine-engine/nvtv/back_client.c4
-rw-r--r--src/xine-engine/nvtv/backend.h4
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 */