[OpenSmalltalk/opensmalltalk-vm] 02a274: Mac CameraPlugin: Add safety, only copying the min...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSmalltalk/opensmalltalk-vm] 02a274: Mac CameraPlugin: Add safety, only copying the min...

Eliot Miranda-3
 
  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: 02a274782dfa1747a846950423ec2bb555c282e9
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/02a274782dfa1747a846950423ec2bb555c282e9
  Author: Eliot Miranda <[hidden email]>
  Date:   2020-07-17 (Fri, 17 Jul 2020)

  Changed paths:
    M platforms/iOS/plugins/CameraPlugin/AVFoundationVideoGrabber.m

  Log Message:
  -----------
  Mac CameraPlugin: Add safety, only copying the minimum of the size of the c
framebuffer and the size of the input buffer.  Use "grabber" instead of "this"
as the variable name for each camera struct, since lldb refuses to allow this
to be used, assuming it is being used outside an object context.