Bug 308969
| Summary: | [GStreamer] Expose VIDEO_DECODING_LIMIT through an environment variable | ||
|---|---|---|---|
| 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 | ||
Enrique Ocaña
The RDK-E downstream platform would like to have a single unified build for many kind of devices. For that reason, the platform compile-time VIDEO_DECODING_LIMIT restriction aren't appropriate anymore, since the same build can be used for devices with different runtime limits. A way to specify the decoding limit ar runtime would be desirable.
An environment variable looks like a better way to do it than a runtime setting, since the limit is unlikely to change at runtime and likely to change per device (with a value consistent on every execution). Moreover, having a setting would mean extra changes in the dependent packages that embed WebKit, while having en environmente variable would be less intrusive and would only mean a change in the (easier to maintain) startup scripts.
See: https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/1625, https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/1626
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Enrique Ocaña
Pull request: https://github.com/WebKit/WebKit/pull/59726