File tree Expand file tree Collapse file tree
apps/desktop/src/routes/editor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,8 +60,6 @@ const MIN_PLAYER_CONTENT_HEIGHT = 320;
6060const MIN_TIMELINE_HEIGHT = 240 ;
6161const RESIZE_HANDLE_HEIGHT = 16 ;
6262const MIN_PLAYER_HEIGHT = MIN_PLAYER_CONTENT_HEIGHT + RESIZE_HANDLE_HEIGHT ;
63- const ACCURATE_CROP_PREVIEW_MAX_DURATION = 15 * 60 ;
64-
6563const TIMELINE_RESIZE_GRIP_MARKS = [ 0 , 1 , 2 ] as const ;
6664
6765function logCropProfile (
@@ -949,28 +947,6 @@ function Dialogs() {
949947 ) ,
950948 } ) ;
951949
952- if (
953- editorInstance . recordingDuration >
954- ACCURATE_CROP_PREVIEW_MAX_DURATION &&
955- initialPreviewUrl
956- ) {
957- logCropProfile ( "accurate-frame-deferred" , {
958- elapsedMs : Number (
959- ( performance . now ( ) - cropOpenedAt ) . toFixed ( 2 ) ,
960- ) ,
961- recordingDurationSec : Math . round (
962- editorInstance . recordingDuration ,
963- ) ,
964- reason : "current-preview-available" ,
965- } ) ;
966- scheduleAccurateFrame ( "deferred-long-recording" , {
967- delayMs : 2000 ,
968- idleTimeoutMs : 500 ,
969- fallbackDelayMs : 0 ,
970- } ) ;
971- return ;
972- }
973-
974950 scheduleAccurateFrame ( "immediate" , {
975951 idleTimeoutMs : 500 ,
976952 fallbackDelayMs : 16 ,
You can’t perform that action at this time.
0 commit comments