Fix bug #138 - unable to save live stream snapshot under Windows

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Fix bug #137: unable to store snapshots of live view on MacOS X

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
FPS degradation fix

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Merge pull request #139 from vogel/fix-137

Fix bug #137: unable to store snapshots of live view on MacOS X
Merge pull request #141 from vogel/fps-drop-fix

FPS degradation fix
Merge pull request #140 from vogel/fix-138

Fix bug #138 - unable to save live stream snapshot under Windows