File tree Expand file tree Collapse file tree
Sources/AetherEngine/Video Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -729,8 +729,15 @@ final class H264CompositionOffsetRepairSession {
729729 )
730730 switch verdict {
731731 case . repair( let plan) :
732+ // The cadence and its phase belong in the line: on a fractional ladder they are the
733+ // reading the verdict rests on, and a repair that reports only a rounded step cannot be
734+ // told apart from one that measured the ladder wrong.
735+ let cadenceDescription = plan. cadence. map {
736+ " cadence= \( $0. numerator) / \( $0. denominator) phase= \( plan. ladderPhase) "
737+ + " ladderAhead= \( plan. ladderOrdinalOffset) "
738+ } ?? " "
732739 verdictDescription = " repair step= \( plan. step) lead= \( plan. decodeLead) "
733- + " shift= \( plan. shift) pocStep= \( plan. pocStep) "
740+ + " shift= \( plan. shift) pocStep= \( plan. pocStep) " + cadenceDescription
734741 phase = . repairing
735742 var rewriter = H264CompositionOffsetRepair . Rewriter ( plan: plan)
736743 for entry in held where entry. packet. pointee. stream_index == streamIndex {
You can’t perform that action at this time.
0 commit comments