зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1088538 - [RTSP] System crash in the end of playback due to NULL accessUnit. r=ettseng
This commit is contained in:
Родитель
ef426b8de7
Коммит
3033fd14c8
|
@ -691,7 +691,7 @@ void RTSPSource::onTrackDataAvailable(size_t trackIndex)
|
|||
|
||||
status_t err = dequeueAccessUnit(info->mIsAudio, &accessUnit);
|
||||
|
||||
if (err == -EWOULDBLOCK) {
|
||||
if (err == -EWOULDBLOCK || err == ERROR_END_OF_STREAM) {
|
||||
return;
|
||||
} else if (err == INFO_DISCONTINUITY) {
|
||||
nsRefPtr<nsIStreamingProtocolMetaData> meta;
|
||||
|
|
Загрузка…
Ссылка в новой задаче