diff -r 6711b85517b7 -r dec420019252 videoplayback/videohelix/tsrc/ut_videohelixtest/src/mpxvideoaccessoryobserver_stub.cpp --- a/videoplayback/videohelix/tsrc/ut_videohelixtest/src/mpxvideoaccessoryobserver_stub.cpp Tue Jan 26 12:00:59 2010 +0200 +++ b/videoplayback/videohelix/tsrc/ut_videohelixtest/src/mpxvideoaccessoryobserver_stub.cpp Tue Feb 02 00:12:10 2010 +0200 @@ -15,7 +15,7 @@ * */ -// Version : %version: 2 % +// Version : %version: 3 % // // INCLUDE FILES @@ -75,6 +75,9 @@ void CMPXVideoAccessoryObserver::SetTvOutConnected( TBool aConnected ) { + MPX_ENTER_EXIT(_L("CMPXVideoAccessoryObserver::SetTvOutConnected()"), + _L("aConnected = %d"), aConnected); + iTvOutConnected = aConnected; if ( ! iTvOutConnected ) @@ -85,6 +88,9 @@ void CMPXVideoAccessoryObserver::SetTvOutPlaybackAllowed( TBool aAllowed ) { + MPX_ENTER_EXIT(_L("CMPXVideoAccessoryObserver::SetTvOutPlaybackAllowed()"), + _L("aAllowed = %d"), aAllowed); + iTvOutPlaybackAllowed = aAllowed; } @@ -99,21 +105,6 @@ { iTvOutConnected = aTvOutConnected; - if ( iTvOutConnected ) - { - // - // Check the playablility of the clip - // - if ( iController ) - { - iTvOutPlaybackAllowed = iController->iPlaybackMode->IsTvOutAllowedL(); - } - } - else - { - iTvOutPlaybackAllowed = ETrue; - } - iController->HandleTvOutEventL( iTvOutConnected ); }