Changeset 155:cccb422e9c2d in mediastreamer2


Ignore:
Timestamp:
Nov 4, 2008 3:38:42 PM (5 years ago)
Author:
smorlat <smorlat@…>
Branch:
default
Message:

fix bug with windows display

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@158 3f6dc0c8-ddfe-455d-9043-3cd528dc4637

File:
1 edited

Legend:

Unmodified
Added
Removed
  • linphone/mediastreamer2/src/videoout.c

    r154 r155  
    391391        BITMAPINFOHEADER bi; 
    392392        RECT rect; 
    393         MSG msg; 
    394393        bool_t ret; 
    395394        if (wd->window==NULL) return; 
     
    446445 
    447446bool_t win_display_pollevent(MSDisplay *d, MSDisplayEvent *ev){ 
    448         while (PeekMessage(&msg, wd->window, 0, 0, PM_REMOVE) != 0){ 
    449                   TranslateMessage(&msg); 
    450                   DispatchMessage(&msg); 
    451         } 
    452447        return FALSE; 
    453448} 
     
    664659} 
    665660 
    666 static void video_out_postprocess(MSFilter *f){ 
     661static void video_out_preprocess(MSFilter *f){ 
     662        video_out_prepare(f); 
    667663} 
    668664 
     
    821817        video_out_init, 
    822818        NULL, 
     819        video_out_preprocess, 
    823820        video_out_process, 
    824         video_out_postprocess, 
     821        NULL, 
    825822        video_out_uninit, 
    826823        methods 
     
    837834        .noutputs=0, 
    838835        .init=video_out_init, 
     836        .preprocess=video_out_preprocess, 
    839837        .process=video_out_process, 
    840         .postprocess=video_out_postprocess, 
    841838        .uninit=video_out_uninit, 
    842839        .methods=methods 
Note: See TracChangeset for help on using the changeset viewer.