]> git.sesse.net Git - ffmpeg/blobdiff - ffplay.c
Merge commit '6cd76e5412d794dbd1cc6ab0e4c9f2ee53cf028f'
[ffmpeg] / ffplay.c
index ed7f180ebbbe011a5af2380c799304bc424d9bd3..c86f94ff471feff9977b76b7cba4bb5492ca6b46 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -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);
 }