Index: webrtc/modules/video_coding/codecs/tools/video_quality_measurement.cc |
diff --git a/webrtc/modules/video_coding/codecs/tools/video_quality_measurement.cc b/webrtc/modules/video_coding/codecs/tools/video_quality_measurement.cc |
index f1b580719c0fd6e91d164d5998df11a3f5cc7692..5dd3ce734d7457b783ea74dbc6e4315e9146e127 100644 |
--- a/webrtc/modules/video_coding/codecs/tools/video_quality_measurement.cc |
+++ b/webrtc/modules/video_coding/codecs/tools/video_quality_measurement.cc |
@@ -490,11 +490,12 @@ int main(int argc, char* argv[]) { |
webrtc::VP8Encoder* encoder = webrtc::VP8Encoder::Create(); |
webrtc::VP8Decoder* decoder = webrtc::VP8Decoder::Create(); |
webrtc::test::Stats stats; |
- webrtc::test::FrameReaderImpl frame_reader(config.input_filename, |
- config.codec_settings->width, |
- config.codec_settings->height); |
- webrtc::test::FrameWriterImpl frame_writer(config.output_filename, |
- config.frame_length_in_bytes); |
+ webrtc::test::YuvFrameReaderImpl frame_reader(config.input_filename, |
+ config.codec_settings->width, |
+ config.codec_settings->height); |
+ webrtc::test::YuvFrameWriterImpl frame_writer(config.output_filename, |
+ config.codec_settings->width, |
+ config.codec_settings->height); |
frame_reader.Init(); |
frame_writer.Init(); |
webrtc::test::PacketReader packet_reader; |
@@ -507,9 +508,11 @@ int main(int argc, char* argv[]) { |
packet_manipulator.InitializeRandomSeed(time(NULL)); |
} |
webrtc::test::VideoProcessor* processor = |
- new webrtc::test::VideoProcessorImpl(encoder, decoder, &frame_reader, |
- &frame_writer, &packet_manipulator, |
- config, &stats); |
+ new webrtc::test::VideoProcessorImpl( |
+ encoder, decoder, &frame_reader, &frame_writer, &packet_manipulator, |
+ config, &stats, nullptr /* source_frame_writer */, |
+ nullptr /* encoded_frame_writer */, |
+ nullptr /* decoded_frame_writer */); |
processor->Init(); |
int frame_number = 0; |