Common subdirectories: dvbstream-0.5/TELNET and dvbstream-0.5-patch/TELNET
diff -c dvbstream-0.5/dvbstream.c dvbstream-0.5-patch/dvbstream.c
*** dvbstream-0.5/dvbstream.c   Wed Feb 11 16:34:21 2004
--- dvbstream-0.5-patch/dvbstream.c     Wed May 18 21:08:11 2005
***************
*** 294,299 ****
--- 294,300 ----
                  fprintf(stderr,"\nsorry, you can only set up to 8 filters.\n\n");
                  return(-1);
                } else {
+               if(pid==8193) pid=0;
                  pestypes[npids]=pestype;
                  pestype=DMX_PES_OTHER;
                  pids[npids]=pid;
***************
*** 464,470 ****
    /* Output: {uni,multi,broad}cast socket */
    char ipOut[20];
    int portOut;
!   int ttl;

    pids_map = NULL;
    map_cnt = 0;
--- 465,471 ----
    /* Output: {uni,multi,broad}cast socket */
    char ipOut[20];
    int portOut;
!   int ttl = 1;

    pids_map = NULL;
    map_cnt = 0;
***************
*** 566,571 ****
--- 567,577 ----
          }
        } else if (strcmp(argv[i],"-v")==0) {
          pestype=DMX_PES_VIDEO;
+       // selection of TTL
+       } else if (strcmp(argv[i],"-ttl")==0) {
+         i++;
+         ttl=atoi(argv[i]);
+       // end of selection of TTL
        } else if (strcmp(argv[i],"-a")==0) {
          pestype=DMX_PES_AUDIO;
        } else if (strcmp(argv[i],"-t")==0) {
***************
*** 731,736 ****
--- 737,749 ----
      fprintf(stderr,"ERROR: PS requires exactly two PIDS - video and audio.\n");
      exit;
    }
+ #if 1
+    if(card > 0) /* Only first card can choose pol/band as we're using a passive splitter !!!! */
+    {
+       pol = 'N';
+       tone = -1 ;
+    }
+ #endif

    if (signal(SIGHUP, SignalHandler) == SIG_IGN) signal(SIGHUP, SIG_IGN);
    if (signal(SIGINT, SignalHandler) == SIG_IGN) signal(SIGINT, SIG_IGN);
***************
*** 783,789 ****
        fprintf(stderr,"Output to stdout\n");
      }
      else {
!       ttl = 2;
        fprintf(stderr,"Using %s:%d:%d\n",ipOut,portOut,ttl);

        /* Init RTP */
--- 796,802 ----
        fprintf(stderr,"Output to stdout\n");
      }
      else {
!       //ttl = 2;
        fprintf(stderr,"Using %s:%d:%d\n",ipOut,portOut,ttl);

        /* Init RTP */
***************
*** 816,822 ****
    setsockopt(socketIn,SOL_SOCKET,SO_REUSEADDR,&ReUseAddr,sizeof(ReUseAddr));

    name.sin_family = AF_INET;
!   name.sin_port = htons(port);
    name.sin_addr.s_addr = htonl(INADDR_ANY);
    if (bind(socketIn,(struct sockaddr* )&name,sizeof(name)) < 0) {
      perror("server: bind");
--- 829,836 ----
    setsockopt(socketIn,SOL_SOCKET,SO_REUSEADDR,&ReUseAddr,sizeof(ReUseAddr));

    name.sin_family = AF_INET;
! //name.sin_port = htons(port);
!   name.sin_port = htons(port+card); /* each card gets its own port 12345,12346,... */
    name.sin_addr.s_addr = htonl(INADDR_ANY);
    if (bind(socketIn,(struct sockaddr* )&name,sizeof(name)) < 0) {
      perror("server: bind");
Common subdirectories: dvbstream-0.5/mpegtools and dvbstream-0.5-patch/mpegtools
diff -c dvbstream-0.5/tune.c dvbstream-0.5-patch/tune.c
*** dvbstream-0.5/tune.c        Fri Feb  6 15:00:01 2004
--- dvbstream-0.5-patch/tune.c  Wed May 18 21:11:50 2005
***************
*** 472,480 ****
  #endif
        if ((pol=='h') || (pol=='H')) {
          voltage = SEC_VOLTAGE_18;
!       } else {
          voltage = SEC_VOLTAGE_13;
!       }
  #ifdef NEWSTRUCT
  if (diseqc==0) if (ioctl(fd_frontend,FE_SET_VOLTAGE,voltage) < 0) {
  #else
--- 472,483 ----
  #endif
        if ((pol=='h') || (pol=='H')) {
          voltage = SEC_VOLTAGE_18;
!       } else
!       if ((pol=='v') || (pol=='V'))
          voltage = SEC_VOLTAGE_13;
!         else
!         voltage = SEC_VOLTAGE_OFF;
!
  #ifdef NEWSTRUCT
  if (diseqc==0) if (ioctl(fd_frontend,FE_SET_VOLTAGE,voltage) < 0) {
  #else
