OSDN Git Service

lavf/mpegtsenc: Set min PID for data pkt to 0x0010.
authorSylvain Laurent <syllaur@gmail.com>
Sat, 24 Sep 2016 10:01:34 +0000 (12:01 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Wed, 28 Sep 2016 15:29:11 +0000 (17:29 +0200)
Fixes ticket #1673.

libavformat/mpegtsenc.c

index fd849e5..c10a3bf 100644 (file)
@@ -1843,7 +1843,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 }, 0x0020, 0x0f00, AV_OPT_FLAG_ENCODING_PARAM },
+      { .i64 = 0x0100 }, 0x0010, 0x0f00, AV_OPT_FLAG_ENCODING_PARAM },
     { "mpegts_m2ts_mode", "Enable m2ts mode.",
       offsetof(MpegTSWrite, m2ts_mode), AV_OPT_TYPE_BOOL,
       { .i64 = -1 }, -1, 1, AV_OPT_FLAG_ENCODING_PARAM },