Use collator to search for screens (#2426).
[dcpomatic.git] / src / wx / video_view.cc
index 1c645f11f688bd6adab4924c07ad9b0fcd25811c..c271cb65e83e213edb54f566c5b4098b351b968f 100644 (file)
@@ -111,7 +111,7 @@ VideoView::time_until_next_frame () const
 {
        if (length() == dcpomatic::DCPTime()) {
                /* There's no content, so this doesn't matter */
-               return optional<int>();
+               return {};
        }
 
        auto const next = position() + one_video_frame();
@@ -185,4 +185,3 @@ VideoView::pad_colour () const
                return wxColour(240, 240, 240);
        }
 }
-