Backed out changeset 8ff35a246bb0 (bug 828917) to see if it resolves the Win PGO mochitest-2 crashes.

This commit is contained in:
Ryan VanderMeulen 2013-03-07 19:26:24 -05:00
parent e3fda786ca
commit ac3a9ea086

View File

@ -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.