tavenc: proper sync packet after i-frames

This commit is contained in:
minjaesong
2025-12-09 04:44:40 +09:00
parent 621c312922
commit 5d99191b5e
3 changed files with 22 additions and 9 deletions

View File

@@ -704,7 +704,7 @@ int tav_encoder_encode_frame(tav_encoder_context_t *ctx,
// Encode GOP
int result;
if (ctx->enable_temporal_dwt && ctx->gop_size > 1) {
if (ctx->enable_temporal_dwt) {
result = encode_gop_unified(ctx, &slot);
} else {
result = encode_gop_intra_only(ctx, &slot);