[Webkit-unassigned] [Bug 182200] Samples in sourceBufferPrivateDidReceiveSample are added but not inserted in the decodeQueue

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 30 07:45:08 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=182200

--- Comment #6 from Eric Stobbart <ericstobbart at gmail.com> ---
It does support being divisible, but not that fine grained. The segments are about 2 seconds with ~47 samples each (demuxed content) so the ~94 calls was still more than I'd like to append 2 seconds worth of content to 2 source buffers. The content isn't encoded poorly. It appears to be an issue with taking times (decode, and duration), dividing by the timebase, and creating two MediaTimes from doubles.. then adding those two doubles together, and comparing with another double. If the MediaSample provided a nextExpectedDecodeTime value, I could add the two ints then divide by the timebase. I didn't want to trim from off the MediaSample's duration, because it would return inaccurate buffered values. It really seemed like this microsecond slop was the best scenario.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180130/bc6f5a29/attachment-0001.html>


More information about the webkit-unassigned mailing list