Make ffprobe print stream language only once, also remove usage of the
authorAnton Khirnov <wyskas@gmail.com>
Sat, 16 Oct 2010 14:33:05 +0000 (14:33 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 16 Oct 2010 14:33:05 +0000 (14:33 +0000)
deprecated field AVStream.language.

Patch by Anton Khirnov %name%@%surname% dot net.

Originally committed as revision 25507 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffprobe.c

index 9625a52..2c99e5a 100644 (file)
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -219,8 +219,6 @@ static void show_stream(AVFormatContext *fmt_ctx, int stream_idx)
     printf("r_frame_rate=%d/%d\n",         stream->r_frame_rate.num,   stream->r_frame_rate.den);
     printf("avg_frame_rate=%d/%d\n",       stream->avg_frame_rate.num, stream->avg_frame_rate.den);
     printf("time_base=%d/%d\n",            stream->time_base.num,      stream->time_base.den);
-    if (stream->language[0])
-        printf("language=%s\n",            stream->language);
     printf("start_time=%s\n",   time_value_string(val_str, sizeof(val_str), stream->start_time,
                                                   &stream->time_base));
     printf("duration=%s\n",     time_value_string(val_str, sizeof(val_str), stream->duration,