Move convert_to_xyz out of DCPVideo.
[dcpomatic.git] / src / wx / video_waveform_plot.cc
index 8e3284682485833dc7395c65b75e1c1edeb3be14..7c3e9528ff6a685f0b232bf77ff71956d9d535c2 100644 (file)
@@ -198,7 +198,7 @@ VideoWaveformPlot::set_image (shared_ptr<PlayerVideo> image)
        /* We must copy the PlayerVideo here as we will call ::image() on it, potentially
           with a different pixel_format than was used when ::prepare() was called.
        */
-       _image = DCPVideo::convert_to_xyz (image->shallow_copy(), [](dcp::NoteType, string) {});
+       _image = convert_to_xyz (image->shallow_copy(), [](dcp::NoteType, string) {});
        _dirty = true;
        Refresh ();
 }