[dvblast-devel] Disable stream scrambled channels ...

Georgi Chorbadzhiyski gf at unixsol.org
Thu Apr 18 10:58:47 CEST 2013


On 4/18/13 11:40 AM, Kompan Kolia wrote:
> 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;

Please send tested patch with description against dvblast HEAD.

-- 
Georgi Chorbadzhiyski
http://georgi.unixsol.org/
http://github.com/gfto/


More information about the dvblast-devel mailing list