mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-06 21:33:08 +00:00
remove compilation warnings
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@318 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
2f77430b20
commit
57049e114f
1 changed files with 3 additions and 3 deletions
|
|
@ -64,7 +64,7 @@ typedef struct V4wState{
|
|||
int frame_ind;
|
||||
int frame_max;
|
||||
float fps;
|
||||
float start_time;
|
||||
uint64_t start_time;
|
||||
int frame_count;
|
||||
}V4wState;
|
||||
|
||||
|
|
@ -1301,7 +1301,7 @@ static void v4w_process(MSFilter * obj){
|
|||
s->frame_count=0;
|
||||
}
|
||||
|
||||
cur_frame=((obj->ticker->time-s->start_time)*s->fps/1000.0);
|
||||
cur_frame=(int)((obj->ticker->time-s->start_time)*s->fps/1000.0);
|
||||
if (cur_frame>s->frame_count){
|
||||
mblk_t *om=NULL;
|
||||
ms_mutex_lock(&s->mutex);
|
||||
|
|
@ -1320,7 +1320,7 @@ static void v4w_process(MSFilter * obj){
|
|||
}
|
||||
ms_mutex_unlock(&s->mutex);
|
||||
if (om!=NULL){
|
||||
timestamp=obj->ticker->time*90;/* rtp uses a 90000 Hz clockrate for video*/
|
||||
timestamp=(uint32_t)obj->ticker->time*90;/* rtp uses a 90000 Hz clockrate for video*/
|
||||
mblk_set_timestamp_info(om,timestamp);
|
||||
ms_queue_put(obj->outputs[0],om);
|
||||
/*ms_message("picture sent");*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue