summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2010-12-15 17:16:37 +0000
committerLuca Barbato <lu_zero@gentoo.org>2010-12-15 17:16:37 +0000
commita4a3bade0acd1276ad43850fb2371823bce970c6 (patch)
treeba55b07113f483901c0da65219231370f1dd3798 /libavformat/rtpdec.c
parent0f01602362f20bbc819dd07926cd2bb0a89a6c4d (diff)
Reinstate default time_base for rtp streams
The generic default is 0/0 and that obviously triggers once the value is used. Originally committed as revision 26016 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtpdec.c')
-rw-r--r--libavformat/rtpdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c
index 77b59a3ff3..43002caf38 100644
--- a/libavformat/rtpdec.c
+++ b/libavformat/rtpdec.c
@@ -393,6 +393,7 @@ RTPDemuxContext *rtp_parse_open(AVFormatContext *s1, AVStream *st, URLContext *r
return NULL;
}
} else {
+ av_set_pts_info(st, 32, 1, 90000);
switch(st->codec->codec_id) {
case CODEC_ID_MPEG1VIDEO:
case CODEC_ID_MPEG2VIDEO: