WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
232712
[MSE][GStreamer] Use full nanosecond precision timestamps
https://bugs.webkit.org/show_bug.cgi?id=232712
Summary
[MSE][GStreamer] Use full nanosecond precision timestamps
Alicia Boya García
Reported
2021-11-04 08:00:07 PDT
This patch modifies MediaSampleGStreamer to use full nanosecond precision instead of microsecond precision. This fixes media/media-source/media-mp4-h264-sequence-mode.html
Attachments
Patch
(3.17 KB, patch)
2021-11-04 08:12 PDT
,
Alicia Boya García
calvaris
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Alicia Boya García
Comment 1
2021-11-04 08:12:57 PDT
Created
attachment 443304
[details]
Patch
Alicia Boya García
Comment 2
2021-11-12 07:10:07 PST
Comment on
attachment 443304
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=443304&action=review
> Source/WebCore/ChangeLog:11 > + This fixes media/media-source/media-mp4-h264-sequence-mode.html
The fix may be accidental, since removing h264 parse from the pipeline broke the test again. In both cases the failure is from a minute discrepancy in timestamps.
Philippe Normand
Comment 3
2022-04-29 03:49:29 PDT
What's the status of this patch? It was reviewed but never merged.
Philippe Normand
Comment 4
2022-04-29 08:54:16 PDT
Maybe the test was updated since then, but with this patch (rebased), it still fails: --- /app/webkit/WebKitBuild/Release/layout-test-results/media/media-source/media-mp4-h264-sequence-mode-expected.txt +++ /app/webkit/WebKitBuild/Release/layout-test-results/media/media-source/media-mp4-h264-sequence-mode-actual.txt @@ -10,13 +10,13 @@ EVENT(update) EXPECTED (sourceBuffer.timestampOffset == '0') OK EXPECTED (sourceBuffer.buffered.length == '1') OK -EXPECTED (sourceBuffer.buffered.start(0) == '1') OK -EXPECTED (sourceBuffer.buffered.end(0) == '2') OK +EXPECTED (sourceBuffer.buffered.start(0) == '1'), OBSERVED '1.041666666' FAIL +EXPECTED (sourceBuffer.buffered.end(0) == '2'), OBSERVED '2.041666666' FAIL RUN(sourceBuffer.mode="sequence") RUN(sourceBuffer.appendBuffer(loader.mediaSegment(1))) EVENT(update) EXPECTED (sourceBuffer.timestampOffset == '1') OK EXPECTED (sourceBuffer.buffered.length == '1') OK -EXPECTED (sourceBuffer.buffered.end(0) == '3') OK +EXPECTED (sourceBuffer.buffered.end(0) == '3'), OBSERVED '3.041666666' FAIL END OF TEST
Philippe Normand
Comment 5
2022-04-29 08:58:55 PDT
With current ToT: --- /app/webkit/WebKitBuild/Release/layout-test-results/media/media-source/media-mp4-h264-sequence-mode-expected.txt +++ /app/webkit/WebKitBuild/Release/layout-test-results/media/media-source/media-mp4-h264-sequence-mode-actual.txt @@ -10,13 +10,13 @@ EVENT(update) EXPECTED (sourceBuffer.timestampOffset == '0') OK EXPECTED (sourceBuffer.buffered.length == '1') OK -EXPECTED (sourceBuffer.buffered.start(0) == '1') OK -EXPECTED (sourceBuffer.buffered.end(0) == '2') OK +EXPECTED (sourceBuffer.buffered.start(0) == '1'), OBSERVED '1.041666' FAIL +EXPECTED (sourceBuffer.buffered.end(0) == '2'), OBSERVED '2.041666' FAIL RUN(sourceBuffer.mode="sequence") RUN(sourceBuffer.appendBuffer(loader.mediaSegment(1))) EVENT(update) EXPECTED (sourceBuffer.timestampOffset == '1') OK EXPECTED (sourceBuffer.buffered.length == '1') OK -EXPECTED (sourceBuffer.buffered.end(0) == '3') OK +EXPECTED (sourceBuffer.buffered.end(0) == '3'), OBSERVED '3.041666' FAIL END OF TEST
Philippe Normand
Comment 6
2022-08-16 11:56:41 PDT
(In reply to Philippe Normand from
comment #3
)
> What's the status of this patch? It was reviewed but never merged.
Ping Alicia?
Alicia Boya García
Comment 7
2022-08-19 05:01:59 PDT
(In reply to Philippe Normand from
comment #6
)
> (In reply to Philippe Normand from
comment #3
) > > What's the status of this patch? It was reviewed but never merged. > > Ping Alicia?
I am aware of it, just had my attention on other things. My biggest problem with this patch was tests regressing in convoluted ways that should hopefully have been fixed by previous patches. Nowadays it would need a rebase and re-test.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug