[FFmpeg-cvslog] lavf/mpegtsenc: Set min PID for data pkt to 0x0010.

Sylvain Laurent git at videolan.org
Wed Sep 28 18:36:00 EEST 2016


ffmpeg | branch: master | Sylvain Laurent <syllaur at gmail.com> | Sat Sep 24 12:01:34 2016 +0200| [58776ccbdb4d2e5f07d1d0fe12a1529cffe949c0] | committer: Carl Eugen Hoyos

lavf/mpegtsenc: Set min PID for data pkt to 0x0010.

Fixes ticket #1673.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=58776ccbdb4d2e5f07d1d0fe12a1529cffe949c0
---

 libavformat/mpegtsenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
index fd849e5..c10a3bf 100644
--- a/libavformat/mpegtsenc.c
+++ b/libavformat/mpegtsenc.c
@@ -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 },



More information about the ffmpeg-cvslog mailing list