switch to 4CIF value

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@48 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
aymeric 2008-09-26 08:52:10 +00:00
parent 7c424dda33
commit 476d083247

View file

@ -512,8 +512,8 @@ static int enc_set_br(MSFilter *f, void *arg){
bool_t snow=s->codec==CODEC_ID_SNOW;
s->maxbr=*(int*)arg;
if (s->maxbr>=1024000 && s->codec!=CODEC_ID_H263P){
s->vsize.width = MS_VIDEO_SIZE_1024_W;
s->vsize.height = MS_VIDEO_SIZE_1024_H;
s->vsize.width = MS_VIDEO_SIZE_4CIF_W;
s->vsize.height = MS_VIDEO_SIZE_4CIF_H;
s->fps=17;
}else if (s->maxbr>=512000){
s->vsize.width=MS_VIDEO_SIZE_CIF_W;