The framerate is 25 which is a fixed default and is wrong undo the 1 line change which caused this regression Only the avg_frame rate setting is removed The timebase update is not done as there was a objection (see ML) Fixes Ticket 5444
Unified · Split
| @@ -84,7 +84,6 @@ int ff_raw_video_read_header(AVFormatContext *s) · 83 unmodified lines | |||
| 84 | st->codecpar->codec_id = s->iformat->raw_codec_id; | 84 | st->codecpar->codec_id = s->iformat->raw_codec_id; |
| 85 | st->need_parsing = AVSTREAM_PARSE_FULL_RAW; | 85 | st->need_parsing = AVSTREAM_PARSE_FULL_RAW; |
| 86 | 86 | ||
| 87 | st->avg_frame_rate = s1->framerate; | ||
| 88 | st->internal->avctx->framerate = s1->framerate; | 87 | st->internal->avctx->framerate = s1->framerate; |
| 89 | avpriv_set_pts_info(st, 64, 1, 1200000); | 88 | avpriv_set_pts_info(st, 64, 1, 1200000); |
| 90 | 89 | ||