[FFmpeg-cvslog] avfilter/vf_showinfo: minor adjustment for the dump format of ROI
Limin Wang
git at videolan.org
Fri Oct 8 05:24:40 EEST 2021
ffmpeg | branch: master | Limin Wang <lance.lmwang at gmail.com> | Wed Sep 29 18:13:04 2021 +0800| [254652a34c5ca2b24215cf6652067764408a1b5c] | committer: Limin Wang
avfilter/vf_showinfo: minor adjustment for the dump format of ROI
Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=254652a34c5ca2b24215cf6652067764408a1b5c
---
libavfilter/vf_showinfo.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c
index 87c2bed73d..c8c7b986b5 100644
--- a/libavfilter/vf_showinfo.c
+++ b/libavfilter/vf_showinfo.c
@@ -147,10 +147,10 @@ static void dump_roi(AVFilterContext *ctx, const AVFrameSideData *sd)
}
nb_rois = sd->size / roi_size;
- av_log(ctx, AV_LOG_INFO, "Regions Of Interest(RoI) information: ");
+ av_log(ctx, AV_LOG_INFO, "Regions Of Interest(ROI) information:\n");
for (int i = 0; i < nb_rois; i++) {
roi = (const AVRegionOfInterest *)(sd->data + roi_size * i);
- av_log(ctx, AV_LOG_INFO, "index: %d, region: (%d, %d)/(%d, %d), qp offset: %d/%d.\n",
+ av_log(ctx, AV_LOG_INFO, "index: %d, region: (%d, %d) -> (%d, %d), qp offset: %d/%d.\n",
i, roi->left, roi->top, roi->right, roi->bottom, roi->qoffset.num, roi->qoffset.den);
}
}
More information about the ffmpeg-cvslog
mailing list