[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
Fri Feb 9 13:45:31 PST 2018


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

Alicia Boya García <aboya at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aboya at igalia.com

--- Comment #11 from Alicia Boya García <aboya at igalia.com> ---
(In reply to Jer Noble from comment #9)
> (In reply to Jer Noble from comment #8)
> > Are you working in the GTK+ port? Can you point me towards your MediaSample
> > subclass?
> 
> Oof, if we're talking MediaSampleGStreamer, it looks like GStreamer stores
> pts and dts as nanoseconds, and not in units of the underlying media's
> timescale. So your rounding problems are already present when you're handed
> a GstBuffer.

Note: Using nanoseconds as GStreamer does is lossy, but it poses no rounding problems by itself as long as the demuxer is careful and only converts to nanoseconds at the end. Then, working with nanoseconds is safe as long as only additions and subtractions are performed. That is not the case with floats, where even common operations like addition are dangerous.

-- 
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/20180209/f5a2d53c/attachment.html>


More information about the webkit-unassigned mailing list