[dvblast-devel] Enable b_select_pmts when configuration file is used.
Georgi Chorbadzhiyski
git at videolan.org
Wed Jan 23 12:26:00 CET 2013
dvblast | branch: master | Georgi Chorbadzhiyski <gf at unixsol.org> | Wed Jan 23 13:22:54 2013 +0200| [77382fc584f903274e91f9431c986f80891de041] | committer: Georgi Chorbadzhiyski
Enable b_select_pmts when configuration file is used.
When configuration file is used it is reasonable to assume that
services may be added/removed on the fly.
If b_select_pmts is not set, dvblast is unable to start streaming
newly added services which is not expected at all.
> http://git.videolan.org/gitweb.cgi/dvblast.git/?a=commit;h=77382fc584f903274e91f9431c986f80891de041
---
dvblast.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dvblast.c b/dvblast.c
index f68cbd6..7c97490 100644
--- a/dvblast.c
+++ b/dvblast.c
@@ -673,6 +673,12 @@ int main( int i_argc, char **pp_argv )
case 'c':
psz_conf_file = optarg;
+ /*
+ * When configuration file is used it is reasonable to assume that
+ * services may be added/removed. If b_select_pmts is not set dvblast
+ * is unable to start streaming newly added services in the config.
+ */
+ b_select_pmts = 1;
break;
case 'r':
More information about the dvblast-devel
mailing list