Skip to content

Commit

Permalink
Refert last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
eisneinechse committed Jun 2, 2020
1 parent 93d12e7 commit d9e6af5
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/FFmpegWriter.cpp
Expand Up @@ -1266,13 +1266,6 @@ AVStream *FFmpegWriter::add_video_stream() {
st->avg_frame_rate = av_inv_q(c->time_base);
st->time_base.num = info.video_timebase.num;
st->time_base.den = info.video_timebase.den;
#if (LIBAVFORMAT_VERSION_MAJOR >= 58)
_Pragma ("GCC diagnostic push");
_Pragma ("GCC diagnostic ignored \"-Wdeprecated-declarations\""); \
st->codec->time_base.num = info.video_timebase.num;
st->codec->time_base.den = info.video_timebase.den;
_Pragma ("GCC diagnostic pop");
#endif

c->gop_size = 12; /* TODO: add this to "info"... emit one intra frame every twelve frames at most */
c->max_b_frames = 10;
Expand Down

0 comments on commit d9e6af5

Please sign in to comment.