Commit e7282674 authored by Lou Logan's avatar Lou Logan

lavf/mpegtsenc: clarify pcr_period unit of measurement

pcr_period is in milliseconds.
Signed-off-by: 's avatarLou Logan <lou@lrcd.com>
parent 8286c359
...@@ -1945,7 +1945,7 @@ static const AVOption options[] = { ...@@ -1945,7 +1945,7 @@ static const AVOption options[] = {
{ "omit_video_pes_length", "Omit the PES packet length for video packets", { "omit_video_pes_length", "Omit the PES packet length for video packets",
offsetof(MpegTSWrite, omit_video_pes_length), AV_OPT_TYPE_BOOL, offsetof(MpegTSWrite, omit_video_pes_length), AV_OPT_TYPE_BOOL,
{ .i64 = 1 }, 0, 1, AV_OPT_FLAG_ENCODING_PARAM }, { .i64 = 1 }, 0, 1, AV_OPT_FLAG_ENCODING_PARAM },
{ "pcr_period", "PCR retransmission time", { "pcr_period", "PCR retransmission time in milliseconds",
offsetof(MpegTSWrite, pcr_period), AV_OPT_TYPE_INT, offsetof(MpegTSWrite, pcr_period), AV_OPT_TYPE_INT,
{ .i64 = PCR_RETRANS_TIME }, 0, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM }, { .i64 = PCR_RETRANS_TIME }, 0, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM },
{ "pat_period", "PAT/PMT retransmission time limit in seconds", { "pat_period", "PAT/PMT retransmission time limit in seconds",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment