mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1273652: Always reinitialize the receiver/jitterbuffer when reseting video decoding r=pkerr
This commit is contained in:
parent
24932bb5c1
commit
3cf9863b59
@ -514,10 +514,12 @@ int32_t VideoReceiver::ResetDecoder() {
|
||||
bool reset_key_request = false;
|
||||
{
|
||||
CriticalSectionScoped cs(_receiveCritSect);
|
||||
_receiver.Initialize();
|
||||
_timing.Reset();
|
||||
reset_key_request = true;
|
||||
if (_decoder != NULL) {
|
||||
_receiver.Initialize();
|
||||
_timing.Reset();
|
||||
reset_key_request = true;
|
||||
// _receiver.Initialize();
|
||||
// _timing.Reset();
|
||||
_decoder->Reset();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user