Inject TickTimeInterface into VCM and tests
The purpose of this change is to introduce dependency injection of the timer into the video coding module. Review URL: http://webrtc-codereview.appspot.com/332003 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1220 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
		| @@ -83,7 +83,8 @@ private: | ||||
| class NormalTest | ||||
| { | ||||
| public: | ||||
|     NormalTest(webrtc::VideoCodingModule* vcm); | ||||
|     NormalTest(webrtc::VideoCodingModule* vcm, | ||||
|                webrtc::TickTimeInterface* clock); | ||||
|     ~NormalTest(); | ||||
|     static int RunTest(CmdArgs& args); | ||||
|     WebRtc_Word32    Perform(CmdArgs& args); | ||||
| @@ -105,6 +106,7 @@ protected: | ||||
|     // calculating pipeline delay, and decoding time | ||||
|     void            FrameDecoded(WebRtc_UWord32 timeStamp); | ||||
|  | ||||
|     webrtc::TickTimeInterface*       _clock; | ||||
|     webrtc::VideoCodingModule*       _vcm; | ||||
|     webrtc::VideoCodec               _sendCodec; | ||||
|     webrtc::VideoCodec               _receiveCodec; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 henrik.lundin@webrtc.org
					henrik.lundin@webrtc.org