Skip to content

Commit

Permalink
Remove code for handling manipulation of crop fields and print warnin…
Browse files Browse the repository at this point in the history
…g instead
  • Loading branch information
YourMJK committed Jan 30, 2024
1 parent c7679a4 commit 0d16ad3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -943,8 +943,12 @@ int main(int32_t argc, char** argv)
if (object->windowID != window->windowID) continue;

if (object->objectCroppedFlag == 0x40) {
t_timestamp timestamp = PTStoTimestamp(header.pts1);
std::printf("Object Cropped Flag set at timestamp %lu:%02lu:%02lu.%03lu! Crop fields are not supported yet.\r\n", timestamp.hh, timestamp.mm, timestamp.ss, timestamp.ms);
/*
object->objCropHorPos += clampedDeltaX;
object->objCropVerPos += clampedDeltaY;
*/
}
object->objectHorPos += clampedDeltaX;
object->objectVerPos += clampedDeltaY;
Expand Down

0 comments on commit 0d16ad3

Please sign in to comment.