Clear gop_size from opts

This commit is contained in:
Isaac Connor
2025-09-22 14:44:50 -04:00
parent 9047c97f3d
commit 1de10aee26

View File

@@ -323,6 +323,7 @@ bool VideoStore::open() {
const AVDictionaryEntry *opts_gop_size = av_dict_get(opts, "gop_size", nullptr, AV_DICT_MATCH_CASE);
if (opts_gop_size) {
video_out_ctx->gop_size = std::stoul(opts_gop_size->value);
av_dict_set(&opts, "gop_size", nullptr, AV_DICT_MATCH_CASE);
}
// Don't have an input stream, so need to tell it what we are sending it, or are transcoding