[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
Thu Feb 8 15:22:01 PST 2018


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

--- Comment #8 from Jer Noble <jer.noble at apple.com> ---
(In reply to Eric Stobbart from comment #7)
> Can we pick up this conversation again? Happy to converge on a solution and
> try to get this closed out.

Sure thing.

(In reply to Eric Stobbart from comment #6)
> 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.

Huh. Well, round tripping from MediaTimes to doubles and back is definitely a problem.  In fact, maybe that's the underlying cause of your issue.  If you have time values and time bases, you should be able to create a MediaTime from those two parts without going through a double; that's the primary use case of MediaTime.  So lets see if we can solve the rounding problem by using more MediaTime values directly everywhere.

Are you working in the GTK+ port? Can you point me towards your MediaSample subclass?

-- 
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/20180208/445f7c15/attachment.html>


More information about the webkit-unassigned mailing list