diff options
author | Alexis Ballier <aballier@gentoo.org> | 2018-04-20 19:21:33 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2018-04-20 20:11:56 +0200 |
commit | 8478b2adcc1c58c77e882f6230832a7c2555a500 (patch) | |
tree | e695d789df339c0c34b757c89636d37683ccb867 /media-video/dvdstyler/files | |
parent | media-libs/aubio: fix build with ffmpeg4 (diff) | |
download | gentoo-8478b2adcc1c58c77e882f6230832a7c2555a500.tar.gz gentoo-8478b2adcc1c58c77e882f6230832a7c2555a500.tar.bz2 gentoo-8478b2adcc1c58c77e882f6230832a7c2555a500.zip |
media-video/dvdstyler: fix build with ffmpeg4
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'media-video/dvdstyler/files')
-rw-r--r-- | media-video/dvdstyler/files/ffmpeg4.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/media-video/dvdstyler/files/ffmpeg4.patch b/media-video/dvdstyler/files/ffmpeg4.patch new file mode 100644 index 000000000000..39966dd1dfb8 --- /dev/null +++ b/media-video/dvdstyler/files/ffmpeg4.patch @@ -0,0 +1,13 @@ +Index: DVDStyler-3.0.4/src/mediaenc_ffmpeg.cpp +=================================================================== +--- DVDStyler-3.0.4.orig/src/mediaenc_ffmpeg.cpp ++++ DVDStyler-3.0.4/src/mediaenc_ffmpeg.cpp +@@ -223,7 +223,7 @@ bool wxFfmpegMediaEncoder::addAudioStrea + c->time_base = (AVRational){ 1, c->sample_rate }; + // some formats want stream headers to be separate + if(m_outputCtx->oformat->flags & AVFMT_GLOBALHEADER) +- c->flags |= CODEC_FLAG_GLOBAL_HEADER; ++ c->flags |= AV_CODEC_FLAG_GLOBAL_HEADER; + + return true; + } |