diff options
Diffstat (limited to 'media')
-rw-r--r-- | media/base/video_frame.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media/base/video_frame.cc b/media/base/video_frame.cc index 9a53090..57a4d0d 100644 --- a/media/base/video_frame.cc +++ b/media/base/video_frame.cc @@ -115,6 +115,8 @@ void VideoFrame::CreateFrameGlTexture(Format format, frame->planes_ = GetNumberOfPlanes(format); for (size_t i = 0; i < kMaxPlanes; ++i) { frame->gl_textures_[i] = textures[i]; + // TODO(hclam): Fix me for color format other than RGBA. + frame->strides_[i] = width; } } *frame_out = frame; |