--- /dev/null
+--- 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;
+
%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
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
%patch6 -p1
%patch7 -p1
%patch8 -p1
+%patch9 -p1
sed -i -e 's/wx-config/wx-gtk2-unicode-config/' configure
chmod a+x configure