diff -r 7f2b2a65da29 -r 55fa1ec415c6 videoplayback/videohelix/src/mpxvideoaccessoryobserver.cpp --- a/videoplayback/videohelix/src/mpxvideoaccessoryobserver.cpp Tue Apr 27 16:40:33 2010 +0300 +++ b/videoplayback/videohelix/src/mpxvideoaccessoryobserver.cpp Tue May 11 16:15:40 2010 +0300 @@ -15,7 +15,7 @@ * */ -// Version : %version: 8 % +// Version : %version: 9 % // // INCLUDE FILES @@ -84,7 +84,6 @@ : CActive( CActive::EPriorityStandard ) , iController( aController ) , iTvOutConnected( EFalse ) - , iTvOutPlaybackAllowed( ETrue ) { CActiveScheduler::Add( this ); } @@ -180,19 +179,6 @@ if ( iTvOutConnected != tvOutConnected ) { iTvOutConnected = tvOutConnected; - - if ( iTvOutConnected ) - { - // - // Check the playablility of the clip - // - iTvOutPlaybackAllowed = iController->iPlaybackMode->IsTvOutAllowedL(); - } - else - { - iTvOutPlaybackAllowed = ETrue; - } - statusChanged = ETrue; } @@ -275,16 +261,4 @@ return iTvOutConnected; } -// ------------------------------------------------------------------------------------------------- -// CMPXVideoAccessoryObserver::IsTvOutPlaybackAllowed -// ------------------------------------------------------------------------------------------------- -// -TBool CMPXVideoAccessoryObserver::IsTvOutPlaybackAllowed() -{ - TBool playAllowed = ( ! iTvOutConnected || iTvOutPlaybackAllowed ); - MPX_DEBUG(_L("CMPXVideoAccessoryObserver::IsTvOutPlaybackAllowed(%d)"), playAllowed); - - return playAllowed; -} - // End of File