Closed
Bug 1247556
Opened 10 years ago
Closed 10 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•10 years ago
|
||
Assignee | ||
Comment 2•10 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•10 years ago
|
||
Comment 7•10 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 10 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
•