| Summary: | [GStreamer][MSE] wrong duration computing | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Philippe Normand <pnormand> | ||||||
| Component: | Platform | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED LATER | ||||||||
| Severity: | Normal | CC: | cgarcia, pnormand, slomo, zan | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Attachments: |
|
||||||||
|
Description
Philippe Normand
2015-01-06 02:13:40 PST
Created attachment 244044 [details]
patch
Comment on attachment 244044 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=244044&action=review > Source/WebCore/platform/graphics/gstreamer/WebKitMediaSourceGStreamer.cpp:357 > + GstClockTime gstDuration = duration.toFloat() * GST_SECOND; Why? What is the timeValue and timeScale for the durations here? By going through floats you'll lose some precision here timeValue: 4645885228097732608 scale: 10000000 Duration calculated for the same video with the patch: 0:06:48.999985152 That seems like a bug elsewhere then, or I misunderstand the API of MediaTime :) Created attachment 244269 [details]
patch
This isn't going to apply to the reworked MSE backend. |