From edf7ac6016dce1e86ca75e6219ec38174a31ed43 Mon Sep 17 00:00:00 2001 From: Bernard Aboba Date: Tue, 2 Jul 2024 16:03:12 -0700 Subject: [PATCH 1/2] VideoFrame.timestamp and EncodedVideoChunk.timestamp Fix for https://github.com/w3c/webcodecs/issues/809 --- index.src.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.src.html b/index.src.html index 548f3a19..31446efc 100644 --- a/index.src.html +++ b/index.src.html @@ -3693,8 +3693,10 @@ {{VideoFrame/[[display height]]}}. : timestamp -:: The presentation timestamp, given in microseconds. The timestamp is copied - from the {{EncodedVideoChunk}} corresponding to this VideoFrame. +:: The presentation timestamp, given in microseconds. For decode, + timestamp is copied from the {{EncodedVideoChunk}} corresponding + to this VideoFrame. For encode, timestamp is copied to the + {{EncodedVideoChunk}}s corresponding to this VideoFrame. The {{VideoFrame/timestamp}} getter steps are to return {{VideoFrame/[[timestamp]]}}. From c3de570822f675399bf54c014b643ec890e99d08 Mon Sep 17 00:00:00 2001 From: Bernard Aboba Date: Wed, 3 Jul 2024 06:12:36 -0700 Subject: [PATCH 2/2] Update index.src.html --- index.src.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.src.html b/index.src.html index 31446efc..8214a7ec 100644 --- a/index.src.html +++ b/index.src.html @@ -3695,8 +3695,8 @@ : timestamp :: The presentation timestamp, given in microseconds. For decode, timestamp is copied from the {{EncodedVideoChunk}} corresponding - to this VideoFrame. For encode, timestamp is copied to the - {{EncodedVideoChunk}}s corresponding to this VideoFrame. + to this {{VideoFrame}}. For encode, timestamp is copied to the + {{EncodedVideoChunk}}s corresponding to this {{VideoFrame}}. The {{VideoFrame/timestamp}} getter steps are to return {{VideoFrame/[[timestamp]]}}.