Closed
Bug 1247556
Opened 8 years ago
Closed 8 years ago
Use GMPInfoFileParser in GMPParent::ReadGMPMetaData()
Categories
(Core :: Audio/Video: GMP, defect)
Core
Audio/Video: GMP
Tracking
()
RESOLVED
FIXED
mozilla47
Tracking | Status | |
---|---|---|
firefox47 | --- | fixed |
People
(Reporter: cpearce, Assigned: cpearce)
Details
Attachments
(1 file)
7.00 KB,
patch
|
mozbugz
:
review+
|
Details | Diff | Splinter Review |
We can simplify the code to read the GMP info file by using GMPInfoFileParser in GMPParent::ReadGMPMetaData().
Assignee | ||
Comment 1•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=7119a5dff6ab
Assignee | ||
Comment 2•8 years ago
|
||
Attachment #8718280 -
Flags: review?(gsquelart)
Comment on attachment 8718280 [details] [diff] [review] Use GMPInfoFileParser in GMPParent::ReadGMPMetaData() Review of attachment 8718280 [details] [diff] [review]: ----------------------------------------------------------------- r+. Sorry, had to complain about something: ::: dom/media/gmp/GMPUtils.cpp @@ +181,3 @@ > ToLowerCase(key); > key.Trim(" "); > + Remove spaces on empty lines.
Attachment #8718280 -
Flags: review?(gsquelart) → review+
Comment on attachment 8718280 [details] [diff] [review] Use GMPInfoFileParser in GMPParent::ReadGMPMetaData() Review of attachment 8718280 [details] [diff] [review]: ----------------------------------------------------------------- Just to be complete: ::: dom/media/gmp/GMPParent.cpp @@ +738,2 @@ > } > + aOutValue = aParser.Get(aKey); In most cases, |aParser.Get(aKey)| will be called twice. But it's not a big cost overall; for a GMP-loading operation that is not time-critical, and (I think) only happens once per plugin per session. So I'm okay with it staying.
Assignee | ||
Comment 6•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=4cfd6204311e
Comment 7•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3e2cdc6244d1
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in
before you can comment on or make changes to this bug.
Description
•