Bug 180472
Summary: | looping single frame mp4 causes repaint in <img src=mp4> | ||
---|---|---|---|
Product: | WebKit | Reporter: | Colin Bendell <colin> |
Component: | Images | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | eric.carlson, jer.noble |
Priority: | P2 | ||
Version: | Safari Technology Preview | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Colin Bendell
Single frame MP4 (h264/hevc) in an <img> tag offers a good alternative to jpg because of hardware decode advantage. However, <img src=mp4> assumes muted looping which causes continual repaints of the viewport
https://colinbendell.github.io/webperf/img-mp4/index.html
https://colinbendell.github.io/webperf/img-mp4/index_hevc.html
For situations where there are 1 (perhaps <=2 ?) frames, the <img src=mp4> should not loop.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |