Bug 293239
| Summary: | [GStreamer][MSE] Support playing videos of less than 1 sec with libav decoders | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Enrique Ocaña <eocanha> |
| Component: | New Bugs | Assignee: | Enrique Ocaña <eocanha> |
| Status: | NEW | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 270622 | ||
Enrique Ocaña
GStreamer video decoders based on libav are currently implemented in a way that hoard one video frame per decoding thread. This not only means more latency during continuous playback, but also on stalls (when no more frames are supplied at the video decoder input). While problem has been mitigated by reducing the max-threads to 2 [1], the behaviour still causes problems in some tests with very short videos.
[1] https://github.com/WebKit/WebKit/commit/128e962baa61f49c78087a622eaecd08dc692ef6#diff-4376b854280205494dc9de0f08f985afd4d6584a7487c0a136adac2954c003cdR2831
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Enrique Ocaña
Pull request: https://github.com/WebKit/WebKit/pull/45600