]> git.pld-linux.org Git - packages/gpac.git/commitdiff
- fix building with ffmepg 4.0 auto/th/gpac-0.5.0-16.20141007.3
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 29 Apr 2018 16:39:40 +0000 (18:39 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 29 Apr 2018 16:39:40 +0000 (18:39 +0200)
- rel 3

ffmpeg4.patch [new file with mode: 0644]
gpac.spec

diff --git a/ffmpeg4.patch b/ffmpeg4.patch
new file mode 100644 (file)
index 0000000..585b928
--- /dev/null
@@ -0,0 +1,11 @@
+--- gpac/applications/dashcast/video_encoder.c~        2018-04-29 18:32:41.000000000 +0200
++++ gpac/applications/dashcast/video_encoder.c 2018-04-29 18:35:58.454087341 +0200
+@@ -141,7 +141,7 @@
+       }
+       //the global header gives access to the extradata (SPS/PPS)
+-      video_output_file->codec_ctx->flags |= CODEC_FLAG_GLOBAL_HEADER;
++      video_output_file->codec_ctx->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
+       video_output_file->vstream_idx = 0;//video_stream->index;
index 8349bf76c1ba39754a253c809b7ad43c07824e18..69879e9d7fdaa5e6d7e7f41369a4e85835f70eb0 100644 (file)
--- a/gpac.spec
+++ b/gpac.spec
@@ -24,7 +24,7 @@
 %undefine      with_plugin
 %endif
 #
-%define                rel 2
+%define                rel 3
 Summary:       GPAC - an implementation of the MPEG-4 Systems standard (ISO/IEC 14496-1)
 Summary(pl.UTF-8):     GPAC - implementacja standardu MPEG-4 Systems (ISO/IEC 14496-1)
 Name:          gpac
@@ -44,6 +44,7 @@ Patch5:               wxWidgets3.patch
 Patch6:                %{name}-js.patch
 Patch7:                %{name}-apps.patch
 Patch8:                ffmpeg3.patch
+Patch9:                ffmpeg4.patch
 URL:           http://gpac.sourceforge.net/
 %{?with_directfb:BuildRequires:        DirectFB-devel}
 BuildRequires: OpenGL-GLU-devel
@@ -172,6 +173,7 @@ Wtyczka GPAC dla przeglądarek WWW zgodnych z Netscape.
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
+%patch9 -p1
 
 sed -i -e 's/wx-config/wx-gtk2-unicode-config/' configure
 chmod a+x configure
This page took 0.032548 seconds and 4 git commands to generate.