diff options
Diffstat (limited to 'test/yuv_video_source.h')
-rw-r--r-- | test/yuv_video_source.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/yuv_video_source.h b/test/yuv_video_source.h index 020ce801d..383ab8f1b 100644 --- a/test/yuv_video_source.h +++ b/test/yuv_video_source.h @@ -84,6 +84,7 @@ class YUVVideoSource : public VideoSource { height_ = height; format_ = format; switch (format) { + case VPX_IMG_FMT_NV12: case VPX_IMG_FMT_I420: raw_size_ = width * height * 3 / 2; break; case VPX_IMG_FMT_I422: raw_size_ = width * height * 2; break; case VPX_IMG_FMT_I440: raw_size_ = width * height * 2; break; |