WebKit Bugzilla
Attachment 362395 Details for
Bug 194747
: [MSE] SourceBuffer sample time increment vs. last frame duration check is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Test case file for the reported issue
media-source-append-variable-frame-lengths-with-matching-durations-expected.txt (text/html), 733 bytes, created by
up
on 2019-02-19 10:55:42 PST
(
hide
)
Description:
Test case file for the reported issue
Filename:
MIME Type:
Creator:
up
Created:
2019-02-19 10:55:42 PST
Size:
733 bytes
patch
obsolete
>This tests that variable frame lengths with matching frame durations will not be dropped. > >RUN(video.src = URL.createObjectURL(source)) >EVENT(sourceopen) >RUN(sourceBuffer = source.addSourceBuffer("video/mock; codecs=mock")) >RUN(sourceBuffer.appendBuffer(initSegment)) >EVENT(updateend) >RUN(sourceBuffer.appendBuffer(samples)) >EVENT(updateend) >EXPECTED (bufferedSamples.length == '3') OK >{PTS({0/1000 = 0.000000}), DTS({0/1000 = 0.000000}), duration({10/1000 = 0.010000}), flags(1), generation(0)} >{PTS({10/1000 = 0.010000}), DTS({10/1000 = 0.010000}), duration({30/1000 = 0.030000}), flags(0), generation(0)} >{PTS({40/1000 = 0.040000}), DTS({40/1000 = 0.040000}), duration({10/1000 = 0.010000}), flags(0), generation(0)} >END OF TEST >
This tests that variable frame lengths with matching frame durations will not be dropped. RUN(video.src = URL.createObjectURL(source)) EVENT(sourceopen) RUN(sourceBuffer = source.addSourceBuffer("video/mock; codecs=mock")) RUN(sourceBuffer.appendBuffer(initSegment)) EVENT(updateend) RUN(sourceBuffer.appendBuffer(samples)) EVENT(updateend) EXPECTED (bufferedSamples.length == '3') OK {PTS({0/1000 = 0.000000}), DTS({0/1000 = 0.000000}), duration({10/1000 = 0.010000}), flags(1), generation(0)} {PTS({10/1000 = 0.010000}), DTS({10/1000 = 0.010000}), duration({30/1000 = 0.030000}), flags(0), generation(0)} {PTS({40/1000 = 0.040000}), DTS({40/1000 = 0.040000}), duration({10/1000 = 0.010000}), flags(0), generation(0)} END OF TEST
View Attachment As Raw
Actions:
View
Attachments on
bug 194747
:
362395
|
362396
|
362398
|
362766
|
362781
|
363004