Unified · Split
| @@ -110,6 +110,7 @@ · 109 unmodified lines | ||
| 110 | 110 | <xsd:attribute name="time_base" type="xsd:string" use="required"/> |
| 111 | 111 | <xsd:attribute name="start_time" type="xsd:float"/> |
| 112 | 112 | <xsd:attribute name="duration" type="xsd:float"/> |
| 113 | + <xsd:attribute name="bit_rate" type="xsd:int"/> | |
| 113 | 114 | <xsd:attribute name="nb_frames" type="xsd:int"/> |
| 114 | 115 | <xsd:attribute name="nb_read_frames" type="xsd:int"/> |
| 115 | 116 | <xsd:attribute name="nb_read_packets" type="xsd:int"/> |
| @@ -1509,6 +1509,8 @@ static void show_stream(WriterContext *w, AVFormatContext *fmt_ctx, int stream_i · 1508 unmodified lines | ||
| 1509 | 1509 | print_fmt("time_base", "%d/%d", stream->time_base.num, stream->time_base.den); |
| 1510 | 1510 | print_time("start_time", stream->start_time, &stream->time_base); |
| 1511 | 1511 | print_time("duration", stream->duration, &stream->time_base); |
| 1512 | + if (dec_ctx->bit_rate > 0) print_val ("bit_rate", dec_ctx->bit_rate, unit_bit_per_second_str); | |
| 1513 | + else print_str_opt("bit_rate", "N/A"); | |
| 1512 | 1514 | if (stream->nb_frames) print_fmt ("nb_frames", "%"PRId64, stream->nb_frames); |
| 1513 | 1515 | else print_str_opt("nb_frames", "N/A"); |
| 1514 | 1516 | if (nb_streams_frames[stream_idx]) print_fmt ("nb_read_frames", "%"PRIu64, nb_streams_frames[stream_idx]); |