mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1148572: improve H264 renegotiation handling. r=jesup
This commit is contained in:
parent
a5dd2b089c
commit
def59aad67
@ -833,6 +833,9 @@ MediaPipelineFactory::EnsureExternalCodec(VideoSessionConduit& aConduit,
|
||||
if (aConfig->mName == "VP8" || aConfig->mName == "VP9") {
|
||||
return kMediaConduitNoError;
|
||||
} else if (aConfig->mName == "H264") {
|
||||
if (aConduit.CodecPluginID() != 0) {
|
||||
return kMediaConduitNoError;
|
||||
}
|
||||
// Register H.264 codec.
|
||||
if (aIsSend) {
|
||||
VideoEncoder* encoder = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user