From 39b0de9eb56bbb067f72b3250e4282caa85ada17 Mon Sep 17 00:00:00 2001
From: Mark Shwartzman <markshw@fb.com>
Date: Tue, 30 May 2023 15:29:14 -0700
Subject: [PATCH] add pts logging for encode frame
---
libavcodec/encode.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/encode.c b/libavcodec/encode.c
index 041fc7670e..2df3b9f713 100644
|
a
|
b
|
int attribute_align_arg avcodec_send_frame(AVCodecContext *avctx, const AVFrame
|
| 497 | 497 | if (!frame) { |
| 498 | 498 | avci->draining = 1; |
| 499 | 499 | } else { |
| | 500 | av_log(avctx, AV_LOG_INFO, "DBG: avcodec_send_frame pts=%lld\n", frame->pts); |
| 500 | 501 | ret = encode_send_frame_internal(avctx, frame); |
| 501 | 502 | if (ret < 0) |
| 502 | 503 | return ret; |