diff options
author | Keith Plant | 2023-11-23 19:26:17 -0500 |
---|---|---|
committer | Keith Plant | 2023-11-23 19:26:17 -0500 |
commit | f45200bf7ed2ff2020fc489d6d52781fc288d2c0 (patch) | |
tree | 2536dc2b54d42cbbcd1a893ce93719b1511da7bc /dmabuf-capture-example.patch | |
parent | 5eaddb27cbb236675177f8f4f1ecf2a5271a950a (diff) | |
download | aur-f45200bf7ed2ff2020fc489d6d52781fc288d2c0.tar.gz |
bump to match wlroots 0.17.0
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); - |