summaryrefslogtreecommitdiff
path: root/pjmedia/src/pjmedia-codec
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2012-03-30 06:46:48 +0000
committerNanang Izzuddin <nanang@teluu.com>2012-03-30 06:46:48 +0000
commit85ac546acb235df62169c4ad317da74a62e56a88 (patch)
treeeda922fbf7b3f912c65cd2b613be1e71639a061e /pjmedia/src/pjmedia-codec
parent0a62d61518dad19e4f10c68d2c502251caad8ae8 (diff)
Misc (re #1446): Avoid unnecessary high latency caused by clock drift or call setup lag by overriding initial framerate setting to be 1.5x higher in video stream decoding direction. Note that a previous method in r3972 has just been cancelled.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3998 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/src/pjmedia-codec')
-rw-r--r--pjmedia/src/pjmedia-codec/ffmpeg_codecs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pjmedia/src/pjmedia-codec/ffmpeg_codecs.c b/pjmedia/src/pjmedia-codec/ffmpeg_codecs.c
index d02e8250..72159762 100644
--- a/pjmedia/src/pjmedia-codec/ffmpeg_codecs.c
+++ b/pjmedia/src/pjmedia-codec/ffmpeg_codecs.c
@@ -923,7 +923,7 @@ static pj_status_t ffmpeg_default_attr( pjmedia_vid_codec_factory *factory,
/* Decoded format */
pjmedia_format_init_video(&attr->dec_fmt, desc->info.dec_fmt_id[0],
desc->size.w, desc->size.h,
- desc->fps.num*3/2, desc->fps.denum);
+ desc->fps.num, desc->fps.denum);
/* Decoding fmtp */
attr->dec_fmtp = desc->dec_fmtp;