diff options
Diffstat (limited to 'dmabuf-capture-example.patch')
-rw-r--r-- | dmabuf-capture-example.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/dmabuf-capture-example.patch b/dmabuf-capture-example.patch deleted file mode 100644 index ddde38523aed..000000000000 --- a/dmabuf-capture-example.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- examples/dmabuf-capture.c 2023-02-10 17:29:59.000000000 -0500 -+++ examples/dmabuf-capture.c 2023-03-26 11:58:01.738090539 -0400 -@@ -520,8 +520,15 @@ - } - }; - -- av_log(ctx, AV_LOG_INFO, "Encoded frame %i (%i in queue)\n", -- ctx->avctx->frame_number, get_fifo_size(&ctx->vid_frames)); -+ int64_t frame_num; -+ -+#if LIBAVUTIL_VERSION_MAJOR >= 58 -+ frame_num = ctx->avctx->frame_num; -+#else -+ frame_num = ctx->avctx->frame_number; -+#endif -+ av_log(ctx, AV_LOG_INFO, "Encoded frame %"PRIi64" (%i in queue)\n", -+ frame_num, get_fifo_size(&ctx->vid_frames)); - - } while (!ctx->err); - |