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

Unified Diff: webrtc/modules/video_coding/main/source/encoded_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
Index: webrtc/modules/video_coding/main/source/encoded_frame.h
diff --git a/webrtc/modules/video_coding/main/source/encoded_frame.h b/webrtc/modules/video_coding/main/source/encoded_frame.h
index 6caaf42ff6bd9bbf01c3745230ea6eff02ab91d0..608578c35db76566a483424941fc7d1b47a5a608 100644
--- a/webrtc/modules/video_coding/main/source/encoded_frame.h
+++ b/webrtc/modules/video_coding/main/source/encoded_frame.h
@@ -68,7 +68,7 @@ public:
/**
* Get frame type
*/
- webrtc::FrameType FrameType() const {return ConvertFrameType(_frameType);}
+ webrtc::FrameType FrameType() const { return _frameType; }
/**
* Get frame rotation
*/
@@ -95,12 +95,6 @@ public:
const RTPFragmentationHeader* FragmentationHeader() const;
- static webrtc::FrameType ConvertFrameType(VideoFrameType frameType);
- static VideoFrameType ConvertFrameType(webrtc::FrameType frameType);
- static void ConvertFrameTypes(
- const std::vector<webrtc::FrameType>& frame_types,
- std::vector<VideoFrameType>* video_frame_types);
-
protected:
/**
* Verifies that current allocated buffer size is larger than or equal to the input size.

Powered by Google App Engine
This is Rietveld 408576698