Remove misleading comment.
authorCarl Hetherington <cth@carlh.net>
Fri, 12 Aug 2022 14:20:37 +0000 (16:20 +0200)
committerCarl Hetherington <cth@carlh.net>
Fri, 12 Aug 2022 14:20:37 +0000 (16:20 +0200)
Video levels are taken care of by the call to PlayerVideo::image()
above, in the non-J2K case, and for J2K we're already in full
range so there's no need to convert.

src/wx/gl_video_view.cc

index 284624372fc7df7ac346054b97ec53fed2d1c170..1f60af69d6b4d0b99d11e667eaf2521d681ed7a0 100644 (file)
@@ -563,8 +563,6 @@ GLVideoView::set_image (shared_ptr<const PlayerVideo> pv)
         *  Otherwise we render a RGB image without any shader-side processing.
         */
 
-       /* XXX: video range conversion */
-
        _video_texture->set (video);
 
        auto const text = pv->text();