diy/av — pull request #8 by b123400 (2013-06-03 02:06:02+00:00)
Title: Bugs fixed for wrong orientation

The following bugs are fixed:

Preview doesn't change orientation when device rotates
Capturing image always use default orientation
Wrong orientation when capturing video