Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Unified Diff: webrtc/modules/video_coding/main/source/video_coding_impl.h

Issue 1244753002: Remove kProtectionKey* and VCMKeyRequestMode. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/video_coding/main/source/video_coding_impl.h
diff --git a/webrtc/modules/video_coding/main/source/video_coding_impl.h b/webrtc/modules/video_coding/main/source/video_coding_impl.h
index 575d6551ab6d100b7b7cb45e2d9f6521e3039cf8..fd3599f52b04bfce68928440ba01b5da60b49759 100644
--- a/webrtc/modules/video_coding/main/source/video_coding_impl.h
+++ b/webrtc/modules/video_coding/main/source/video_coding_impl.h
@@ -206,14 +206,6 @@ class VideoReceiver {
int32_t RequestSliceLossIndication(const uint64_t pictureID) const;
private:
- enum VCMKeyRequestMode {
- kKeyOnError, // Normal mode, request key frames on decoder error
- kKeyOnKeyLoss, // Request key frames on decoder error and on packet loss
- // in key frames.
- kKeyOnLoss, // Request key frames on decoder error and on packet loss
- // in any frame
- };
-
Clock* const clock_;
rtc::scoped_ptr<CriticalSectionWrapper> process_crit_sect_;
CriticalSectionWrapper* _receiveCritSect;
@@ -234,7 +226,6 @@ class VideoReceiver {
FILE* _bitStreamBeforeDecoder;
#endif
VCMFrameBuffer _frameFromFile;
- VCMKeyRequestMode _keyRequestMode;
bool _scheduleKeyRequest GUARDED_BY(process_crit_sect_);
size_t max_nack_list_size_ GUARDED_BY(process_crit_sect_);
EncodedImageCallback* pre_decode_image_callback_ GUARDED_BY(_receiveCritSect);

Powered by Google App Engine
This is Rietveld 408576698