forked from mirrors/linphone-iphone
fix bug and update cs.po
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@194 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
16ee0f2008
commit
5752ccc7fc
3 changed files with 495 additions and 500 deletions
|
|
@ -188,7 +188,7 @@ static void prepare(EncState *s){
|
|||
/*snow does not like 1st pass rate control*/
|
||||
/*and rate control eats too much cpu with CIF high fps pictures*/
|
||||
c->rc_max_rate=(float)s->maxbr*0.8;
|
||||
c->rc_min_rate=c->bit_rate;
|
||||
c->rc_min_rate=0;
|
||||
c->rc_buffer_size=c->rc_max_rate;
|
||||
}else{
|
||||
/*use qmin instead*/
|
||||
|
|
|
|||
|
|
@ -790,18 +790,20 @@ static int video_out_set_corner(MSFilter *f,void *arg){
|
|||
VideoOut *s=(VideoOut*)f->data;
|
||||
ms_filter_lock(f);
|
||||
set_corner(s, *(int*)arg);
|
||||
ms_display_lock(s->display);
|
||||
{
|
||||
int w=s->fbuf.w;
|
||||
int h=s->fbuf.h;
|
||||
int ysize=w*h;
|
||||
int usize=ysize/4;
|
||||
|
||||
memset(s->fbuf.planes[0], 0, ysize);
|
||||
memset(s->fbuf.planes[1], 0, usize);
|
||||
memset(s->fbuf.planes[2], 0, usize);
|
||||
if (s->display){
|
||||
ms_display_lock(s->display);
|
||||
{
|
||||
int w=s->fbuf.w;
|
||||
int h=s->fbuf.h;
|
||||
int ysize=w*h;
|
||||
int usize=ysize/4;
|
||||
|
||||
memset(s->fbuf.planes[0], 0, ysize);
|
||||
memset(s->fbuf.planes[1], 0, usize);
|
||||
memset(s->fbuf.planes[2], 0, usize);
|
||||
}
|
||||
ms_display_unlock(s->display);
|
||||
}
|
||||
ms_display_unlock(s->display);
|
||||
ms_filter_unlock(f);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue