summaryrefslogtreecommitdiff
path: root/encode.h
diff options
context:
space:
mode:
authorMikhail Burakov <mburakov@mailbox.org>2023-10-14 15:31:14 +0200
committerMikhail Burakov <mburakov@mailbox.org>2023-10-14 15:31:14 +0200
commit0e3c61abed24e2fec2148b22fe204e28074f1e90 (patch)
tree8c750d88499d21257fd93ffde557640482439417 /encode.h
parent96840adcdc592d82a55f62c947786f0117fbcd67 (diff)
Track video frame encoding latencyv4
Diffstat (limited to 'encode.h')
-rw-r--r--encode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/encode.h b/encode.h
index fe76012..1612fc2 100644
--- a/encode.h
+++ b/encode.h
@@ -33,7 +33,8 @@ struct EncodeContext* EncodeContextCreate(struct GpuContext* gpu_context,
enum YuvRange range);
const struct GpuFrame* EncodeContextGetFrame(
struct EncodeContext* encode_context);
-bool EncodeContextEncodeFrame(struct EncodeContext* encode_context, int fd);
+bool EncodeContextEncodeFrame(struct EncodeContext* encode_context, int fd,
+ unsigned long long timestamp);
void EncodeContextDestroy(struct EncodeContext* encode_context);
#endif // STREAMER_ENCODE_H_