[linux-dvb] patch - descrambling on stream level

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Per Dal?n wrote:

>The patch worked fine with my Twinhan DVB-Cab CI card. The only thing I
>changed to get it work was to stop the loop in parse_cab_channel_list in
>the same manner as the parse_ter_channel_list and parse_sat_channel_list.
>
>  
>

Yeah, that would be needed for DVB-C.

Manu


>------------------------------------------------------------------------
>
>Index: lib/libdvbsi/channels.c
>===================================================================
>RCS file: /cvs/linuxtv/dvb-apps/lib/libdvbsi/channels.c,v
>retrieving revision 1.1
>diff -u -b -B -r1.1 channels.c
>--- lib/libdvbsi/channels.c	22 Jun 2005 15:34:59 -0000	1.1
>+++ lib/libdvbsi/channels.c	18 Oct 2005 20:33:40 -0000
>@@ -191,6 +191,11 @@
> 		p_channel_params->video_pid = strtoul((strtok('\0', ":")), NULL, 0);
> 		p_channel_params->audio_pid = strtoul((strtok('\0', ":")), NULL, 0);
> 		p_channel_params->service_id = strtoul((strtok('\0', ":")), NULL, 0); // The old format does not have it !
>+		if (!strcmp(channel_name, p_channel_params->channel)) {
>+			printf("%s: Channel=[%s], Frequency=[%d], Video=[%d], Audio=[%d], Service=[%d]\n",
>+				__FUNCTION__, p_channel_params->channel, p_channel_params->frequency, p_channel_params->video_pid, p_channel_params->audio_pid, p_channel_params->service_id);
>+			break;
>+		}
> 	}
> 
> 	return 0;
>  
>
>------------------------------------------------------------------------
>



[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux