summaryrefslogtreecommitdiff
path: root/src/android/yuv/post_processor_yuv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/yuv/post_processor_yuv.cpp')
-rw-r--r--src/android/yuv/post_processor_yuv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/android/yuv/post_processor_yuv.cpp b/src/android/yuv/post_processor_yuv.cpp
index 3e793a58..6952fc38 100644
--- a/src/android/yuv/post_processor_yuv.cpp
+++ b/src/android/yuv/post_processor_yuv.cpp
@@ -63,9 +63,9 @@ int PostProcessorYuv::process(const FrameBuffer &source,
return -EINVAL;
}
- int ret = libyuv::NV12Scale(sourceMapped.maps()[0].data(),
+ int ret = libyuv::NV12Scale(sourceMapped.planes()[0].data(),
sourceStride_[0],
- sourceMapped.maps()[1].data(),
+ sourceMapped.planes()[1].data(),
sourceStride_[1],
sourceSize_.width, sourceSize_.height,
destination->plane(0).data(),