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..1a3817646d019b302073f3f840f8385560bf463f 100644 |
--- a/webrtc/modules/video_coding/video_receiver.cc |
+++ b/webrtc/modules/video_coding/video_receiver.cc |
@@ -290,6 +290,13 @@ int32_t VideoReceiver::Decode(uint16_t maxWaitTimeMs) { |
return ret; |
} |
+// NOTE! Ugly hack to give the video receiver a frame to decode. |
stefan-webrtc
2016/11/08 10:41:34
Add TODO to remove. When can it be cleaned up? And
philipel
2016/11/08 12:28:39
Done.
|
+// Used for the WebRTC-NewVideoJitterBuffer experiment. |
+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); |