mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1006484 - [RTSP][V2.0] Cannot replay RTSP streaming. r=sworkman
This commit is contained in:
parent
3c81bf0f30
commit
36031f56d3
@ -840,12 +840,6 @@ struct RtspConnectionHandler : public AHandler {
|
||||
size_t trackIndex = 0;
|
||||
msg->findSize("trackIndex", &trackIndex);
|
||||
postQueueEOS(trackIndex, ERROR_END_OF_STREAM);
|
||||
TrackInfo *info = &mTracks.editItemAt(trackIndex);
|
||||
if (info) {
|
||||
mRTPConn->removeStream(info->mRTPSocket, info->mRTCPSocket);
|
||||
PR_Close(info->mRTPSocket);
|
||||
PR_Close(info->mRTCPSocket);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -247,7 +247,7 @@ void RTSPSource::performSuspend() {
|
||||
}
|
||||
|
||||
void RTSPSource::performSeek(int64_t seekTimeUs) {
|
||||
if (mState != PLAYING && mState != PAUSING) {
|
||||
if (mState != CONNECTED && mState != PLAYING && mState != PAUSING) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user