diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2010-12-15 17:16:37 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2010-12-15 17:16:37 +0000 |
commit | a4a3bade0acd1276ad43850fb2371823bce970c6 (patch) | |
tree | ba55b07113f483901c0da65219231370f1dd3798 | |
parent | 0f01602362f20bbc819dd07926cd2bb0a89a6c4d (diff) | |
download | ffmpeg-a4a3bade0acd1276ad43850fb2371823bce970c6.tar.gz |
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
-rw-r--r-- | libavformat/rtpdec.c | 1 |
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: |