diff -r 8aed59de29f9 -r 4eb2df7f7cbe videoplayback/videohelix/src/mpxvideoaccessoryobserver.cpp --- a/videoplayback/videohelix/src/mpxvideoaccessoryobserver.cpp Fri Apr 16 18:13:14 2010 +0300 +++ b/videoplayback/videohelix/src/mpxvideoaccessoryobserver.cpp Fri Apr 30 09:52:11 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