Fixing the build error on Windows.
Problem is in coversion from size_t to int. TBR=wu@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2189004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4698 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
1b15f4226f
commit
ab5a0912a3
@ -248,7 +248,8 @@ bool VideoAdapter::AdaptFrame(const VideoFrame* in_frame,
|
|||||||
++frames_;
|
++frames_;
|
||||||
|
|
||||||
// Update input to actual frame dimensions.
|
// Update input to actual frame dimensions.
|
||||||
VideoFormat format(in_frame->GetWidth(), in_frame->GetHeight(),
|
VideoFormat format(static_cast<int>(in_frame->GetWidth()),
|
||||||
|
static_cast<int>(in_frame->GetHeight()),
|
||||||
input_format_.interval, input_format_.fourcc);
|
input_format_.interval, input_format_.fourcc);
|
||||||
SetInputFormat(format);
|
SetInputFormat(format);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user