[FFmpeg-cvslog] r26016 - trunk/libavformat/rtpdec.c
lu_zero
subversion
Wed Dec 15 18:16:37 CET 2010
Author: lu_zero
Date: Wed Dec 15 18:16:37 2010
New Revision: 26016
Log:
Reinstate default time_base for rtp streams
The generic default is 0/0 and that obviously triggers once the value is used.
Modified:
trunk/libavformat/rtpdec.c
Modified: trunk/libavformat/rtpdec.c
==============================================================================
--- trunk/libavformat/rtpdec.c Wed Dec 15 01:22:47 2010 (r26015)
+++ trunk/libavformat/rtpdec.c Wed Dec 15 18:16:37 2010 (r26016)
@@ -393,6 +393,7 @@ RTPDemuxContext *rtp_parse_open(AVFormat
return NULL;
}
} else {
+ av_set_pts_info(st, 32, 1, 90000);
switch(st->codec->codec_id) {
case CODEC_ID_MPEG1VIDEO:
case CODEC_ID_MPEG2VIDEO:
More information about the ffmpeg-cvslog
mailing list