commit 3fc23fa3e7fec104bb5ac51674ce4d297a46f486
Author: Jan Rękorajski <[email protected]>
Date:   Sun Apr 29 18:39:40 2018 +0200

    - fix building with ffmepg 4.0
    - rel 3

 ffmpeg4.patch | 11 +++++++++++
 gpac.spec     |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/gpac.spec b/gpac.spec
index 8349bf7..69879e9 100644
--- 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
diff --git a/ffmpeg4.patch b/ffmpeg4.patch
new file mode 100644
index 0000000..585b928
--- /dev/null
+++ b/ffmpeg4.patch
@@ -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;
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gpac.git/commitdiff/3fc23fa3e7fec104bb5ac51674ce4d297a46f486

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to