[dvblast-devel] do not remove padding with ASI

Christophe Massiot git at videolan.org
Mon Sep 28 11:32:09 CEST 2015


dvblast | branch: master | Christophe Massiot <cmassiot at openheadend.tv> | Mon Sep 28 11:31:26 2015 +0200| [168acc3c1c2bc704cf5dd1cb8fae76052ae7e4d6] | committer: Christophe Massiot

do not remove padding with ASI

Because, in pass-through mode, it confuses receivers that expect a CBR stream.

> http://git.videolan.org/gitweb.cgi/dvblast.git/?a=commit;h=168acc3c1c2bc704cf5dd1cb8fae76052ae7e4d6
---

 NEWS  |    1 +
 asi.c |    1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index 2bff933..1600349 100644
--- a/NEWS
+++ b/NEWS
@@ -16,6 +16,7 @@ Changes between 2.2 and 3.0:
   * Added options to periodically print status of bitrate, errors and PIDs
   * Added output options to set network ID and network name
   * Switch default string charset to UTF-8
+  * Do not remove padding with ASI
 
 Changes between 2.1 and 2.2:
 ----------------------------
diff --git a/asi.c b/asi.c
index d9d52d8..adc9783 100644
--- a/asi.c
+++ b/asi.c
@@ -171,7 +171,6 @@ void asi_Open( void )
     memset( p_pid_filter, 0x0, sizeof(p_pid_filter) );
 #else
     memset( p_pid_filter, 0xff, sizeof(p_pid_filter) );
-    p_pid_filter[8191 / 8] &= ~(0x01 << (8191 % 8)); /* padding */
 #endif
     if ( ioctl( i_handle, ASI_IOC_RXSETPF, p_pid_filter ) < 0 )
     {



More information about the dvblast-devel mailing list