зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1078125 - fix RtspMediaCodecReader::ReadMetadata, start the network streaming before ReadMetadata and enable play-out delay. r=cpearce, r=ethan
This commit is contained in:
Родитель
bc903e63d8
Коммит
67df017f38
|
@ -93,9 +93,13 @@ nsresult
|
|||
RtspMediaCodecReader::ReadMetadata(MediaInfo* aInfo,
|
||||
MetadataTags** aTags)
|
||||
{
|
||||
mRtspResource->DisablePlayoutDelay();
|
||||
EnsureActive();
|
||||
nsresult rv = MediaCodecReader::ReadMetadata(aInfo, aTags);
|
||||
SetIdle();
|
||||
|
||||
if (rv == NS_OK && !IsWaitingMediaResources()) {
|
||||
EnsureActive();
|
||||
mRtspResource->EnablePlayoutDelay();
|
||||
}
|
||||
|
||||
return rv;
|
||||
|
|
Загрузка…
Ссылка в новой задаче