From 7dcbd9e8676512311340cc4944585c69315a346f Mon Sep 17 00:00:00 2001
From: Sylvain Laurent <syllaur@gmail.com>
Date: Wed, 22 Aug 2012 17:29:50 +0200
Subject: [PATCH] Set min PID from 0x0100 to 0x0010 for data pkt
---
libavformat/mpegtsenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
index d8e67c7..c38bfac 100644
|
a
|
b
|
static const AVOption options[] = { |
| 100 | 100 | { "mpegts_pmt_start_pid", "Set the first pid of the PMT.", |
| 101 | 101 | offsetof(MpegTSWrite, pmt_start_pid), AV_OPT_TYPE_INT, {.dbl = 0x1000 }, 0x0010, 0x1f00, AV_OPT_FLAG_ENCODING_PARAM}, |
| 102 | 102 | { "mpegts_start_pid", "Set the first pid.", |
| 103 | | offsetof(MpegTSWrite, start_pid), AV_OPT_TYPE_INT, {.dbl = 0x0100 }, 0x0100, 0x0f00, AV_OPT_FLAG_ENCODING_PARAM}, |
| | 103 | offsetof(MpegTSWrite, start_pid), AV_OPT_TYPE_INT, {.dbl = 0x0100 }, 0x0010, 0x0f00, AV_OPT_FLAG_ENCODING_PARAM}, |
| 104 | 104 | {"mpegts_m2ts_mode", "Enable m2ts mode.", |
| 105 | 105 | offsetof(MpegTSWrite, m2ts_mode), AV_OPT_TYPE_INT, {.dbl = -1 }, |
| 106 | 106 | -1,1, AV_OPT_FLAG_ENCODING_PARAM}, |