summaryrefslogtreecommitdiff
path: root/encode_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'encode_context.h')
-rw-r--r--encode_context.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/encode_context.h b/encode_context.h
index 88d4d30..b2724b3 100644
--- a/encode_context.h
+++ b/encode_context.h
@@ -24,6 +24,7 @@
struct EncodeContext;
struct IoContext;
+struct wl_display;
struct EncodeContextFrame {
void* user_data;
@@ -35,7 +36,8 @@ struct EncodeContextFrame {
};
struct EncodeContext* EncodeContextCreate(struct IoContext* io_context,
- uint32_t width, uint32_t height);
+ uint32_t width, uint32_t height,
+ struct wl_display* display);
struct EncodeContextFrame* EncodeContextDequeue(
struct EncodeContext* encode_context);
bool EncodeContextQueue(struct EncodeContext* encode_context,