Ignore:
Timestamp:
Apr 17, 2012 9:55:30 AM (13 years ago)
Author:
ming
Message:

Re #1355: vidgui: new rendering window may cause all rendering processes to stop
Despite this fix, there is still a possibility that the rendering window can occasionally get stuck because SDL_PollEvent() gets stuck. This is most likely because there are two unsynchronized event pollers, Qt and SDL. The problem only happened on Windows with SDL 1.3 r5538, runs fine on Mac.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/vidgui/vidgui.cpp

    r3930 r4060  
    261261 
    262262        video_prev_ = new VidWin(&wi.hwnd); 
    263         vbox_left->addWidget(video_prev_, 1); 
     263        video_prev_->putIntoLayout(vbox_left); 
    264264        //Using this will cause SDL window to display blank 
    265265        //screen sometimes, probably because it's using different 
     
    340340 
    341341            video_= new VidWin(&wi.hwnd); 
    342             vbox_left->addWidget(video_, 1); 
     342            video_->putIntoLayout(vbox_left); 
    343343 
    344344            break; 
Note: See TracChangeset for help on using the changeset viewer.