[FFmpeg-cvslog] r25507 - trunk/ffprobe.c

stefano subversion
Sat Oct 16 16:33:05 CEST 2010


Author: stefano
Date: Sat Oct 16 16:33:05 2010
New Revision: 25507

Log:
Make ffprobe print stream language only once, also remove usage of the
deprecated field AVStream.language.

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

Modified:
   trunk/ffprobe.c

Modified: trunk/ffprobe.c
==============================================================================
--- trunk/ffprobe.c	Sat Oct 16 15:55:29 2010	(r25506)
+++ trunk/ffprobe.c	Sat Oct 16 16:33:05 2010	(r25507)
@@ -219,8 +219,6 @@ static void show_stream(AVFormatContext 
     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,



More information about the ffmpeg-cvslog mailing list