Fix some surface assignment errors.
authorMichael Goddard <michael.goddard@nokia.com>
Fri, 27 Jan 2012 02:38:35 +0000 (12:38 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 27 Jan 2012 06:35:09 +0000 (07:35 +0100)
commit88431b2841b5c6a13c360aae402847409953c867
tree6658b917d4e957c9edeabb50d5a821fab375b53a
parentbad94a532996339da23906764521447803f24b16
Fix some surface assignment errors.

On destruction and changing sources, make sure we don't clobber the
surface property if it's been changed.

Change-Id: I3080b98a547911543a391c8bc040792d260782fd
Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
src/imports/multimedia/qdeclarativevideooutput.cpp
tests/auto/integration/qdeclarativevideooutput/tst_qdeclarativevideooutput.cpp