diff options
author | emersion <contact@emersion.fr> | 2018-06-17 14:19:45 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-06-17 14:19:45 +0100 |
commit | bd0c1b794992bf94560bd429f4057c9d09989f06 (patch) | |
tree | 36741a4ac8d42926d4ef470d2730f09210deff59 /examples | |
parent | 9eddcbc376ff92a3a03002b910c31bf96bdba2da (diff) |
export-dmabuf: update protocol
Diffstat (limited to 'examples')
-rw-r--r-- | examples/dmabuf-capture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dmabuf-capture.c b/examples/dmabuf-capture.c index 2f7db2f1..1aeaf9c5 100644 --- a/examples/dmabuf-capture.c +++ b/examples/dmabuf-capture.c @@ -415,7 +415,7 @@ static void frame_cancel(void *data, struct zwlr_export_dmabuf_frame_v1 *frame, struct capture_context *ctx = data; av_log(ctx, AV_LOG_WARNING, "Frame cancelled!\n"); av_frame_free(&ctx->current_frame); - if (reason == ZWLR_EXPORT_DMABUF_FRAME_V1_CANCEL_REASON_PERNAMENT) { + if (reason == ZWLR_EXPORT_DMABUF_FRAME_V1_CANCEL_REASON_PERMANENT) { av_log(ctx, AV_LOG_ERROR, "Permanent failure, exiting\n"); ctx->err = 1; } else { |