screenshooter: correct output ordering of screencast recording when Y-flip is off
authorTomohito Esaki <etom@igel.co.jp>
Tue, 7 Jul 2015 10:06:05 +0000 (19:06 +0900)
committerBryce Harrington <bryce@osg.samsung.com>
Wed, 14 Oct 2015 23:09:52 +0000 (16:09 -0700)
commit9054e4c8c4d0d1aa5d996458d2f142edac7833c8
tree6a5ae4d83327eff02b355dc5af0b7cefafaa4122
parenta6714fa0faf7515585fd436faa5411dd71382186
screenshooter: correct output ordering of screencast recording when Y-flip is off

The screenshooter encoder wrote the output from either top-to-bottom or
bottom-to-top, depending on the Y-flip setting, but wcap-decode only
decodes from bottom-to-top. Make the encoder always output from
bottom-to-top, to match the decoder, and flip the input (source)
according to the Y-flip setting.

Signed-off-by: Tomohito Esaki <etom@igel.co.jp>
Reviewed-by: Giulio Camuffo <giuliocamuffo@gmail.com>
src/screenshooter.c