OSDN Git Service

avplay: add examples of how to specify size/pixel format through private options
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 21 Aug 2011 14:20:37 +0000 (16:20 +0200)
committerAnton Khirnov <anton@khirnov.net>
Mon, 22 Aug 2011 05:16:28 +0000 (07:16 +0200)
Clarify with an example what the user should use instead of the
deprecated (and no longer working) -s/-pix_fmt options.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
doc/avplay.texi

index d7fecf0..e292481 100644 (file)
@@ -39,7 +39,8 @@ Force displayed width.
 Force displayed height.
 @item -s @var{size}
 This option has been removed. Use private format options for specifying the
-input video size.
+input video size.  For example with the rawvideo demuxer you need to specify the
+option @var{video_size}.
 @item -an
 Disable audio.
 @item -vn
@@ -70,7 +71,8 @@ also sources and sinks).
 @table @option
 @item -pix_fmt @var{format}
 This option has been removed. Use private options for specifying the
-input pixel format.
+input pixel format. For example with the rawvideo demuxer you need to specify
+the option @var{pixel_format}.
 @item -stats
 Show the stream duration, the codec parameters, the current position in
 the stream and the audio/video synchronisation drift.