[dvblast-devel] [Git][videolan/dvblast][master] 2 commits: adjust plp usage text

Christophe Massiot gitlab at videolan.org
Sat Jun 30 21:06:48 CEST 2018


Christophe Massiot pushed to branch master at VideoLAN / dvblast


Commits:
740f8e96 by Christophe Massiot at 2018-06-30T20:51:49+02:00
adjust plp usage text

Patch courtesy of Stefan Pöschel.

- - - - -
5241d8e4 by Christophe Massiot at 2018-06-30T21:06:27+02:00
implement --passthrough option

- - - - -


3 changed files:

- NEWS
- demux.c
- dvblast.c


Changes:

=====================================
NEWS
=====================================
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,7 @@ Changes between 3.2 and -next
   * Add --lnb-type universal|old-sky option to dvblast
   * Add support for multistream-id calculation using --multistream-id-pls-mode,
     --multistream-id-pls-code and --multistream-id-is-id options
+  * Add --passthrough (to stdout) option
 
 Changes between 3.1 and 3.2:
 ----------------------------


=====================================
demux.c
=====================================
--- a/demux.c
+++ b/demux.c
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * demux.c
  *****************************************************************************
- * Copyright (C) 2004, 2008-2011, 2015-2017 VideoLAN
+ * Copyright (C) 2004, 2008-2011, 2015-2018 VideoLAN
  *
  * Authors: Christophe Massiot <massiot at via.ecp.fr>
  *          Andy Gatward <a.j.gatward at reading.ac.uk>
@@ -732,6 +732,9 @@ static void demux_Handle( block_t *p_ts )
     if ( output_dup.config.i_config & OUTPUT_VALID )
         output_Put( &output_dup, p_ts );
 
+    if ( b_passthrough )
+        fwrite(p_ts->p_ts, TS_SIZE, 1, stdout);
+
     p_ts->i_refcount--;
     if ( !p_ts->i_refcount )
         block_Delete( p_ts );


=====================================
dvblast.c
=====================================
--- a/dvblast.c
+++ b/dvblast.c
@@ -651,7 +651,7 @@ void usage()
     msg_Raw( NULL, "  -f --frequency        frontend frequency" );
     msg_Raw( NULL, "  -8 --lnb-type <type>  Set LNB type')" );
     msg_Raw( NULL, "        universal old-sky (default: universal)");
-    msg_Raw( NULL, "  -9 --dvb-plp-id <number> Switch PLP of the DVB-T2 transmission (for Russia special)" );
+    msg_Raw( NULL, "  -9 --dvb-plp-id <number> Switch PLP of the DVB-T2 transmission (default: 0)" );
     msg_Raw( NULL, "  -F --fec-inner        Forward Error Correction (FEC Inner)");
     msg_Raw( NULL, "    DVB-S2 0|12|23|34|35|56|78|89|910|999 (default auto: 999)");
     msg_Raw( NULL, "  -I --inversion        Inversion (-1 auto, 0 off, 1 on)" );



View it on GitLab: https://code.videolan.org/videolan/dvblast/compare/0e3403647223a20bbae0ecfe015645515deab342...5241d8e48e3697c30fb6688d032b42ecfe6b6a94

-- 
View it on GitLab: https://code.videolan.org/videolan/dvblast/compare/0e3403647223a20bbae0ecfe015645515deab342...5241d8e48e3697c30fb6688d032b42ecfe6b6a94
You're receiving this email because of your account on code.videolan.org.


More information about the dvblast-devel mailing list