You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Fixing FFmpeg version breakage in FFmpegWriter
This commit is contained in:
@@ -926,7 +926,7 @@ AVStream* FFmpegWriter::add_video_stream()
|
||||
identically 1. */
|
||||
c->time_base.num = info.video_timebase.num;
|
||||
c->time_base.den = info.video_timebase.den;
|
||||
#if LIBAVFORMAT_VERSION_MAJOR >= 55
|
||||
#if LIBAVFORMAT_VERSION_MAJOR >= 56
|
||||
c->framerate = av_inv_q(c->time_base);
|
||||
#endif
|
||||
st->avg_frame_rate = av_inv_q(c->time_base);
|
||||
|
||||
Reference in New Issue
Block a user