Closed
Bug 1497974
Opened 6 years ago
Closed 6 years ago
Upstream changes to jitter_buffer.cc
Categories
(Core :: WebRTC: Audio/Video, enhancement, P3)
Tracking
()
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: dminor, Assigned: dminor)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
This bit:
if (frame->Length() == 0) {
// Normally only if MakeDecodable() on an incomplete frame threw it all away
ReleaseFrame(frame);
return NULL;
}
Assignee | ||
Comment 1•6 years ago
|
||
These modifications are made to code which we do not use and so
can be removed.
Assignee | ||
Comment 2•6 years ago
|
||
This is in VCMJitterBuffer::ExtractAndSetDecode. The only place this is called outside of test code is in VCMReceiver::FrameForDecoding. The only place that is called outside of test code is in vcm::VideoReceiver::Decode which is only called outside of test code in VideoCodingModuleImpl::Decode, which is never called anywhere.
This is dead code and can be removed.
Assignee: nobody → dminor
Status: NEW → ASSIGNED
Comment 3•6 years ago
|
||
So you're saying that all of VideoReceiver::Decode() is dead code? (Is all of VideoReceiver?) How did you check it isn't used anywhere? (Not saying this is wrong, just want to make sure)
Flags: needinfo?(dminor)
Assignee | ||
Comment 4•6 years ago
|
||
The version of Decode at [1] is unused. The version at [2], with the comment "used for newer jitter buffer" is the one we use.
[1] https://searchfox.org/mozilla-central/rev/adec563403271e78d1a057259b3e17fe557dfd91/media/webrtc/trunk/webrtc/modules/video_coding/video_receiver.cc#227
[2] https://searchfox.org/mozilla-central/rev/adec563403271e78d1a057259b3e17fe557dfd91/media/webrtc/trunk/webrtc/modules/video_coding/video_receiver.cc#281
Flags: needinfo?(dminor)
Pushed by dminor@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2fb1dd0d8344
Remove local changes to jitter_buffer.cc; r=pehrsons
Comment 6•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in
before you can comment on or make changes to this bug.
Description
•