Skip to content

Commit 610300e

Browse files
committed
mark Post process False after conversion
1 parent 5c77156 commit 610300e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

server/dive_tasks/tasks.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,7 @@ def convert_video(
538538
constants.OriginalFPSMarker: originalFps,
539539
constants.OriginalFPSStringMarker: avgFpsString,
540540
constants.FPSMarker: newAnnotationFps,
541+
constants.MarkForPostProcess: False,
541542
"ffprobe_info": videostream[0],
542543
},
543544
)
@@ -604,6 +605,7 @@ def convert_video(
604605
constants.OriginalFPSMarker: originalFps,
605606
constants.OriginalFPSStringMarker: avgFpsString,
606607
constants.FPSMarker: newAnnotationFps,
608+
constants.MarkForPostProcess: False,
607609
"ffprobe_info": videostream[0],
608610
},
609611
)
@@ -652,7 +654,7 @@ def convert_images(self: Task, folderId, user_id: str, user_login: str):
652654

653655
gc.addMetadataToFolder(
654656
str(folderId),
655-
{"annotate": True}, # mark the parent folder as able to annotate.
657+
{"annotate": True, constants.MarkForPostProcess: False}, # mark the parent folder as able to annotate.
656658
)
657659

658660

0 commit comments

Comments
 (0)