Index: webrtc/modules/video_coding/video_receiver.cc |
diff --git a/webrtc/modules/video_coding/video_receiver.cc b/webrtc/modules/video_coding/video_receiver.cc |
index 475f686d23d143503edf5fb0d24c27b8d65e6e3c..46373ef6cbc376260944ca459627564cc994877b 100644 |
--- a/webrtc/modules/video_coding/video_receiver.cc |
+++ b/webrtc/modules/video_coding/video_receiver.cc |
@@ -290,6 +290,14 @@ int32_t VideoReceiver::Decode(uint16_t maxWaitTimeMs) { |
return ret; |
} |
+// Used for the WebRTC-NewVideoJitterBuffer experiment. |
+// TODO(philipel): Clean up among the Decode functions as we replace |
+// VCMEncodedFrame with FrameObject. |
+int32_t VideoReceiver::Decode(const webrtc::VCMEncodedFrame* frame) { |
+ rtc::CritScope lock(&receive_crit_); |
+ return Decode(*frame); |
+} |
+ |
int32_t VideoReceiver::RequestSliceLossIndication( |
const uint64_t pictureID) const { |
TRACE_EVENT1("webrtc", "RequestSLI", "picture_id", pictureID); |