Patch by Robert Krüger $(echo kru3g3r@signal7.d3 | sed -e 's/3/e/g').
Originally committed as revision 22964 to svn://svn.ffmpeg.org/ffmpeg/trunk
... | ... |
@@ -190,6 +190,8 @@ static void show_stream(AVFormatContext *fmt_ctx, int stream_idx) |
190 | 190 |
&stream->time_base)); |
191 | 191 |
printf("duration=%s\n", time_value_string(val_str, sizeof(val_str), stream->duration, |
192 | 192 |
&stream->time_base)); |
193 |
+ if (stream->nb_frames) |
|
194 |
+ printf("nb_frames=%"PRId64"\n", stream->nb_frames); |
|
193 | 195 |
|
194 | 196 |
while ((tag = av_metadata_get(stream->metadata, "", tag, AV_METADATA_IGNORE_SUFFIX))) |
195 | 197 |
printf("TAG:%s=%s\n", tag->key, tag->value); |