[guvcview] Rebuilt for ffmpeg-3.5 git
by Leigh Scott
commit 959e6cbed5f647545cde0d5b36253e7226579645
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Thu Jan 18 08:06:10 2018 +0000
Rebuilt for ffmpeg-3.5 git
guvcview.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/guvcview.spec b/guvcview.spec
index 3e4a745..8dd5847 100644
--- a/guvcview.spec
+++ b/guvcview.spec
@@ -1,6 +1,6 @@
Name: guvcview
Version: 2.0.5
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: GTK+ UVC Viewer and Capturer
Group: Amusements/Graphics
# fixme: ask upstream about license, many source files claim to be
@@ -123,6 +123,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%changelog
+* Thu Jan 18 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 2.0.5-3
+- Rebuilt for ffmpeg-3.5 git
+
* Wed Nov 22 2017 Thomas Moschny <thomas.moschny(a)gmx.de> - 2.0.5-2
- Fix patch for older libavcodec.
- Force building with gcc/g++ instead of clang.
6 years, 10 months
[freshplayerplugin] Rebuilt for ffmpeg-3.5 git
by Leigh Scott
commit c6377fc729d93e0dd9faee6702f92565991fe1e4
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Thu Jan 18 08:05:29 2018 +0000
Rebuilt for ffmpeg-3.5 git
freshplayerplugin.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/freshplayerplugin.spec b/freshplayerplugin.spec
index 0a32b55..f05a98f 100644
--- a/freshplayerplugin.spec
+++ b/freshplayerplugin.spec
@@ -1,6 +1,6 @@
Name: freshplayerplugin
Version: 0.3.7
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: PPAPI-host NPAPI-plugin adapter
Group: Applications/Internet
License: MIT
@@ -90,6 +90,9 @@ install -Dm 0644 data/freshwrapper.conf.example %{buildroot}/etc/freshwrapper.co
%config(noreplace) %{_sysconfdir}/freshwrapper.conf
%changelog
+* Thu Jan 18 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 0.3.7-5
+- Rebuilt for ffmpeg-3.5 git
+
* Mon Jan 15 2018 Nicolas Chauvet <kwizart(a)gmail.com> - 0.3.7-4
- Update to VA-API 1.0.0
6 years, 10 months
[dvdstyler] Rebuilt for ffmpeg-3.5 git
by Leigh Scott
commit 2540f3438a935d75cd6faaf7b9c7c1e78a99c284
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Thu Jan 18 08:04:43 2018 +0000
Rebuilt for ffmpeg-3.5 git
dvdstyler.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/dvdstyler.spec b/dvdstyler.spec
index 89f3e1f..a18f37c 100644
--- a/dvdstyler.spec
+++ b/dvdstyler.spec
@@ -5,7 +5,7 @@
Name: dvdstyler
Epoch: 1
Version: 3.0.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Cross-platform DVD authoring application
Group: Applications/Multimedia
@@ -103,6 +103,9 @@ desktop-file-install \
%{_mandir}/*/*.gz
%changelog
+* Thu Jan 18 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 1:3.0.4-2
+- Rebuilt for ffmpeg-3.5 git
+
* Sun Nov 26 2017 Sérgio Basto <sergio(a)serjux.com> - 1:3.0.4-1
- Update to 3.0.4
6 years, 10 months
[dvbcut] Rebuilt for ffmpeg-3.5 git
by Leigh Scott
commit 5262524ca0d0a64dfb5ed4e8c83d2c1951395a8d
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Thu Jan 18 08:03:46 2018 +0000
Rebuilt for ffmpeg-3.5 git
dvbcut.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/dvbcut.spec b/dvbcut.spec
index 72fcb52..76a4cde 100644
--- a/dvbcut.spec
+++ b/dvbcut.spec
@@ -2,7 +2,7 @@
Name: dvbcut
Version: 0.6.1
-Release: 23.svn%{svnrev}%{?dist}
+Release: 24.svn%{svnrev}%{?dist}
Summary: Clip and convert DVB transport streams to MPEG2 program streams
Group: Applications/Multimedia
@@ -130,6 +130,9 @@ fi
%changelog
+* Thu Jan 18 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 0.6.1-24.svn179
+- Rebuilt for ffmpeg-3.5 git
+
* Thu Aug 31 2017 RPM Fusion Release Engineering <kwizart(a)rpmfusion.org> - 0.6.1-23.svn179
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6 years, 10 months
[simplescreenrecorder] fix build with ffmpeg-3.5
by Leigh Scott
commit 20491ec88ec563faf28c9419eac9d987a8b57778
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Thu Jan 18 03:41:24 2018 +0000
fix build with ffmpeg-3.5
ffmpeg35_buildfix.patch.patch | 61 +++++++++++++++++++++++++++++++++++++++++++
simplescreenrecorder.spec | 3 ++-
2 files changed, 63 insertions(+), 1 deletion(-)
---
diff --git a/ffmpeg35_buildfix.patch.patch b/ffmpeg35_buildfix.patch.patch
new file mode 100644
index 0000000..50dbde0
--- /dev/null
+++ b/ffmpeg35_buildfix.patch.patch
@@ -0,0 +1,61 @@
+--- a/src/AV/Output/BaseEncoder.cpp
++++ b/src/AV/Output/BaseEncoder.cpp
+@@ -214,7 +214,7 @@
+ }
+
+ // flush the encoder
+- if(!m_should_stop && (m_codec_context->codec->capabilities & CODEC_CAP_DELAY)) {
++ if(!m_should_stop && (m_codec_context->codec->capabilities & AV_CODEC_CAP_DELAY)) {
+ Logger::LogInfo("[BaseEncoder::EncoderThread] " + Logger::tr("Flushing encoder ..."));
+ while(!m_should_stop) {
+ if(!EncodeFrame(NULL)) {
+
+--- a/src/AV/Output/Muxer.cpp
++++ b/src/AV/Output/Muxer.cpp
+@@ -314,10 +314,10 @@
+
+ // not sure why this is needed, but it's in the example code and it doesn't work without this
+ if(m_format_context->oformat->flags & AVFMT_GLOBALHEADER)
+- (*codec_context)->flags |= CODEC_FLAG_GLOBAL_HEADER;
++ (*codec_context)->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
+
+ // if the codec is experimental, allow it
+- if(codec->capabilities & CODEC_CAP_EXPERIMENTAL) {
++ if(codec->capabilities & AV_CODEC_CAP_EXPERIMENTAL) {
+ Logger::LogWarning("[Muxer::AddStream] " + Logger::tr("Warning: This codec is considered experimental by libav/ffmpeg."));
+ (*codec_context)->strict_std_compliance = FF_COMPLIANCE_EXPERIMENTAL;
+ }
+
+--- a/src/AV/Output/AudioEncoder.cpp
++++ b/src/AV/Output/AudioEncoder.cpp
+@@ -59,7 +59,7 @@
+
+ unsigned int AudioEncoder::GetFrameSize() {
+ #if SSR_USE_AVCODEC_ENCODE_AUDIO2
+- return (GetCodecContext()->codec->capabilities & CODEC_CAP_VARIABLE_FRAME_SIZE)? DEFAULT_FRAME_SAMPLES : GetCodecContext()->frame_size;
++ return (GetCodecContext()->codec->capabilities & AV_CODEC_CAP_VARIABLE_FRAME_SIZE)? DEFAULT_FRAME_SAMPLES : GetCodecContext()->frame_size;
+ #else
+ return (GetCodecContext()->frame_size <= 1)? DEFAULT_FRAME_SAMPLES : GetCodecContext()->frame_size;
+ #endif
+@@ -123,7 +123,7 @@
+ if(key == "threads") {
+ codec_context->thread_count = ParseCodecOptionInt(key, value, 1, 100);
+ } else if(key == "qscale") {
+- codec_context->flags |= CODEC_FLAG_QSCALE;
++ codec_context->flags |= AV_CODEC_FLAG_QSCALE;
+ codec_context->global_quality = lrint(ParseCodecOptionDouble(key, value, -1.0e6, 1.0e6, FF_QP2LAMBDA));
+ } else if(key == "sampleformat") {
+ sample_format_name = value;
+
+--- a/src/AV/Output/VideoEncoder.cpp
++++ b/src/AV/Output/VideoEncoder.cpp
+@@ -131,7 +131,7 @@
+ if(key == "threads") {
+ codec_context->thread_count = ParseCodecOptionInt(key, value, 1, 100);
+ } else if(key == "qscale") {
+- codec_context->flags |= CODEC_FLAG_QSCALE;
++ codec_context->flags |= AV_CODEC_FLAG_QSCALE;
+ codec_context->global_quality = lrint(ParseCodecOptionDouble(key, value, -1.0e6, 1.0e6, FF_QP2LAMBDA));
+ } else if(key == "minrate") {
+ codec_context->rc_min_rate = ParseCodecOptionInt(key, value, 1, 1000000, 1000); // kbit/s
+
diff --git a/simplescreenrecorder.spec b/simplescreenrecorder.spec
index 4930976..610e0e9 100644
--- a/simplescreenrecorder.spec
+++ b/simplescreenrecorder.spec
@@ -7,6 +7,7 @@ Summary: Simple Screen Recorder is a screen recorder for Linux
License: GPLv3
URL: http://www.maartenbaert.be/simplescreenrecorder/
Source0: https://github.com/MaartenBaert/ssr/archive/%{version}.tar.gz
+Patch0: ffmpeg35_buildfix.patch.patch
BuildRequires: desktop-file-utils
BuildRequires: cmake3
@@ -36,7 +37,7 @@ Despite the name, this program is actually quite complex.
It's 'simple' in the sense that it's easier to use than ffmpeg/avconv or VLC
%prep
-%autosetup -n %{shortname}-%{version}
+%autosetup -p1 -n %{shortname}-%{version}
%build
6 years, 10 months
[HandBrake] Add ffmpeg-3.5 build fixes
by Leigh Scott
commit 99a8ddc42181ee77e9b96cce64ccca38c4a5ff73
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Thu Jan 18 03:15:20 2018 +0000
Add ffmpeg-3.5 build fixes
HandBrake.spec | 5 +
ffmpeg35_buildfix.patch | 260 ++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 265 insertions(+)
---
diff --git a/HandBrake.spec b/HandBrake.spec
index 627bc3f..141dab1 100644
--- a/HandBrake.spec
+++ b/HandBrake.spec
@@ -48,6 +48,10 @@ Patch3: %{name}-nostrip.patch
Patch4: %{name}-no-libva.patch
# Fix SubRip subtitle issue when built with FFmpeg
Patch5: https://trac.ffmpeg.org/raw-attachment/ticket/6304/handbrake_subrip.patch
+# ffmpeg35_buildfix.patch is taken from these upstream commits
+# https://github.com/HandBrake/HandBrake/commit/532f067cca2113ea289282ea57e...
+# https://github.com/HandBrake/HandBrake/commit/f002cf7ad405b93c5bc52e3f12c...
+Patch6: ffmpeg35_buildfix.patch
BuildRequires: a52dec-devel >= 0.7.4
BuildRequires: cmake
@@ -137,6 +141,7 @@ gpgv2 --keyring %{S:2} %{S:1} %{S:0}
%patch3 -p1
%patch4 -p1
%{!?_without_ffmpeg:%patch5 -p1}
+%patch6 -p1
mkdir -p download
%{?_without_ffmpeg:cp -p %{SOURCE10} download}
diff --git a/ffmpeg35_buildfix.patch b/ffmpeg35_buildfix.patch
new file mode 100644
index 0000000..6d28eb5
--- /dev/null
+++ b/ffmpeg35_buildfix.patch
@@ -0,0 +1,260 @@
+From 532f067cca2113ea289282ea57e594efab5ba2a0 Mon Sep 17 00:00:00 2001
+From: John Stebbins <jstebbins.hb(a)gmail.com>
+Date: Thu, 6 Jul 2017 09:15:21 -0700
+Subject: [PATCH] fix use of deprecated libav defines
+
+Fixes https://github.com/HandBrake/HandBrake/issues/815
+---
+ libhb/decavcodec.c | 2 +-
+ libhb/encavcodec.c | 10 +++++-----
+ libhb/encavcodecaudio.c | 4 ++--
+ libhb/hb.c | 2 +-
+ libhb/muxavformat.c | 28 ++++++++++++++--------------
+ 5 files changed, 23 insertions(+), 23 deletions(-)
+
+diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c
+index a6f120800..74d07d21b 100644
+--- a/libhb/decavcodec.c
++++ b/libhb/decavcodec.c
+@@ -1584,7 +1584,7 @@ static int setup_extradata( hb_work_object_t *w, hb_buffer_t *in )
+ {
+ pv->context->extradata_size = size;
+ pv->context->extradata =
+- av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE);
++ av_malloc(size + AV_INPUT_BUFFER_PADDING_SIZE);
+ if (pv->context->extradata == NULL)
+ return 1;
+ memcpy(pv->context->extradata, in->data, size);
+diff --git a/libhb/encavcodec.c b/libhb/encavcodec.c
+index 76fe3e7c7..59d491148 100644
+--- a/libhb/encavcodec.c
++++ b/libhb/encavcodec.c
+@@ -235,7 +235,7 @@ int encavcodecInit( hb_work_object_t * w, hb_job_t * job )
+ /* Constant quantizer */
+ // These settings produce better image quality than
+ // what was previously used
+- context->flags |= CODEC_FLAG_QSCALE;
++ context->flags |= AV_CODEC_FLAG_QSCALE;
+ context->global_quality = FF_QP2LAMBDA * job->vquality + 0.5;
+ //Set constant quality for libvpx
+ if ( w->codec_param == AV_CODEC_ID_VP8 ||
+@@ -278,11 +278,11 @@ int encavcodecInit( hb_work_object_t * w, hb_job_t * job )
+
+ if( job->mux & HB_MUX_MASK_MP4 )
+ {
+- context->flags |= CODEC_FLAG_GLOBAL_HEADER;
++ context->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
+ }
+ if( job->grayscale )
+ {
+- context->flags |= CODEC_FLAG_GRAY;
++ context->flags |= AV_CODEC_FLAG_GRAY;
+ }
+
+ if( job->pass_id == HB_PASS_ENCODE_1ST ||
+@@ -302,7 +302,7 @@ int encavcodecInit( hb_work_object_t * w, hb_job_t * job )
+ ret = 1;
+ goto done;
+ }
+- context->flags |= CODEC_FLAG_PASS1;
++ context->flags |= AV_CODEC_FLAG_PASS1;
+ }
+ else
+ {
+@@ -341,7 +341,7 @@ int encavcodecInit( hb_work_object_t * w, hb_job_t * job )
+ fclose( pv->file );
+ pv->file = NULL;
+
+- context->flags |= CODEC_FLAG_PASS2;
++ context->flags |= AV_CODEC_FLAG_PASS2;
+ context->stats_in = log;
+ }
+ }
+diff --git a/libhb/encavcodecaudio.c b/libhb/encavcodecaudio.c
+index 5f95c7383..ad3f7e3f7 100644
+--- a/libhb/encavcodecaudio.c
++++ b/libhb/encavcodecaudio.c
+@@ -178,7 +178,7 @@ static int encavcodecaInit(hb_work_object_t *w, hb_job_t *job)
+ else if (audio->config.out.quality >= 0)
+ {
+ context->global_quality = audio->config.out.quality * FF_QP2LAMBDA;
+- context->flags |= CODEC_FLAG_QSCALE;
++ context->flags |= AV_CODEC_FLAG_QSCALE;
+ if (audio->config.out.codec == HB_ACODEC_FDK_AAC ||
+ audio->config.out.codec == HB_ACODEC_FDK_HAAC)
+ {
+@@ -197,7 +197,7 @@ static int encavcodecaInit(hb_work_object_t *w, hb_job_t *job)
+ // so that it fills extradata with global header information.
+ // If this flag is not set, it inserts the data into each
+ // packet instead.
+- context->flags |= CODEC_FLAG_GLOBAL_HEADER;
++ context->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
+
+ if (hb_avcodec_open(context, codec, &av_opts, 0))
+ {
+diff --git a/libhb/hb.c b/libhb/hb.c
+index 3df3ec3ac..77cf6b2bf 100644
+--- a/libhb/hb.c
++++ b/libhb/hb.c
+@@ -130,7 +130,7 @@ int hb_avcodec_open(AVCodecContext *avctx, AVCodec *codec,
+ avctx->thread_count = 1;
+ }
+
+- if (codec->capabilities & CODEC_CAP_EXPERIMENTAL)
++ if (codec->capabilities & AV_CODEC_CAP_EXPERIMENTAL)
+ {
+ // "experimental" encoders will not open without this
+ avctx->strict_std_compliance = FF_COMPLIANCE_EXPERIMENTAL;
+diff --git a/libhb/muxavformat.c b/libhb/muxavformat.c
+index f628b9628..cad3c09de 100644
+--- a/libhb/muxavformat.c
++++ b/libhb/muxavformat.c
+@@ -219,7 +219,7 @@ static int avformatInit( hb_mux_object_t * m )
+ /* Taken from x264 muxers.c */
+ priv_size = 5 + 1 + 2 + job->config.h264.sps_length + 1 + 2 +
+ job->config.h264.pps_length;
+- priv_data = av_malloc(priv_size + FF_INPUT_BUFFER_PADDING_SIZE);
++ priv_data = av_malloc(priv_size + AV_INPUT_BUFFER_PADDING_SIZE);
+ if (priv_data == NULL)
+ {
+ hb_error("H.264 extradata: malloc failure");
+@@ -255,7 +255,7 @@ static int avformatInit( hb_mux_object_t * m )
+ if (job->config.mpeg4.length != 0)
+ {
+ priv_size = job->config.mpeg4.length;
+- priv_data = av_malloc(priv_size + FF_INPUT_BUFFER_PADDING_SIZE);
++ priv_data = av_malloc(priv_size + AV_INPUT_BUFFER_PADDING_SIZE);
+ if (priv_data == NULL)
+ {
+ hb_error("MPEG4 extradata: malloc failure");
+@@ -271,7 +271,7 @@ static int avformatInit( hb_mux_object_t * m )
+ if (job->config.mpeg4.length != 0)
+ {
+ priv_size = job->config.mpeg4.length;
+- priv_data = av_malloc(priv_size + FF_INPUT_BUFFER_PADDING_SIZE);
++ priv_data = av_malloc(priv_size + AV_INPUT_BUFFER_PADDING_SIZE);
+ if (priv_data == NULL)
+ {
+ hb_error("MPEG2 extradata: malloc failure");
+@@ -307,7 +307,7 @@ static int avformatInit( hb_mux_object_t * m )
+ }
+
+ priv_size = size;
+- priv_data = av_malloc(priv_size + FF_INPUT_BUFFER_PADDING_SIZE);
++ priv_data = av_malloc(priv_size + AV_INPUT_BUFFER_PADDING_SIZE);
+ if (priv_data == NULL)
+ {
+ hb_error("Theora extradata: malloc failure");
+@@ -337,7 +337,7 @@ static int avformatInit( hb_mux_object_t * m )
+ if (job->config.h265.headers_length > 0)
+ {
+ priv_size = job->config.h265.headers_length;
+- priv_data = av_malloc(priv_size + FF_INPUT_BUFFER_PADDING_SIZE);
++ priv_data = av_malloc(priv_size + AV_INPUT_BUFFER_PADDING_SIZE);
+ if (priv_data == NULL)
+ {
+ hb_error("H.265 extradata: malloc failure");
+@@ -450,7 +450,7 @@ static int avformatInit( hb_mux_object_t * m )
+ }
+
+ priv_size = size;
+- priv_data = av_malloc(priv_size + FF_INPUT_BUFFER_PADDING_SIZE);
++ priv_data = av_malloc(priv_size + AV_INPUT_BUFFER_PADDING_SIZE);
+ if (priv_data == NULL)
+ {
+ hb_error("Vorbis extradata: malloc failure");
+@@ -473,7 +473,7 @@ static int avformatInit( hb_mux_object_t * m )
+ if (audio->priv.config.extradata.length)
+ {
+ priv_size = audio->priv.config.extradata.length;
+- priv_data = av_malloc(priv_size + FF_INPUT_BUFFER_PADDING_SIZE);
++ priv_data = av_malloc(priv_size + AV_INPUT_BUFFER_PADDING_SIZE);
+ if (priv_data == NULL)
+ {
+ hb_error("OPUS extradata: malloc failure");
+@@ -491,7 +491,7 @@ static int avformatInit( hb_mux_object_t * m )
+ if (audio->priv.config.extradata.length)
+ {
+ priv_size = audio->priv.config.extradata.length;
+- priv_data = av_malloc(priv_size + FF_INPUT_BUFFER_PADDING_SIZE);
++ priv_data = av_malloc(priv_size + AV_INPUT_BUFFER_PADDING_SIZE);
+ if (priv_data == NULL)
+ {
+ hb_error("FLAC extradata: malloc failure");
+@@ -517,7 +517,7 @@ static int avformatInit( hb_mux_object_t * m )
+ //
+ // So allocate extra bytes
+ priv_size = audio->priv.config.extradata.length;
+- priv_data = av_malloc(priv_size + FF_INPUT_BUFFER_PADDING_SIZE);
++ priv_data = av_malloc(priv_size + AV_INPUT_BUFFER_PADDING_SIZE);
+ if (priv_data == NULL)
+ {
+ hb_error("AAC extradata: malloc failure");
+@@ -758,7 +758,7 @@ static int avformatInit( hb_mux_object_t * m )
+ rgb[12], rgb[13], rgb[14], rgb[15]);
+
+ priv_size = len + 1;
+- priv_data = av_malloc(priv_size + FF_INPUT_BUFFER_PADDING_SIZE);
++ priv_data = av_malloc(priv_size + AV_INPUT_BUFFER_PADDING_SIZE);
+ if (priv_data == NULL)
+ {
+ hb_error("VOBSUB extradata: malloc failure");
+@@ -791,7 +791,7 @@ static int avformatInit( hb_mux_object_t * m )
+ if (subtitle->extradata_size)
+ {
+ priv_size = subtitle->extradata_size;
+- priv_data = av_malloc(priv_size + FF_INPUT_BUFFER_PADDING_SIZE);
++ priv_data = av_malloc(priv_size + AV_INPUT_BUFFER_PADDING_SIZE);
+ if (priv_data == NULL)
+ {
+ hb_error("SSA extradata: malloc failure");
+@@ -841,7 +841,7 @@ static int avformatInit( hb_mux_object_t * m )
+ properties[17] = width & 0xff;
+
+ priv_size = sizeof(properties);
+- priv_data = av_malloc(priv_size + FF_INPUT_BUFFER_PADDING_SIZE);
++ priv_data = av_malloc(priv_size + AV_INPUT_BUFFER_PADDING_SIZE);
+ if (priv_data == NULL)
+ {
+ hb_error("TX3G extradata: malloc failure");
+@@ -898,7 +898,7 @@ static int avformatInit( hb_mux_object_t * m )
+ }
+
+ priv_size = attachment->size;
+- priv_data = av_malloc(priv_size + FF_INPUT_BUFFER_PADDING_SIZE);
++ priv_data = av_malloc(priv_size + AV_INPUT_BUFFER_PADDING_SIZE);
+ if (priv_data == NULL)
+ {
+ hb_error("Font extradata: malloc failure");
+@@ -1448,7 +1448,7 @@ static int avformatEnd(hb_mux_object_t *m)
+
+ priv_size = audio->priv.config.extradata.length;
+ priv_data = av_realloc(st->codecpar->extradata, priv_size +
+- FF_INPUT_BUFFER_PADDING_SIZE);
++ AV_INPUT_BUFFER_PADDING_SIZE);
+ if (priv_data == NULL)
+ {
+ break;
+From f002cf7ad405b93c5bc52e3f12c960c4514b7957 Mon Sep 17 00:00:00 2001
+From: John Stebbins <jstebbins.hb(a)gmail.com>
+Date: Thu, 6 Jul 2017 11:42:25 -0700
+Subject: [PATCH] fix another use of deprecated libav define
+
+---
+ libhb/encavcodecaudio.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libhb/encavcodecaudio.c b/libhb/encavcodecaudio.c
+index ad3f7e3f7..e13963292 100644
+--- a/libhb/encavcodecaudio.c
++++ b/libhb/encavcodecaudio.c
+@@ -223,7 +223,7 @@ static int encavcodecaInit(hb_work_object_t *w, hb_job_t *job)
+ pv->input_buf = malloc(pv->input_samples * sizeof(float));
+ // Some encoders in libav (e.g. fdk-aac) fail if the output buffer
+ // size is not some minumum value. 8K seems to be enough :(
+- pv->max_output_bytes = MAX(FF_MIN_BUFFER_SIZE,
++ pv->max_output_bytes = MAX(AV_INPUT_BUFFER_MIN_SIZE,
+ (pv->input_samples *
+ av_get_bytes_per_sample(context->sample_fmt)));
+
+
6 years, 10 months
[wxsvg] Rebuilt for ffmpeg-3.5 git
by Leigh Scott
commit cb4fbf2e78e1863941c1374eaa3c1832f829ae01
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Thu Jan 18 02:54:56 2018 +0000
Rebuilt for ffmpeg-3.5 git
wxsvg.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/wxsvg.spec b/wxsvg.spec
index da01fbe..8e82449 100644
--- a/wxsvg.spec
+++ b/wxsvg.spec
@@ -1,6 +1,6 @@
Name: wxsvg
Version: 1.5.12
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: C++ library to create, manipulate and render SVG files
Group: System Environment/Libraries
@@ -72,6 +72,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_libdir}/pkgconfig/lib%{name}.pc
%changelog
+* Thu Jan 18 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 1.5.12-3
+- Rebuilt for ffmpeg-3.5 git
+
* Tue Oct 17 2017 Leigh Scott <leigh123linux(a)googlemail.com> - 1.5.12-2
- Rebuild for ffmpeg update
6 years, 10 months
[xmms2-freeworld] Rebuilt for ffmpeg-3.5 git
by Leigh Scott
commit 5d34b73043465343f8e9c20656437f087934abe0
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Thu Jan 18 02:53:55 2018 +0000
Rebuilt for ffmpeg-3.5 git
xmms2-freeworld.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/xmms2-freeworld.spec b/xmms2-freeworld.spec
index 3b6b6a3..ea4f64b 100644
--- a/xmms2-freeworld.spec
+++ b/xmms2-freeworld.spec
@@ -3,7 +3,7 @@
Name: xmms2-freeworld
Summary: Plugins for XMMS2 that cannot be included in Fedora
Version: 0.8
-Release: 19%{?dist}
+Release: 20%{?dist}
License: LGPLv2+ and GPL+ and BSD
Group: Applications/Multimedia
# Fedora's xmms2 has to use a sanitized tarball, we don't.
@@ -214,6 +214,9 @@ rm -rf %{buildroot}
%{_libdir}/xmms2/libxmms_mp4.so
%changelog
+* Thu Jan 18 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 0.8-20
+- Rebuilt for ffmpeg-3.5 git
+
* Thu Aug 31 2017 RPM Fusion Release Engineering <kwizart(a)rpmfusion.org> - 0.8-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6 years, 10 months
[telegram-desktop] Rebuilt for ffmpeg-3.5 git
by Leigh Scott
commit b71f51b93871d1b5ed06563f133ed6b930c4967c
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Thu Jan 18 02:50:44 2018 +0000
Rebuilt for ffmpeg-3.5 git
telegram-desktop.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 2ff2f78..ff38d63 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -11,7 +11,7 @@
Summary: Telegram is a new era of messaging
Name: telegram-desktop
Version: 1.2.6
-Release: 1%{?dist}
+Release: 2%{?dist}
# Application and 3rd-party modules licensing:
# * S0 (Telegram Desktop) - GPLv3+ with OpenSSL exception -- main source;
@@ -147,6 +147,9 @@ fi
%{_datadir}/appdata/%{name}.appdata.xml
%changelog
+* Thu Jan 18 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 1.2.6-2
+- Rebuilt for ffmpeg-3.5 git
+
* Sat Dec 30 2017 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.2.6-1
- Updated to 1.2.6.
6 years, 10 months
[simplescreenrecorder] Rebuilt for ffmpeg-3.5 git
by Leigh Scott
commit cc9b41bd6572ccfba931eaa99d01b51d83e30ae4
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Thu Jan 18 02:49:38 2018 +0000
Rebuilt for ffmpeg-3.5 git
simplescreenrecorder.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/simplescreenrecorder.spec b/simplescreenrecorder.spec
index 2be14cf..4930976 100644
--- a/simplescreenrecorder.spec
+++ b/simplescreenrecorder.spec
@@ -1,7 +1,7 @@
%define shortname ssr
Name: simplescreenrecorder
Version: 0.3.9
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Simple Screen Recorder is a screen recorder for Linux
License: GPLv3
@@ -97,6 +97,9 @@ fi
%{_datadir}/appdata/%{name}.appdata.xml
%changelog
+* Thu Jan 18 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 0.3.9-3
+- Rebuilt for ffmpeg-3.5 git
+
* Wed Dec 13 2017 Leigh Scott <leigh123linux(a)googlemail.com> - 0.3.9-2
- Use build requires cmake3 instead of cmake
6 years, 10 months