Commit 81bccccf authored by Guillaume Beraudo's avatar Guillaume Beraudo
Browse files

Use QCIF in spite of QVGA for encoding H263.

- h263 baseline doesn't support qvga;
- libavcodec h263p decoder doesn't exist.
parent c18e8a3e
......@@ -862,7 +862,7 @@ static int enc_set_br(MSFilter *f, void *arg){
s->vsize.height=MS_VIDEO_SIZE_CIF_H;
s->fps=17;
s->qmin=3;
}else if (s->maxbr>=170000){
}else if (s->maxbr>=170000 && s->codec!=CODEC_ID_H263P && s->codec!=CODEC_ID_H263){
s->vsize.width=MS_VIDEO_SIZE_QVGA_W;
s->vsize.height=MS_VIDEO_SIZE_QVGA_H;
s->fps=15;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment