diff mbox

[FFmpeg-devel,1/4] doc/formats: add reference to ffmpeg(1) stream specifiers as that docs is more complete

Message ID 20190217195540.9295-1-cus@passwd.hu
State Accepted
Commit a899b3b3c5f55e6c527f8aa81dbe15edb9fab63f
Headers show

Commit Message

Marton Balint Feb. 17, 2019, 7:55 p.m. UTC
Signed-off-by: Marton Balint <cus@passwd.hu>
---
 doc/formats.texi | 24 ++----------------------
 1 file changed, 2 insertions(+), 22 deletions(-)

Comments

Lou Logan Feb. 19, 2019, 12:33 a.m. UTC | #1
On Sun, Feb 17, 2019, at 10:58 AM, Marton Balint wrote:
> Signed-off-by: Marton Balint <cus@passwd.hu>
> ---
>  doc/formats.texi | 24 ++----------------------

LGTM
Marton Balint Feb. 21, 2019, 8:59 p.m. UTC | #2
On Mon, 18 Feb 2019, Lou Logan wrote:

> On Sun, Feb 17, 2019, at 10:58 AM, Marton Balint wrote:
>> Signed-off-by: Marton Balint <cus@passwd.hu>
>> ---
>>  doc/formats.texi | 24 ++----------------------
>
> LGTM

Applied, thanks.

Marton
diff mbox

Patch

diff --git a/doc/formats.texi b/doc/formats.texi
index 52a5ff8371..a992506ac1 100644
--- a/doc/formats.texi
+++ b/doc/formats.texi
@@ -234,30 +234,10 @@  At present, applicable for MPEG-PS and MPEG-TS.
 Format stream specifiers allow selection of one or more streams that
 match specific properties.
 
-Possible forms of stream specifiers are:
-@table @option
-@item @var{stream_index}
-Matches the stream with this index.
-
-@item @var{stream_type}[:@var{stream_index}]
-@var{stream_type} is one of following: 'v' for video, 'a' for audio,
-'s' for subtitle, 'd' for data, and 't' for attachments. If
-@var{stream_index} is given, then it matches the stream number
-@var{stream_index} of this type. Otherwise, it matches all streams of
-this type.
-
-@item p:@var{program_id}[:@var{stream_index}]
-If @var{stream_index} is given, then it matches the stream with number
-@var{stream_index} in the program with the id
-@var{program_id}. Otherwise, it matches all streams in the program.
-
-@item #@var{stream_id}
-Matches the stream by a format-specific ID.
-@end table
-
 The exact semantics of stream specifiers is defined by the
 @code{avformat_match_stream_specifier()} function declared in the
-@file{libavformat/avformat.h} header.
+@file{libavformat/avformat.h} header and documented in the
+@ref{Stream specifiers,,Stream specifiers section in the ffmpeg(1) manual,ffmpeg}.
 
 @ifclear config-writeonly
 @include demuxers.texi