Ignore:
Timestamp:
Mar 9, 2009 12:30:40 PM (4 years ago)
Author:
aymeric <aymeric@…>
Branch:
default
Message:

remove compilation warnings

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

File:
1 edited

Legend:

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

    r313 r315  
    6565        int frame_max; 
    6666        float fps; 
    67         float start_time; 
     67        uint64_t start_time; 
    6868        int frame_count; 
    6969}V4wState; 
     
    13021302        } 
    13031303 
    1304         cur_frame=((obj->ticker->time-s->start_time)*s->fps/1000.0); 
     1304        cur_frame=(int)((obj->ticker->time-s->start_time)*s->fps/1000.0); 
    13051305        if (cur_frame>s->frame_count){ 
    13061306                mblk_t *om=NULL; 
     
    13211321                ms_mutex_unlock(&s->mutex); 
    13221322                if (om!=NULL){ 
    1323                         timestamp=obj->ticker->time*90;/* rtp uses a 90000 Hz clockrate for video*/ 
     1323                        timestamp=(uint32_t)obj->ticker->time*90;/* rtp uses a 90000 Hz clockrate for video*/ 
    13241324                        mblk_set_timestamp_info(om,timestamp); 
    13251325                        ms_queue_put(obj->outputs[0],om); 
Note: See TracChangeset for help on using the changeset viewer.