[dvblast-devel] select-pmts toggling feature

Christophe Massiot cmassiot at openheadend.tv
Mon Aug 4 21:55:49 CEST 2014


On 26 Jul 2014, at 08:04, Honza Petrouš <jpetrous at gmail.com> wrote:

> I just fight a bit with fresh devel version of dvblast (from git repo).
> We are using it in pid-filter restricted embedded solution
> what is now impossible when dvblast enables all PMT pids on start.
> 
> After small analysis I found out that --select-pmts when was added
> to the --config-file option there has a solution to disable it by adding
> --select-pmts just after config file. What was possible because 
> of switch-on/switch-off behaviour of --select-pmts option. But 
> the latest Christophe's commit changed it:
> 
> diff --git a/dvblast.c b/dvblast.c
> index da2be3a..86fb75e 100644
> --- a/dvblast.c
> +++ b/dvblast.c
> @@ -828,7 +828,7 @@ int main( int i_argc, char **pp_argv )
>              break;
>  
>          case 'w':
> -            b_select_pmts = !b_select_pmts;
> +            b_select_pmts = 1; //!b_select_pmts;
>              break;
>  
>          case 'U':
> @@ -905,7 +905,6 @@ int main( int i_argc, char **pp_argv )
>  
>          case 'Y':
>              b_enable_ecm = true;
> -            b_dvb_global = true;
>              break;
>   
>          case 'e':
> 
> I would like to change it back to the  original toggling variant,
> because I believe it was removed by mistake.
> 
> What do you think?

I agree, thanks for reporting the issue.



More information about the dvblast-devel mailing list