diff --git a/doc/ffprobe.xsd b/doc/ffprobe.xsd index 7f12a364d8b4c9164cb3fad13dea19318b2688c4..3a4a8cce2bcefccd841b4a35bb31b86812eda580 100644 --- a/doc/ffprobe.xsd +++ b/doc/ffprobe.xsd @@ -39,6 +39,8 @@ <xsd:attribute name="dts_time" type="xsd:float" /> <xsd:attribute name="duration" type="xsd:long" /> <xsd:attribute name="duration_time" type="xsd:float" /> + <xsd:attribute name="convergence_duration" type="xsd:long" /> + <xsd:attribute name="convergence_duration_time" type="xsd:float" /> <xsd:attribute name="size" type="xsd:long" use="required" /> <xsd:attribute name="pos" type="xsd:long" /> <xsd:attribute name="flags" type="xsd:string" use="required" /> diff --git a/ffprobe.c b/ffprobe.c index 0e34f6bcb53728e67581d3364b4591c9ab70acc3..f65e4602df8d2d8b4270c83c134bffb4258ca83f 100644 --- a/ffprobe.c +++ b/ffprobe.c @@ -1581,6 +1581,8 @@ static void show_packet(WriterContext *w, AVFormatContext *fmt_ctx, AVPacket *pk print_time("dts_time", pkt->dts, &st->time_base); print_duration_ts("duration", pkt->duration); print_duration_time("duration_time", pkt->duration, &st->time_base); + print_duration_ts("convergence_duration", pkt->convergence_duration); + print_duration_time("convergence_duration_time", pkt->convergence_duration, &st->time_base); print_val("size", pkt->size, unit_byte_str); if (pkt->pos != -1) print_fmt ("pos", "%"PRId64, pkt->pos); else print_str_opt("pos", "N/A");