commit 5666093c6eae9ecefb6c22ec79cb91b732c24ac4
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Wed Jan 17 20:39:49 2018 +0000
Try again with ffmpeg build fix as the upstream fix looks bad
ffmpeg35_buildfix.patch | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/ffmpeg35_buildfix.patch b/ffmpeg35_buildfix.patch
index 47ede0e..f6f718f 100644
--- a/ffmpeg35_buildfix.patch
+++ b/ffmpeg35_buildfix.patch
@@ -1,16 +1,15 @@
--- a/applications/dashcast/video_encoder.c
+++ b/applications/dashcast/video_encoder.c
-@@ -143,8 +143,10 @@ int dc_video_encoder_open(VideoOutputFile *video_output_file,
VideoDataConf *vid
- av_opt_set_int(video_output_file->codec_ctx->priv_data, "key-int",
video_output_file->gdr, 0);
+@@ -144,7 +144,7 @@
}
-+#ifdef CODEC_FLAG_GLOBAL_HEADER
//the global header gives access to the extradata (SPS/PPS)
- video_output_file->codec_ctx->flags |= CODEC_FLAG_GLOBAL_HEADER;
-+#endif
+- 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;
+
--- a/modules/ffmpeg_in/ffmpeg_decode.c
+++ b/modules/ffmpeg_in/ffmpeg_decode.c
@@ -49,7 +49,7 @@
Show replies by date