[FFmpeg-cvslog] lavf/mpegtsenc: clarify pcr_period unit of measurement

Lou Logan git at videolan.org
Thu Mar 16 21:37:01 EET 2017


ffmpeg | branch: master | Lou Logan <lou at lrcd.com> | Wed Mar 15 18:45:12 2017 -0800| [e7282674a505d548746a4734cbe902a9f242eb6b] | committer: Lou Logan

lavf/mpegtsenc: clarify pcr_period unit of measurement

pcr_period is in milliseconds.

Signed-off-by: Lou Logan <lou at lrcd.com>

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

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

diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
index 0f394c5..3250dde 100644
--- a/libavformat/mpegtsenc.c
+++ b/libavformat/mpegtsenc.c
@@ -1945,7 +1945,7 @@ static const AVOption options[] = {
     { "omit_video_pes_length", "Omit the PES packet length for video packets",
       offsetof(MpegTSWrite, omit_video_pes_length), AV_OPT_TYPE_BOOL,
       { .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,
       { .i64 = PCR_RETRANS_TIME }, 0, INT_MAX, AV_OPT_FLAG_ENCODING_PARAM },
     { "pat_period", "PAT/PMT retransmission time limit in seconds",



More information about the ffmpeg-cvslog mailing list