(One-line) Patch attached
>From 144766b469a497e9abfff57f43052361620fdd43 Mon Sep 17 00:00:00 2001 From: Lynne <d...@lynne.ee> Date: Mon, 2 Aug 2021 14:33:07 +0200 Subject: [PATCH 1/2] ffprobe: print packet timebase
--- fftools/ffprobe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index f411ba35b5..2f1d3f58d4 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -2174,6 +2174,7 @@ static void show_packet(WriterContext *w, InputFile *ifile, AVPacket *pkt, int p print_time("pts_time", pkt->pts, &st->time_base); print_ts ("dts", pkt->dts); print_time("dts_time", pkt->dts, &st->time_base); + if (pkt->time_base.num && pkt->time_base.den) print_q("time_base", pkt->time_base, '/'); print_duration_ts("duration", pkt->duration); print_duration_time("duration_time", pkt->duration, &st->time_base); print_val("size", pkt->size, unit_byte_str); -- 2.32.0.272.g935e593368
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".