diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-09-26 16:08:26 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-09-26 16:08:26 +0200 |
commit | 1aaa26d87e539c1f3cef2052f6f47960f7d2c303 (patch) | |
tree | 1b5402270dbd8097f87e14543a41bdd7ccae9ef7 /src/encoder/video/software.c | |
parent | 0b20a46e58d376d00b292b15826a6b0fb17fc00a (diff) |
Move codec query from encoder to separate file
Diffstat (limited to 'src/encoder/video/software.c')
-rw-r--r-- | src/encoder/video/software.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/encoder/video/software.c b/src/encoder/video/software.c index fe23156..cedcc1b 100644 --- a/src/encoder/video/software.c +++ b/src/encoder/video/software.c @@ -58,22 +58,6 @@ static bool gsr_video_encoder_software_setup_textures(gsr_video_encoder_software return true; } -static gsr_supported_video_codecs gsr_video_encoder_software_get_supported_codecs(gsr_video_encoder *encoder, bool cleanup) { - (void)encoder; - (void)cleanup; - return (gsr_supported_video_codecs) { - .h264 = true, - .hevc = false, - .hevc_hdr = false, - .hevc_10bit = false, - .av1 = false, - .av1_hdr = false, - .av1_10bit = false, - .vp8 = false, - .vp9 = false - }; -} - static void gsr_video_encoder_software_stop(gsr_video_encoder_software *self, AVCodecContext *video_codec_context); static bool gsr_video_encoder_software_start(gsr_video_encoder *encoder, AVCodecContext *video_codec_context, AVFrame *frame) { @@ -145,7 +129,6 @@ gsr_video_encoder* gsr_video_encoder_software_create(const gsr_video_encoder_sof encoder_software->params = *params; *encoder = (gsr_video_encoder) { - .get_supported_codecs = gsr_video_encoder_software_get_supported_codecs, .start = gsr_video_encoder_software_start, .copy_textures_to_frame = gsr_video_encoder_software_copy_textures_to_frame, .get_textures = gsr_video_encoder_software_get_textures, |