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

Unified Diff: webrtc/video_frame.h

Issue 1371043003: Unify FrameType and VideoFrameType. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 years, 2 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
« no previous file with comments | « webrtc/video_engine/vie_encoder.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video_frame.h
diff --git a/webrtc/video_frame.h b/webrtc/video_frame.h
index 626c01356cf45318e26a9076d396ffc202b0e603..1d9250bb1de78a4a43ffa7566e3b293a0fdb6293 100644
--- a/webrtc/video_frame.h
+++ b/webrtc/video_frame.h
@@ -12,6 +12,7 @@
#define WEBRTC_VIDEO_FRAME_H_
#include "webrtc/base/scoped_ref_ptr.h"
+#include "webrtc/common_types.h"
#include "webrtc/common_video/interface/video_frame_buffer.h"
#include "webrtc/common_video/rotation.h"
#include "webrtc/typedefs.h"
@@ -166,11 +167,6 @@ class VideoFrame {
VideoRotation rotation_;
};
-enum VideoFrameType {
- kKeyFrame = 0,
- kDeltaFrame = 1,
-};
-
// TODO(pbos): Rename EncodedFrame and reformat this class' members.
class EncodedImage {
public:
@@ -184,8 +180,7 @@ class EncodedImage {
// NTP time of the capture time in local timebase in milliseconds.
int64_t ntp_time_ms_ = 0;
int64_t capture_time_ms_ = 0;
- // TODO(pbos): Use webrtc::FrameType directly (and remove VideoFrameType).
- VideoFrameType _frameType = kDeltaFrame;
+ FrameType _frameType = kDeltaFrame;
uint8_t* _buffer;
size_t _length;
size_t _size;
« no previous file with comments | « webrtc/video_engine/vie_encoder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698