Closed Bug 1582353 Opened 5 years ago Closed 5 years ago

Make GPU/RDD decoder IPC methods use MozPromise

Categories

(Core :: Audio/Video: Playback, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: jya, Assigned: jya)

References

Details

(Keywords: regression)

Attachments

(3 files, 1 obsolete file)

Right now RDD/GPU decoder methods use callbacks with a shim that convert those calls to MozPromise.

Should be moving to native MozPromise support for ease of use and that ability to return more than one decoded sample at a time.

Priority: -- → P3

The MediaResult object isn't used; no need to set a crash timestamp on it.

We can deduct it from the workflow itself.

Also fix potential Shmem leak.

Blocks: 1584721

Comment on attachment 9095524 [details]
Bug 1582353 - P4. Remove the need to explicitly inform child/parent that a Shmem is no longer in use. r=mjf!

Revision D47261 was moved to bug 1584721. Setting attachment 9095524 [details] to obsolete.

Attachment #9095524 - Attachment is obsolete: true
Pushed by jyavenard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e1fb5cfcff24 P1. Add MediaResult serializer. r=mjf https://hg.mozilla.org/integration/autoland/rev/385f51415b32 P2. Remove unused variable. r=mattwoodrow https://hg.mozilla.org/integration/autoland/rev/1af599d73633 P3. Promisify RDD/GPU remote decoder. r=mattwoodrow,mjf
Keywords: regression
Regressions: 1663227
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: