[FFmpeg-cvslog] fftools/ffplay: stop printing non-public AVCodecContext fields

Anton Khirnov git at videolan.org
Mon Mar 4 17:04:27 EET 2024


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Fri Mar  1 19:40:59 2024 +0100| [e2e2ee7711c6cf65302c2c420e60622da4e514e7] | committer: Anton Khirnov

fftools/ffplay: stop printing non-public AVCodecContext fields

They are documented as not intended for caller use.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e2e2ee7711c6cf65302c2c420e60622da4e514e7
---

 fftools/ffplay.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/fftools/ffplay.c b/fftools/ffplay.c
index 5b54fab492..09b4846deb 100644
--- a/fftools/ffplay.c
+++ b/fftools/ffplay.c
@@ -1731,16 +1731,14 @@ display:
 
             av_bprint_init(&buf, 0, AV_BPRINT_SIZE_AUTOMATIC);
             av_bprintf(&buf,
-                      "%7.2f %s:%7.3f fd=%4d aq=%5dKB vq=%5dKB sq=%5dB f=%"PRId64"/%"PRId64"   \r",
+                      "%7.2f %s:%7.3f fd=%4d aq=%5dKB vq=%5dKB sq=%5dB \r",
                       get_master_clock(is),
                       (is->audio_st && is->video_st) ? "A-V" : (is->video_st ? "M-V" : (is->audio_st ? "M-A" : "   ")),
                       av_diff,
                       is->frame_drops_early + is->frame_drops_late,
                       aqsize / 1024,
                       vqsize / 1024,
-                      sqsize,
-                      is->video_st ? is->viddec.avctx->pts_correction_num_faulty_dts : 0,
-                      is->video_st ? is->viddec.avctx->pts_correction_num_faulty_pts : 0);
+                      sqsize);
 
             if (show_status == 1 && AV_LOG_INFO > av_log_get_level())
                 fprintf(stderr, "%s", buf.str);



More information about the ffmpeg-cvslog mailing list