FreeRDP/FreeRDP — pull request #667 by lysannkessler (2012-07-25 17:10:20+00:00)
Title: use settings->color_depth instead of xfi->srcBpp

See comments of https://github.com/FreeRDP/FreeRDP/pull/614.
Basically it fixes wrong color depths if the color depth changes in the reconnection sequence. This happens for instance when connecting to the Hyper-V VMMS.

From my understanding updating xfi->srcBpp in the reconnection sequence is tricky, whereas using settings->color_depth works like a charm.

I noticed that wfi->srcBpp is used in the windows client as well, but I could not test similar modifications yet. I'd first like to see if you accept this pull request ;)