[dvblast-devel] Disable stream scrambled channels ...
Kompan Kolia
kompan at yandex.ru
Thu Apr 18 10:40:29 CEST 2013
We made modified patch for disabling streaming unscrambled channel in your network
------------------------------------ begin diff -----------------------------------------------------------
# diff -u /usr/src/dvblast_2.2_2013_04_12_bss/demux.c ~/2/dvblast_2.2_2013_04_12/demux.c
--- /usr/src/dvblast_2.2_2013_04_12_bss/demux.c 2013-04-06 20:07:10.000000000 -0400
+++ /root/2/dvblast_2.2_2013_04_12/demux.c 2013-04-12 05:25:02.000000000 -0400
@@ -484,11 +484,6 @@
{
p_output->i_nb_errors++;
p_output->i_last_error = i_wallclock;
- if ( p_output->i_nb_errors <= MAX_ERRORS )
- {
- block_Delete( p_ts );
- return;
- }
}
else if ( i_wallclock > p_output->i_last_error + WATCHDOG_WAIT )
p_output->i_nb_errors = 0;
@@ -503,11 +498,9 @@
"too many errors for stream %s, resetting",
p_output->config.psz_displayname );
en50221_Reset();
- block_Delete( p_ts );
- return;
}
}
- //if ( p_output->i_nb_errors > 0 )
+
output_Put( p_output, p_ts );
if ( p_output->p_eit_ts_buffer != NULL
@@ -987,7 +980,7 @@
p_block->i_dts = i_dts;
p_block->i_refcount--;
- //output_Put( p_output, p_block );
+ output_Put( p_output, p_block );
if ( pp_ts_buffer != NULL )
{
*pp_ts_buffer = NULL;
-------------------------------------------- end of diff ----------------------------------------------
02.05.2012, 13:00, "Georgi Chorbadzhiyski" <gf at unixsol.org>:
> Around 05/02/2012 09:20 AM, Kompan Kolia scribbled:
>
>> How i can disable stream scrambled channels? Like old VLC version. VLC didn`t send scrambled stream to network. It just write to log some message...
>>
>> For example:
>> Run with CAM+Access card (Paid card) - Stream chennel
>> Run with CAM+Access card (expired subscription) - Disable stream channel
>> Run without CAM - Disable stream channel
>>
>> This features needed for monitoring some channels for some troubles of subscriptions...
>
> Back in February you didn't respond to this:
>
> http://mailman.videolan.org/pipermail/dvblast-devel/2012-February/000939.html
>
> Try it.
>
> --
> Georgi Chorbadzhiyski
> http://georgi.unixsol.org/
More information about the dvblast-devel
mailing list