Closed
Bug 952020
Opened 12 years ago
Closed 12 years ago
Remove the MediaEncoder::OnEncoderThread()
Categories
(Core :: Audio/Video: Recording, defect)
Core
Audio/Video: Recording
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: jhlin, Assigned: rlin)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 2 obsolete files)
|
3.28 KB,
patch
|
Details | Diff | Splinter Review |
|MediaEncoder| uses a static/global variable |sEncoderThread| to hold owning thread but assigns it only once in |GetEncodedData()|. When the 2nd instance is created and in use, the value will be out of date and |OnEncoderThread()| will always return false.
| Assignee | ||
Comment 1•12 years ago
|
||
oh....Should not use static because there may more than two encoder instances....
| Assignee | ||
Comment 2•12 years ago
|
||
This design is incorrect and cause threading problem, we should remove it.
Summary: mozilla::MediaEncoder holds incorrect 'owning thread' value. → Remove the MediaEncoder::OnEncoderThread()
| Assignee | ||
Comment 3•12 years ago
|
||
| Assignee | ||
Comment 4•12 years ago
|
||
Attachment #8349956 -
Attachment is obsolete: true
| Assignee | ||
Comment 5•12 years ago
|
||
Comment on attachment 8349959 [details] [diff] [review]
patch v1.1
Hi Ralph,
I need to remove this due to the implementation is wrong and useless.
Attachment #8349959 -
Flags: review?(giles)
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → rlin
Updated•12 years ago
|
Blocks: MediaEncoder
| Assignee | ||
Updated•12 years ago
|
Attachment #8349959 -
Flags: review?(giles) → review?(roc)
Attachment #8349959 -
Flags: review?(roc) → review+
| Assignee | ||
Comment 6•12 years ago
|
||
carry reviewer, check-in needed
green try result
https://tbpl.mozilla.org/?tree=Try&rev=225e6494ab22
| Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Updated•12 years ago
|
Attachment #8349959 -
Attachment is obsolete: true
Comment 7•12 years ago
|
||
Keywords: checkin-needed
Comment 8•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Updated•11 years ago
|
Component: Video/Audio → Video/Audio: Recording
You need to log in
before you can comment on or make changes to this bug.
Description
•