[vlc-commits] mux: ts: add pid range

Francois Cartegnie git at videolan.org
Tue Feb 3 15:28:43 CET 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Feb  2 23:31:33 2015 +0100| [a0f542166855a36698a915fc72cf8c379ab104f0] | committer: Francois Cartegnie

mux: ts: add pid range

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a0f542166855a36698a915fc72cf8c379ab104f0
---

 modules/mux/mpeg/ts.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/mux/mpeg/ts.c b/modules/mux/mpeg/ts.c
index b24a7e6..c5dca62 100644
--- a/modules/mux/mpeg/ts.c
+++ b/modules/mux/mpeg/ts.c
@@ -193,9 +193,13 @@ vlc_module_begin ()
     add_shortcut( "ts" )
 
     add_integer(SOUT_CFG_PREFIX "pid-video", 0, VPID_TEXT, VPID_LONGTEXT, true)
+        change_integer_range( 32, 8190 )
     add_integer(SOUT_CFG_PREFIX "pid-audio", 0, APID_TEXT, APID_LONGTEXT, true)
+        change_integer_range( 32, 8190 )
     add_integer(SOUT_CFG_PREFIX "pid-spu",   0, SPUPID_TEXT, SPUPID_LONGTEXT, true)
+        change_integer_range( 32, 8190 )
     add_integer(SOUT_CFG_PREFIX "pid-pmt", 0, PMTPID_TEXT, PMTPID_LONGTEXT, true)
+        change_integer_range( 32, 8190 )
     add_integer(SOUT_CFG_PREFIX "tsid",  0, TSID_TEXT, TSID_LONGTEXT, true)
     add_integer(SOUT_CFG_PREFIX "netid", 0, NETID_TEXT, NETID_LONGTEXT, true)
     add_string(SOUT_CFG_PREFIX "program-pmt", NULL, PMTPROG_TEXT, PMTPROG_LONGTEXT, true)



More information about the vlc-commits mailing list