inspirit / PS3EYEDriver

PS3EYE Camera Driver for OSX and Windows
Other
316 stars 92 forks source link

Fix for glitching when frame rate is too high #27

Closed poleguy closed 8 years ago

poleguy commented 8 years ago

This drops all the glitched frames that occur and are added as frame when running at 640x480x60fps on my Windows 7 machine. It seems that line 767 should also check for last_packet_type == FIRST_PACKET and discard in that case too, but I'm not seeing that case actually happening.

I'm not sure what the original intent of marking this as LAST_PACKET was (a mistake?)... at least my ps3eye doesn't seem to ever do anything good when we get to this line of code.

inspirit commented 8 years ago

Thanx for that!