mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
ae7a84b6e0
commit
d2ba6d4789
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user