Closed
Bug 1381717
Opened 7 years ago
Closed 7 years ago
[Fennec][HLS] Fix code defects found by Coverity in GeckoHlsPlayer.java
Categories
(Firefox for Android Graveyard :: Audio/Video, defect, P3)
Firefox for Android Graveyard
Audio/Video
Tracking
(firefox56 fixed)
RESOLVED
FIXED
Firefox 56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: JamesCheng, Assigned: JamesCheng)
References
Details
Attachments
(1 file)
https://scan4.coverity.com/reports.htm#v27811/p11134/fileInstanceId=22435006&defectInstanceId=4484549&mergedDefectId=147801
Lots of "GUARDED_BY_VIOLATION" issues reported.
Need to handle it at once.
Comment hidden (mozreview-request) |
Updated•7 years ago
|
Priority: -- → P3
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8887309 [details]
Bug 1381717 - [Fennec][HLS] Fix code defects found by Coverity in GeckoHlsPlayer.java. krr.
https://reviewboard.mozilla.org/r/158122/#review163902
::: mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/GeckoHlsPlayer.java:597
(Diff revision 1)
> // =======================================================================
> // API for GeckoHLSDemuxerWrapper
> // =======================================================================
> // Called on HLSDemuxer's TaskQueue
> @Override
> - public ConcurrentLinkedQueue<GeckoHLSSample> getSamples(TrackType trackType,
> + public synchronized ConcurrentLinkedQueue<GeckoHLSSample> getSamples(TrackType trackType,
Though this is not what I expect...we're losing the concurrency here because we should be able to make the sample retrieval in parallel.
Besides, we're getting sample by calling HLSTrackDemuxer::GetSample on HLSDemuxer taskqueue sequeuncialy. So, we limited the capability already ... :(
Attachment #8887309 -
Flags: review?(kikuo) → review+
Pushed by jacheng@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a3de4e17cfd3
[Fennec][HLS] Fix code defects found by Coverity in GeckoHlsPlayer.java. krr. r=kikuo
Comment 4•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 56
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•