diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-03-11 01:20:18 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-03-12 00:32:38 +0100 |
commit | 774668763a4c1acccb605e8926759207c0c8ccef (patch) | |
tree | ed3b11751e2b5b2839793ea4ae6ea207f07caee3 /ffplay.c | |
parent | 50a3c823023bbbcdb64375cb64cfbb67c98698a9 (diff) | |
download | ffmpeg-774668763a4c1acccb605e8926759207c0c8ccef.tar.gz |
ffplay: display information on stream cycling
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -3120,6 +3120,11 @@ static void stream_cycle_channel(VideoState *is, int codec_type) the_end: if (p && stream_index != -1) stream_index = p->stream_index[stream_index]; + av_log(NULL, AV_LOG_INFO, "Switch %s stream from #%d to #%d\n", + av_get_media_type_string(codec_type), + old_index, + stream_index); + stream_component_close(is, old_index); stream_component_open(is, stream_index); } |