mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
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
This commit is contained in:
parent
0f01602362
commit
a4a3bade0a
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user