Skip to content

Commit

Permalink
Add comment for getting rid of is_fake_frame parameter in the future
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Faion committed Sep 11, 2019
1 parent 0b414dd commit 5af11bc
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def draw_on_frame(self, target_frame):
overlay_image = overlay_frame.img
try:
is_fake_frame = overlay_frame.is_fake
# TODO: once we have the unified Frame class, we should just pass the frames
# to the image manipulation pipeline (instead of the images). Then we can
# get rid of the additional parameter stuff in ImageManipulation!
except AttributeError:
# TODO: this is only fore extra safety until we have a unified Frame class
# and can be sure that everything ending up here has the 'is_fake'
Expand Down

0 comments on commit 5af11bc

Please sign in to comment.