Overview

Request 5407 (accepted)

No description set
Submit package Staging / handbrake to package Multimedia / handbrake

handbrake.changes Changed
x
 
1
@@ -1,4 +1,9 @@
2
 -------------------------------------------------------------------
3
+Tue Jun 15 17:28:49 UTC 2021 - enzokiel@kabelmail.de
4
+
5
+- Added patch fix-audio-encoders-when-linking-to-FFmpeg-4.4.patch.
6
+
7
+-------------------------------------------------------------------
8
 Thu Jul 16 09:20:35 UTC 2020 - enzokiel@kabelmail.de
9
 
10
 - Disable mfx, handbrake crashes with message
11
handbrake.spec Changed
17
 
1
@@ -30,6 +30,7 @@
2
 Patch1:         HandBrake-build-shared.patch
3
 Patch2:         HandBrake-qsv.patch
4
 Patch3:         HandBrake-metainfo.patch
5
+Patch4:         fix-audio-encoders-when-linking-to-FFmpeg-4.4.patch
6
 License:        GPL-2.0+
7
 Group:          Productivity/Multimedia/Video/Editors and Convertors
8
 BuildRequires:  autoconf
9
@@ -129,6 +130,7 @@
10
 %if 0%{?sle_version} <= 150200 && 0%{?is_opensuse}
11
 %patch3 -p1
12
 %endif
13
+%patch4 -p0
14
 
15
 %build
16
 export CFLAGS="%{optflags} -fno-strict-aliasing -Wno-unused -I%{_includedir}/ffmpeg"
17
fix-audio-encoders-when-linking-to-FFmpeg-4.4.patch Added
16
 
1
@@ -0,0 +1,14 @@
2
+--- libhb/encavcodecaudio.c.orig   2020-06-13 16:05:35.000000000 +0200
3
++++ libhb/encavcodecaudio.c    2021-06-15 19:18:29.746891810 +0200
4
+@@ -409,7 +409,10 @@
5
+ 
6
+         // Prepare input frame
7
+         int     out_size;
8
+-        AVFrame frame = { .nb_samples = pv->samples_per_frame, };
9
++        AVFrame frame = { .nb_samples = pv->samples_per_frame,
10
++                          .format = pv->context->sample_fmt,
11
++                          .channels = pv->context->channels
12
++        };
13
+ 
14
+         out_size = av_samples_get_buffer_size(NULL,
15
+                                               pv->context->channels,
16
Refresh
Refresh
Request History
enzokiel's avatar

enzokiel created request almost 4 years ago


enzokiel's avatar

enzokiel accepted request almost 4 years ago