mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 06:26:29 +08:00
parent
422154dc97
commit
64a2d1904b
@ -1482,6 +1482,10 @@ static AVStream *icv_add_video_stream_FFMPEG(AVFormatContext *oc,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if LIBAVCODEC_BUILD >= CALC_FFMPEG_VERSION(52, 42, 0)
|
||||||
|
st->avg_frame_rate = (AVRational){frame_rate, frame_rate_base};
|
||||||
|
#endif
|
||||||
|
|
||||||
return st;
|
return st;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user