summaryrefslogtreecommitdiff
path: root/encode.h
diff options
context:
space:
mode:
authorMikhail Burakov <mburakov@mailbox.org>2023-03-16 06:26:03 +0100
committerMikhail Burakov <mburakov@mailbox.org>2023-03-16 06:26:03 +0100
commitd261527c84f0e43022c31a65a0179d464dd694f7 (patch)
tree2cd0ce4dc3cd6944a9a7bee6a01f24e011b5bc89 /encode.h
parent192e8d3a83eb7c4db4a089a2f63e9818a12e2c10 (diff)
Write encoded frames to provided fd
Diffstat (limited to 'encode.h')
-rw-r--r--encode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/encode.h b/encode.h
index 1d44024..f68b2e2 100644
--- a/encode.h
+++ b/encode.h
@@ -29,7 +29,7 @@ struct EncodeContext* EncodeContextCreate(struct GpuContext* gpu_context,
uint32_t width, uint32_t height);
const struct GpuFrame* EncodeContextGetFrame(
struct EncodeContext* encode_context);
-bool EncodeContextEncodeFrame(struct EncodeContext* encode_context);
+bool EncodeContextEncodeFrame(struct EncodeContext* encode_context, int fd);
void EncodeContextDestroy(struct EncodeContext** encode_context);
#endif // STREAMER_ENCODE_H_