summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorLoren Osborn <losborn@fwm.tv>2011-10-03 16:03:29 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-03 16:03:29 +0200
commitbf5c3bac51e422580aad011fcd927c818542f054 (patch)
tree686e9797ebd71bc7ce6ebaf6a24065c9bb9d628a /libavformat
parent2d8cfe1f6556471ee06ef745f1759c4a3613f21e (diff)
mpegtsenc: Lift limit on PMT PID
Fixes Ticket518
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mpegtsenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
index eb1e91c85e..1eb935c182 100644
--- a/libavformat/mpegtsenc.c
+++ b/libavformat/mpegtsenc.c
@@ -86,7 +86,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},
{"mpegts_m2ts_mode", "Enable m2ts mode.",