[dvblast-devel] select-pmts toggling feature

Honza Petrouš jpetrous at gmail.com
Sat Jul 26 08:04:44 CEST 2014


Hi.

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?

/Honza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/dvblast-devel/attachments/20140726/3208face/attachment.html>


More information about the dvblast-devel mailing list