Fix IVF FrameGenerator factory method name
Bug: webrtc:10138
Change-Id: I8175209beade8a67e63addf30fb0bda1d941f6c4
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/161326
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30013}
diff --git a/api/test/create_frame_generator.cc b/api/test/create_frame_generator.cc
index 6b5b9fa..859bc00 100644
--- a/api/test/create_frame_generator.cc
+++ b/api/test/create_frame_generator.cc
@@ -36,8 +36,7 @@
frame_repeat_count);
}
-// Creates a frame generator that repeatedly plays an ivf file.
-std::unique_ptr<FrameGeneratorInterface> CreateFromYuvFileFrameGenerator(
+std::unique_ptr<FrameGeneratorInterface> CreateFromIvfFileFrameGenerator(
std::string file) {
return std::make_unique<IvfVideoFrameGenerator>(std::move(file));
}
diff --git a/api/test/create_frame_generator.h b/api/test/create_frame_generator.h
index 920ff86..02aa38d 100644
--- a/api/test/create_frame_generator.h
+++ b/api/test/create_frame_generator.h
@@ -42,7 +42,7 @@
int frame_repeat_count);
// Creates a frame generator that repeatedly plays an ivf file.
-std::unique_ptr<FrameGeneratorInterface> CreateFromYuvFileFrameGenerator(
+std::unique_ptr<FrameGeneratorInterface> CreateFromIvfFileFrameGenerator(
std::string file);
// Creates a frame generator which takes a set of yuv files (wrapping a