Expand the patch to work on drivers without the XUSSR channel set too.

This means FXTV should be able to compile on the really old Bt848
driver that ships with FreeBSD 2.2.8
This commit is contained in:
Roger Hardiman 1999-09-08 17:23:00 +00:00
parent 4c63b226ef
commit c79e7ed839
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=21421
2 changed files with 16 additions and 8 deletions

View File

@ -1,11 +1,15 @@
*** tvcapture.c.orig Wed Sep 8 16:28:54 1999
--- tvcapture.c Wed Sep 8 16:29:38 1999
*** tvcapture.c.orig Tue Sep 7 03:11:47 1999
--- tvcapture.c Wed Sep 8 17:46:13 1999
*************** char *TVCAPTUREGetTunerFreqSetName( TV_C
*** 686,693 ****
--- 686,695 ----
*** 684,693 ****
--- 684,697 ----
return "jpnbcst";
case CHNLSET_JPNCABLE:
return "jpncable";
+ #ifdef CHNLSET_XUSSR
case CHNLSET_XUSSR:
return "xussr";
+ #endif
+ #ifdef CHNLSET_AUSTRALIA
case CHNLSET_AUSTRALIA:
return "australia";

View File

@ -1,11 +1,15 @@
*** tvcapture.c.orig Wed Sep 8 16:28:54 1999
--- tvcapture.c Wed Sep 8 16:29:38 1999
*** tvcapture.c.orig Tue Sep 7 03:11:47 1999
--- tvcapture.c Wed Sep 8 17:46:13 1999
*************** char *TVCAPTUREGetTunerFreqSetName( TV_C
*** 686,693 ****
--- 686,695 ----
*** 684,693 ****
--- 684,697 ----
return "jpnbcst";
case CHNLSET_JPNCABLE:
return "jpncable";
+ #ifdef CHNLSET_XUSSR
case CHNLSET_XUSSR:
return "xussr";
+ #endif
+ #ifdef CHNLSET_AUSTRALIA
case CHNLSET_AUSTRALIA:
return "australia";