Apply the same logic used for subtitle stream selection to audio and video
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 1 Mar 2009 17:06:01 +0000 (17:06 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 1 Mar 2009 17:06:01 +0000 (17:06 +0000)
commit5dbb63feefb9070d6fbb5fc16406813f14aa7f9b
tree38a51ff62fd967f022f7024b4b7b6d0d6483cbbe
parent5ad4f0d473f41360065bdf272d245c8c6575d12a
Apply the same logic used for subtitle stream selection to audio and video
stream selection.

Make the counting starts from 0, and disable the corresponding playbck
when the selected stream number is negative.

See the thread:
" [FFmpeg-devel] [PATCH] Add documentation for -ast, -vst, -sst".

Originally committed as revision 17693 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffplay.c