Merge pull request #2 from demokritos/cm-10.2

fix bug that camera crashes when changing picture size