aboutsummaryrefslogtreecommitdiff
path: root/src/encoder/video/video.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-29 22:22:46 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-29 22:22:46 +0200
commitdfe2b176487ee7937aec7ef3b9134ff7fa97dfa1 (patch)
tree6b885bb37d8088c3c35d870a2897bff086cf2860 /src/encoder/video/video.c
parent1b356677ea281a10f89eb21365d7182ae6019360 (diff)
Prepare for video codec query, cleanup readme, add libva-drm as dependency
Diffstat (limited to 'src/encoder/video/video.c')
-rw-r--r--src/encoder/video/video.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/encoder/video/video.c b/src/encoder/video/video.c
index 9b0def0..daaf537 100644
--- a/src/encoder/video/video.c
+++ b/src/encoder/video/video.c
@@ -1,6 +1,10 @@
#include "../../../include/encoder/video/video.h"
#include <assert.h>
+gsr_supported_video_codecs gsr_video_encoder_get_supported_codecs(gsr_video_encoder *encoder, bool cleanup) {
+ return encoder->get_supported_codecs(encoder, cleanup);
+}
+
bool gsr_video_encoder_start(gsr_video_encoder *encoder, AVCodecContext *video_codec_context, AVFrame *frame) {
assert(!encoder->started);
bool res = encoder->start(encoder, video_codec_context, frame);