mirror of
https://github.com/k4yt3x/video2x.git
synced 2026-02-14 00:54:47 +08:00
feat(encoder): add support for more encoder options
Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
@@ -293,8 +293,8 @@ extern "C" int process_video(
|
||||
spdlog::debug("Output video dimensions: {}x{}", output_width, output_height);
|
||||
|
||||
// Update encoder configuration with output dimensions
|
||||
encoder_config->out_width = output_width;
|
||||
encoder_config->out_height = output_height;
|
||||
encoder_config->width = output_width;
|
||||
encoder_config->height = output_height;
|
||||
|
||||
// Initialize the encoder
|
||||
Encoder encoder;
|
||||
|
||||
Reference in New Issue
Block a user