aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoren Osborn <losborn@fwm.tv>2011-10-03 16:03:29 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-11 21:34:14 +0200
commitb981c5d4e0f0dd26fd1c03d70a38aef85d6131bc (patch)
treef9adca2e0c5b91937e3fa140cd40e8047aff84c6
parent60171d8fa68e90bd623daba970a65c4171cac502 (diff)
downloadffmpeg-b981c5d4e0f0dd26fd1c03d70a38aef85d6131bc.tar.gz
mpegtsenc: Lift limit on PMT PID
Fixes Ticket518 (cherry picked from commit bf5c3bac51e422580aad011fcd927c818542f054)
-rw-r--r--libavformat/mpegtsenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
index 7e9647257f..32dedfbae6 100644
--- a/libavformat/mpegtsenc.c
+++ b/libavformat/mpegtsenc.c
@@ -84,7 +84,7 @@ static const AVOption options[] = {
{ "mpegts_service_id", "Set service_id field.",
offsetof(MpegTSWrite, service_id), FF_OPT_TYPE_INT, {.dbl = 0x0001 }, 0x0001, 0xffff, AV_OPT_FLAG_ENCODING_PARAM},
{ "mpegts_pmt_start_pid", "Set the first pid of the PMT.",
- offsetof(MpegTSWrite, pmt_start_pid), FF_OPT_TYPE_INT, {.dbl = 0x1000 }, 0x1000, 0x1f00, AV_OPT_FLAG_ENCODING_PARAM},
+ offsetof(MpegTSWrite, pmt_start_pid), FF_OPT_TYPE_INT, {.dbl = 0x1000 }, 0x0010, 0x1f00, AV_OPT_FLAG_ENCODING_PARAM},
{ "mpegts_start_pid", "Set the first pid.",
offsetof(MpegTSWrite, start_pid), FF_OPT_TYPE_INT, {.dbl = 0x0100 }, 0x0100, 0x0f00, AV_OPT_FLAG_ENCODING_PARAM},
{ NULL },