Projects
Multimedia
avidemux
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 15
View file
avidemux.changes
Changed
@@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Dec 9 09:42:37 UTC 2015 - jslaby@suse.cz + +- add fix-internal-plugins-load.patch +- build as RelWithDebInfo -- generate debuginfo + +------------------------------------------------------------------- Sat Dec 13 18:18:39 UTC 2014 - joerg.lorenzen@ki.tng.de - removed some unneeded dependencies to enable build on armv6l/armv6hl
View file
avidemux.spec
Changed
@@ -30,6 +30,7 @@ Source4: ffmpeg-%{ffmpeg_version}.tar.bz2 Source5: libavcodec_libavcodec.v.patch Patch0: avidemux-cpu_armel.patch +Patch1: fix-internal-plugins-load.patch License: GPL-2.0 Group: Productivity/Multimedia/Video/Editors and Convertors @@ -141,6 +142,7 @@ cp %{S:5} . popd %patch0 +%patch1 -p1 %build %if 0%{?sles_version} @@ -158,6 +160,7 @@ %__mkdir_p build cd build cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ .. %__make @@ -173,6 +176,7 @@ %__mkdir_p build pushd build cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DAVIDEMUX_SOURCE_DIR=%{_builddir}/%{name}_%{version} \ -DAVIDEMUX_CORECONFIG_DIR=%{_builddir}/%{name}_%{version}/build/config \
View file
fix-internal-plugins-load.patch
Added
@@ -0,0 +1,40 @@ +From: Jiri Slaby <jslaby@suse.cz> +Subject: Fix internal plugins load + +When one selects an internal plugin like YV12 or MPEG-2 requant, +avidemux crashes when trying to configure the plugin. It is because +only part of the structure is initialized and ->configure hook is +random bytes. + +Initialize the stored structure properly, similar to avidemux 2.6.10. +This was completely rewritten there though. + +Signed-off-by: Jiri Slaby <jslaby@suse.cz> +--- + avidemux/ADM_encoder/ADM_pluginLoad.cpp | 15 ++------------- + 1 file changed, 2 insertions(+), 13 deletions(-) + +--- a/avidemux/ADM_encoder/ADM_pluginLoad.cpp ++++ b/avidemux/ADM_encoder/ADM_pluginLoad.cpp +@@ -277,19 +277,8 @@ int loadVideoEncoderPlugins(int uiType, + { + if (string(internalVideoCodecInfo[i]->tagName) == itRankedPlugin->id) + { +- COMPRES_PARAMS param; +- CODEC_INFO info; +- +- param.codec = internalVideoCodec[i]->codec; +- param.extra_param = internalVideoCodec[i]->extra_param; +- param.extraSettings = internalVideoCodec[i]->extraSettings; +- param.extraSettingsLen = internalVideoCodec[i]->extraSettingsLen; +- +- info.menuName = internalVideoCodecInfo[i]->menuName; +- info.tagName = internalVideoCodecInfo[i]->tagName; +- +- AllVideoCodec.push_back(param); +- AllVideoCodecInfo.push_back(info); ++ AllVideoCodec.push_back(*internalVideoCodec[i]); ++ AllVideoCodecInfo.push_back(*internalVideoCodecInfo[i]); + found = true; + + if (itRankedPlugin->isDefault)
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
.