You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Replace _Pragma with #pragma
Co-authored-by: Frank Dana <ferdnyc@gmail.com>
This commit is contained in:
@@ -1223,11 +1223,11 @@ AVStream *FFmpegWriter::add_video_stream() {
|
||||
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\""); \
|
||||
#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");
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
c->gop_size = 12; /* TODO: add this to "info"... emit one intra frame every twelve frames at most */
|
||||
|
||||
Reference in New Issue
Block a user