Closed Bug 1497974 Opened 6 years ago Closed 6 years ago

Upstream changes to jitter_buffer.cc

Categories

(Core :: WebRTC: Audio/Video, enhancement, P3)

63 Branch
enhancement

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; }
These modifications are made to code which we do not use and so can be removed.
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
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)
Pushed by dminor@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2fb1dd0d8344 Remove local changes to jitter_buffer.cc; r=pehrsons
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
No longer depends on: 1646904
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: