https://bitbucket.org/hudson/magic-lantern
Revision 6896814002e2b5331a03b198672e09794e074c96 authored by alex@thinkpad on 12 February 2017, 19:51:02 UTC, committed by alex@thinkpad on 12 February 2017, 19:51:02 UTC
When H.264 stops, Canon code appears to wait for all the memory resources to be freed (including ours).
During this process, LiveView is frozen (visible without ML as well).
If this process takes "too long", the camera locks up and requires battery out (some tasks may or may not continue to run).
Allocating a smaller amount of memory (rather than all available memory) doesn't seem to help.
Workaround: do not save the remaining frames, just free the resources ASAP.
TODO: figure out what actually causes this and how to prevent the hard lockups (hard, dm-spy logging might help).
1 parent 7b1740e
History
Tip revision: 6896814002e2b5331a03b198672e09794e074c96 authored by alex@thinkpad on 12 February 2017, 19:51:02 UTC
mlv_lite: attempt to fix lockup when the H.264 stream stops automatically
Tip revision: 6896814
File Mode Size
build_tools
contrib
data
doc
doxygen
features
icons
include
installer
minimal
modules
platform
scripts
src
tcc
.hgignore -rw-r--r-- 1.3 KB
.hgtags -rw-r--r-- 3.0 KB
COPYING -rw-r--r-- 17.6 KB
Doxyfile -rw-r--r-- 98.8 KB
Makefile -rw-r--r-- 3.0 KB
Makefile.filerules -rw-r--r-- 1.5 KB
Makefile.inc -rw-r--r-- 2.8 KB
Makefile.obsolete -rw-r--r-- 2.9 KB
Makefile.setup -rw-r--r-- 3.7 KB
Makefile.top -rw-r--r-- 2.0 KB
Makefile.user.default -rw-r--r-- 6.5 KB
README.md -rw-r--r-- 838 bytes
logo.png -rw-r--r-- 7.8 KB

README.md

back to top