From 2b12317a90fb45ea0f8db8d50c55238ab286c625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Thu, 9 Apr 2009 21:52:12 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20documentation=20for=20the=20"-ps"=20optio?= =?UTF-8?q?n=20Patch=20by=20Martin=20Storsj=C3=B6=20(martin=20AT=20martin?= =?UTF-8?q?=20DOT=20st)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 18403 to svn://svn.ffmpeg.org/ffmpeg/trunk --- doc/ffmpeg-doc.texi | 2 +- libavcodec/options.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ffmpeg-doc.texi b/doc/ffmpeg-doc.texi index 968fee3998..b68b130bc2 100644 --- a/doc/ffmpeg-doc.texi +++ b/doc/ffmpeg-doc.texi @@ -772,7 +772,7 @@ When dumping packets, also dump the payload. @item -bitexact Only use bit exact algorithms (for codec testing). @item -ps @var{size} -Set packet size in bits. +Set RTP payload size in bytes. @item -re Read input at native frame rate. Mainly used to simulate a grab device. @item -loop_input diff --git a/libavcodec/options.c b/libavcodec/options.c index 3a941a0b7b..5eca3ae401 100644 --- a/libavcodec/options.c +++ b/libavcodec/options.c @@ -123,7 +123,7 @@ static const AVOption options[]={ {"rc_strategy", "ratecontrol method", OFFSET(rc_strategy), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, V|E}, {"b_strategy", "strategy to choose between I/P/B-frames", OFFSET(b_frame_strategy), FF_OPT_TYPE_INT, 0, INT_MIN, INT_MAX, V|E}, {"hurry_up", NULL, OFFSET(hurry_up), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, V|D}, -{"ps", "rtp payload size in bits", OFFSET(rtp_payload_size), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, V|E}, +{"ps", "rtp payload size in bytes", OFFSET(rtp_payload_size), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, V|E}, {"mv_bits", NULL, OFFSET(mv_bits), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX}, {"header_bits", NULL, OFFSET(header_bits), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX}, {"i_tex_bits", NULL, OFFSET(i_tex_bits), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX},