equal
deleted
inserted
replaced
360 __ASSERT_ALWAYS( iSession && |
360 __ASSERT_ALWAYS( iSession && |
361 iFFWDStartTime.Int64() == 0 && |
361 iFFWDStartTime.Int64() == 0 && |
362 iFRWDStartTime.Int64() == 0, |
362 iFRWDStartTime.Int64() == 0, |
363 User::Leave( KErrNotReady ) ); |
363 User::Leave( KErrNotReady ) ); |
364 |
364 |
365 |
365 iPause = EFalse; |
366 CMceFileSource* file = MusEngMceUtils::GetFileSourceL( *iSession ); |
366 CMceFileSource* file = MusEngMceUtils::GetFileSourceL( *iSession ); |
367 |
367 |
368 if ( !file->IsEnabled() ) |
368 if ( !file->IsEnabled() ) |
369 { |
369 { |
370 file->EnableL(); |
370 file->EnableL(); |
393 iFFWDStartTime.Int64() == 0 && |
393 iFFWDStartTime.Int64() == 0 && |
394 iFRWDStartTime.Int64() == 0, |
394 iFRWDStartTime.Int64() == 0, |
395 User::Leave( KErrNotReady ) ); |
395 User::Leave( KErrNotReady ) ); |
396 |
396 |
397 |
397 |
|
398 iPause = ETrue; |
398 CMceFileSource* file = MusEngMceUtils::GetFileSourceL( *iSession ); |
399 CMceFileSource* file = MusEngMceUtils::GetFileSourceL( *iSession ); |
399 |
400 |
400 if ( file->IsEnabled() ) |
401 if ( file->IsEnabled() ) |
401 { |
402 { |
402 file->DisableL(); |
403 file->DisableL(); |
1105 duration.Int64() ) |
1106 duration.Int64() ) |
1106 |
1107 |
1107 TRAP( error, isRewindFromEnd = |
1108 TRAP( error, isRewindFromEnd = |
1108 ( position.Int64() != 0 && |
1109 ( position.Int64() != 0 && |
1109 !filesource->IsEnabled() && |
1110 !filesource->IsEnabled() && |
1110 videoOut->State() == CMceMediaStream::EDisabled ) ) |
1111 videoOut->State() == CMceMediaStream::EDisabled && |
|
1112 !iPause ) ) |
1111 if( isRewindFromEnd ) |
1113 if( isRewindFromEnd ) |
1112 { |
1114 { |
1113 MUS_LOG( "mus: [ENGINE] Rewind from end of clip" ) |
1115 MUS_LOG( "mus: [ENGINE] Rewind from end of clip" ) |
1114 } |
1116 } |
1115 } |
1117 } |