From fda6694ef22ed325d572faa053ac31784e551a75 Mon Sep 17 00:00:00 2001 From: Xin Zhao Date: Wed, 26 Aug 2026 17:33:24 -0700 Subject: [PATCH] Mark temporal point info metadata as suffix metadata Temporal point info is written after the coded frame OBU but was marked as prefix metadata (is_suffix == 0). The decoder treats a prefix metadata OBU that follows a coded frame as the start of the next frame unit, so --timing-info=model produced a stream that failed to decode with "Unspecified internal error" on a nonexistent trailing frame. --- av2/encoder/bitstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/av2/encoder/bitstream.c b/av2/encoder/bitstream.c index 72b8d453de..7853cd90dd 100644 --- a/av2/encoder/bitstream.c +++ b/av2/encoder/bitstream.c @@ -6667,7 +6667,7 @@ static size_t write_temporal_point_info_metadata(AV2_COMP *const cpi, } // Set up metadata fields for individual OBU_METADATA - metadata->is_suffix = 0; + metadata->is_suffix = 1; metadata->cancel_flag = 0; metadata->persistence_idc = AVM_NO_PERSISTENCE; metadata->layer_idc = AVM_LAYER_CURRENT;