Projects
Multimedia
handbrake
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 42
View file
handbrake.changes
Changed
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Tue Jun 15 17:28:49 UTC 2021 - enzokiel@kabelmail.de + +- Added patch fix-audio-encoders-when-linking-to-FFmpeg-4.4.patch. + +------------------------------------------------------------------- Thu Jul 16 09:20:35 UTC 2020 - enzokiel@kabelmail.de - Disable mfx, handbrake crashes with message
View file
handbrake.spec
Changed
@@ -30,6 +30,7 @@ Patch1: HandBrake-build-shared.patch Patch2: HandBrake-qsv.patch Patch3: HandBrake-metainfo.patch +Patch4: fix-audio-encoders-when-linking-to-FFmpeg-4.4.patch License: GPL-2.0+ Group: Productivity/Multimedia/Video/Editors and Convertors BuildRequires: autoconf @@ -129,6 +130,7 @@ %if 0%{?sle_version} <= 150200 && 0%{?is_opensuse} %patch3 -p1 %endif +%patch4 -p0 %build export CFLAGS="%{optflags} -fno-strict-aliasing -Wno-unused -I%{_includedir}/ffmpeg"
View file
fix-audio-encoders-when-linking-to-FFmpeg-4.4.patch
Added
@@ -0,0 +1,14 @@ +--- libhb/encavcodecaudio.c.orig 2020-06-13 16:05:35.000000000 +0200 ++++ libhb/encavcodecaudio.c 2021-06-15 19:18:29.746891810 +0200 +@@ -409,7 +409,10 @@ + + // Prepare input frame + int out_size; +- AVFrame frame = { .nb_samples = pv->samples_per_frame, }; ++ AVFrame frame = { .nb_samples = pv->samples_per_frame, ++ .format = pv->context->sample_fmt, ++ .channels = pv->context->channels ++ }; + + out_size = av_samples_get_buffer_size(NULL, + pv->context->channels,
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.