Commit 729b3714 authored by Anton Khirnov's avatar Anton Khirnov
Browse files

mvi: set framerate

This container does not store timestamps and thus supports CFR only.
parent aec50f79
......@@ -87,6 +87,7 @@ static int read_header(AVFormatContext *s)
ast->codec->bit_rate = ast->codec->sample_rate * 8;
avpriv_set_pts_info(vst, 64, msecs_per_frame, 1000000);
vst->avg_frame_rate = av_inv_q(vst->time_base);
vst->codec->codec_type = AVMEDIA_TYPE_VIDEO;
vst->codec->codec_id = AV_CODEC_ID_MOTIONPIXELS;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment