diff -r 199e6e1e0b54 -r a91aa46552be tvout/tvoutwrapper/src/glxtvoutwrapper_p.cpp --- a/tvout/tvoutwrapper/src/glxtvoutwrapper_p.cpp Fri Sep 17 08:29:24 2010 +0300 +++ b/tvout/tvoutwrapper/src/glxtvoutwrapper_p.cpp Mon Oct 04 00:17:18 2010 +0300 @@ -180,20 +180,20 @@ // setToNativeMode // ----------------------------------------------------------------------------- void GlxTvOutWrapperPrivate::SetToNativeMode() - { +{ TRACER("GlxTvOutWrapperPrivate::SetToNativeMode()"); iIsPhotosInForeground = true; - - if(iHdmiController && iHdmiConnected) { - if (!isImageSetToHdmi){ + + if ( iHdmiConnected ) { + if ( !isImageSetToHdmi ) { + SetNewImage(); // this case can occur when FS image is opened and set to background + // HDMI cable connected and then FS is brought to foreground + } } - SetNewImage(); // this case can occur when FS image is opened and set to background - // HDMI cable connected and then FS is brought to foreground + else { + iHdmiController->ShiftToPostingMode(); } - else{ - iHdmiController->ShiftToPostingMode(); - } - } +} // ----------------------------------------------------------------------------- // itemNotSupported