From 1de10aee261e95aaa2c3f067cda12dcefe3d771c Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 22 Sep 2025 14:44:50 -0400 Subject: [PATCH] Clear gop_size from opts --- src/zm_videostore.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/zm_videostore.cpp b/src/zm_videostore.cpp index 14f8702e2..2a40e7aed 100644 --- a/src/zm_videostore.cpp +++ b/src/zm_videostore.cpp @@ -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