avformat/mpegtsenc: change the min value for mpegts_start_pid to allow ATSC PIDs
authordedicatedbroadcastsolutions <zcybercomputing@gmail.com>
Tue, 18 Nov 2014 21:43:07 +0000 (13:43 -0800)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 18 Nov 2014 23:49:18 +0000 (00:49 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mpegtsenc.c

index d73b75f..7670fc6 100644 (file)
@@ -1438,7 +1438,7 @@ static const AVOption options[] = {
       { .i64 = 0x1000 }, 0x0010, 0x1f00, AV_OPT_FLAG_ENCODING_PARAM },
     { "mpegts_start_pid", "Set the first pid.",
       offsetof(MpegTSWrite, start_pid), AV_OPT_TYPE_INT,
-      { .i64 = 0x0100 }, 0x0100, 0x0f00, AV_OPT_FLAG_ENCODING_PARAM },
+      { .i64 = 0x0100 }, 0x0020, 0x0f00, AV_OPT_FLAG_ENCODING_PARAM },
     { "mpegts_m2ts_mode", "Enable m2ts mode.",
       offsetof(MpegTSWrite, m2ts_mode), AV_OPT_TYPE_INT,
       { .i64 = -1 }, -1, 1, AV_OPT_FLAG_ENCODING_PARAM },