equal
deleted
inserted
replaced
908 |
908 |
909 // EIdle, stream is not receiving RTP |
909 // EIdle, stream is not receiving RTP |
910 changedStream->iState = CMceMediaStream::EIdle; |
910 changedStream->iState = CMceMediaStream::EIdle; |
911 static_cast<MMceStreamObserver*>(iClipSession)->StreamStateChanged( |
911 static_cast<MMceStreamObserver*>(iClipSession)->StreamStateChanged( |
912 *changedStream ); |
912 *changedStream ); |
913 EUNIT_ASSERT( iObserver->IsReseted() ) |
913 EUNIT_ASSERT( iObserver->iStreamIdleCalled ) |
914 |
914 |
915 // EStreaming, stream is streaming |
915 // EStreaming, stream is streaming |
916 changedStream->iState = CMceMediaStream::EStreaming; |
916 changedStream->iState = CMceMediaStream::EStreaming; |
917 static_cast<MMceStreamObserver*>(iClipSession)->StreamStateChanged( |
917 static_cast<MMceStreamObserver*>(iClipSession)->StreamStateChanged( |
918 *changedStream ); |
918 *changedStream ); |
1062 |
1062 |
1063 // EIdle, stream is not receiving RTP |
1063 // EIdle, stream is not receiving RTP |
1064 changedStream->iState = CMceMediaStream::EIdle; |
1064 changedStream->iState = CMceMediaStream::EIdle; |
1065 static_cast<MMceStreamObserver*>(iClipSession)->StreamStateChanged( |
1065 static_cast<MMceStreamObserver*>(iClipSession)->StreamStateChanged( |
1066 *changedStream, *changedSource ); |
1066 *changedStream, *changedSource ); |
1067 EUNIT_ASSERT( iObserver->IsReseted() ) |
1067 EUNIT_ASSERT( iObserver->iStreamIdleCalled ) |
1068 |
1068 |
1069 // EStreaming, stream is streaming |
1069 // EStreaming, stream is streaming |
1070 changedStream->iState = CMceMediaStream::EStreaming; |
1070 changedStream->iState = CMceMediaStream::EStreaming; |
1071 static_cast<MMceStreamObserver*>(iClipSession)->StreamStateChanged( |
1071 static_cast<MMceStreamObserver*>(iClipSession)->StreamStateChanged( |
1072 *changedStream, *changedSource ); |
1072 *changedStream, *changedSource ); |
1132 // EIdle, stream is not receiving RTP |
1132 // EIdle, stream is not receiving RTP |
1133 changedStream->iState = CMceMediaStream::EIdle; |
1133 changedStream->iState = CMceMediaStream::EIdle; |
1134 static_cast<MMceStreamObserver*>(iClipSession)->StreamStateChanged( |
1134 static_cast<MMceStreamObserver*>(iClipSession)->StreamStateChanged( |
1135 *changedStream, |
1135 *changedStream, |
1136 *changedSink ); |
1136 *changedSink ); |
1137 EUNIT_ASSERT( iObserver->IsReseted() ) |
1137 EUNIT_ASSERT( iObserver->iStreamIdleCalled ); |
1138 |
1138 |
1139 // EStreaming, stream is streaming |
1139 // EStreaming, stream is streaming |
1140 changedStream->iState = CMceMediaStream::EStreaming; |
1140 changedStream->iState = CMceMediaStream::EStreaming; |
1141 static_cast<MMceStreamObserver*>(iClipSession)->StreamStateChanged( |
1141 static_cast<MMceStreamObserver*>(iClipSession)->StreamStateChanged( |
1142 *changedStream, |
1142 *changedStream, |
1586 EUNIT_ASSERT( !iClipSession->IsRewindFromEnd() ) |
1586 EUNIT_ASSERT( !iClipSession->IsRewindFromEnd() ) |
1587 |
1587 |
1588 // Disapling stream |
1588 // Disapling stream |
1589 videoOut->iState = CMceMediaStream::EDisabled; |
1589 videoOut->iState = CMceMediaStream::EDisabled; |
1590 EUNIT_ASSERT( iClipSession->IsRewindFromEnd() ) |
1590 EUNIT_ASSERT( iClipSession->IsRewindFromEnd() ) |
|
1591 |
|
1592 iClipSession->iPause = ETrue; |
|
1593 EUNIT_ASSERT( !iClipSession->IsRewindFromEnd() ) |
|
1594 |
|
1595 iClipSession->iPause = EFalse; |
|
1596 EUNIT_ASSERT( iClipSession->IsRewindFromEnd() ) |
1591 |
1597 |
1592 // and finaly try with "real" end of clip |
1598 // and finaly try with "real" end of clip |
1593 (static_cast<CMceFileSource*> (videoOut->Source()))->iPosition = 0; |
1599 (static_cast<CMceFileSource*> (videoOut->Source()))->iPosition = 0; |
1594 (static_cast<CMceFileSource*> (videoOut->Source()))->iDuration = 111; |
1600 (static_cast<CMceFileSource*> (videoOut->Source()))->iDuration = 111; |
1595 |
1601 |