motion icon indicating copy to clipboard operation
motion copied to clipboard

crash fix, format width, power line frequency merge request

Open dfries opened this issue 11 years ago • 3 comments

This is a five commit pull request. bugs: The first has some typo, fixes, and such. The next one set the device thread running from the main thread fix I ran into while debugging, there is a potential to happen in normal execution, but not likely so I didn't add it to the changelog. The webcontrol fix I was running into on an older slower thread, the fix is to count that thread along with the other threads so it doesn't cleanup too early. features: I was printing the motion location and size, but it was jumping around, so I added width support so %3K would work, and I was surprised how little code it took to do so. The USB webcam I have defaulted to 50Hz power line frequency compensation, but I needed 60Hz to avoid scrolling bright bands, so I added that setting.

dfries avatar Nov 10 '12 20:11 dfries

I corrected the power_line_frequency because I needed to set the default value in the conf_template.

dfries avatar Nov 11 '12 20:11 dfries

"allow compiling ffmpeg on non x86 platforms" added commit 341bf3d6b3be3f7b99185a5a283780b241a9722a The assembly instruction emms is x86 only, and prevents this from compiling on an ARM system. I changed the check from, #ifndef SSE_MATH to #if !defined(SSE_MATH) && defined(pentium_mmx) I'm guessing that if the compiler is generating SSE instructions this isn't required, and I'm also assuming it will only be required if the compiler is generating mmx instructions. Is this correct?

dfries avatar Nov 18 '12 20:11 dfries

I've added some more crash fixes I found with a flaky USB cable that exercised that part of the program. This also has an option to let the user specify if frames should be duplicated or not, in my case it looks horrible duplicating frames.

dfries avatar Aug 22 '15 23:08 dfries