mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Backed out changeset 8ff35a246bb0 (bug 828917) to see if it resolves the Win PGO mochitest-2 crashes.
This commit is contained in:
parent
e3fda786ca
commit
ac3a9ea086
@ -292,13 +292,12 @@ bool IncomingVideoStream::IncomingVideoStreamThreadFun(void* obj) {
|
||||
|
||||
bool IncomingVideoStream::IncomingVideoStreamProcess() {
|
||||
if (kEventError != deliver_buffer_event_.Wait(KEventMaxWaitTimeMs)) {
|
||||
thread_critsect_.Enter();
|
||||
if (incoming_render_thread_ == NULL) {
|
||||
// Terminating
|
||||
thread_critsect_.Leave();
|
||||
return false;
|
||||
}
|
||||
|
||||
thread_critsect_.Enter();
|
||||
I420VideoFrame* frame_to_render = NULL;
|
||||
|
||||
// Get a new frame to render and the time for the frame after this one.
|
||||
|
Loading…
Reference in New Issue
Block a user