WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
233492
[GStreamer][WPE] Control on-disk multimedia buffering via the WPE_SHELL_DISABLE_MEDIA_DISK_CACHE environment variable
https://bugs.webkit.org/show_bug.cgi?id=233492
Summary
[GStreamer][WPE] Control on-disk multimedia buffering via the WPE_SHELL_DISAB...
Enrique Ocaña
Reported
2021-11-25 05:03:24 PST
Embedded platforms often don't have a persistent storage suitable for repetitive writes (eg: caching media files may wear out a flash drive, and RAM memory is scarce enough to use a tmpfs for caching). Those platforms need a way to disable on-disk caching. Metrological has been successfully using an environment variable for that purpose downstream since 2016. If that implementation is upstreamed, other WPE users can benefit from it.
Attachments
Patch
(2.75 KB, patch)
2021-11-25 06:02 PST
,
Enrique Ocaña
no flags
Details
Formatted Diff
Diff
Patch
(2.73 KB, patch)
2021-11-26 12:00 PST
,
Enrique Ocaña
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Enrique Ocaña
Comment 1
2021-11-25 06:02:01 PST
Created
attachment 445136
[details]
Patch
Xabier Rodríguez Calvar
Comment 2
2021-11-26 03:27:41 PST
Comment on
attachment 445136
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=445136&action=review
> Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:2565 > + static bool computed = false;
Please, use std::once...
Enrique Ocaña
Comment 3
2021-11-26 12:00:25 PST
Comment on
attachment 445136
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=445136&action=review
>> Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:2565 >> + static bool computed = false; > > Please, use std::once...
I've ended up using std::once_flag and std::call_once. They're very useful and I didn't know about them. Thanks!
Enrique Ocaña
Comment 4
2021-11-26 12:00:56 PST
Created
attachment 445207
[details]
Patch
EWS
Comment 5
2021-11-29 06:32:30 PST
Committed
r286210
(
244592@main
): <
https://commits.webkit.org/244592@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 445207
[details]
.
Radar WebKit Bug Importer
Comment 6
2021-11-29 06:33:27 PST
<
rdar://problem/85814319
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug