From dd0da9570ffe6c45cd4f62b6c06e60dd6b77552b Mon Sep 17 00:00:00 2001 From: aymeric Date: Thu, 25 Sep 2008 15:44:53 +0000 Subject: [PATCH] Add new bandwidth for testing larger image git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@42 3f6dc0c8-ddfe-455d-9043-3cd528dc4637 --- linphone/mediastreamer2/src/videoenc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/linphone/mediastreamer2/src/videoenc.c b/linphone/mediastreamer2/src/videoenc.c index 16499b199..a92ba164c 100644 --- a/linphone/mediastreamer2/src/videoenc.c +++ b/linphone/mediastreamer2/src/videoenc.c @@ -213,7 +213,9 @@ static void prepare_h263(EncState *s){ AVCodecContext *c=&s->av_context; /* we don't use the rtp_callback but use rtp_mode that forces ffmpeg to insert Start Codes as much as possible in the bitstream */ - c->rtp_mode = 1; +#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0) + c->rtp_mode = 1; +#endif c->rtp_payload_size = s->mtu/2; if (s->profile==0){ s->codec=CODEC_ID_H263;