Accepting request 823989 from multimedia:libs

- Update to version 6.22.1
  * This patch version only fixes the version reported in the
    CMake build.
- Update to version 6.22.0
  Framework:
  * Added mlt_properties_exists() and
    Mlt::Properties::property_exists().
  * Added mlt_audio C class
  * Added Mlt::Audio C++ class
  * Fixed drop-frame timecode for 59.94 fps.
  * Fixed crash on null pointer passed to mlt_consumer_stop().
  Modules:
  * Fixed frei0r transitions with preview scaling.
  * Fixed affine ox and oy properties incorrect with preview
    scaling.
  * Fixed a crash and incorrect preview scaling with more than
    one affine
    filter active on the same frame.
  * Fixed preview scaling for the rotoscoping filter.
  * Added the sample_fmt property to the avformat consumer.
  * Fixed a possible segfault in the mix transition.
  * Removed support for text keyframes to the text and qtext
    filters
    to fix regression on strings containing '='.
  * Disable frame-threading with bigsh0t, distort0r, and medians
    frei0r plugins.
  * Added "meta.media.%d.stream.projection" property the
    avformat producer.
  * Fixed a crash with with filters not supporting preview scale
    in frei0r transitions.
  * Fix artifacts in luma transition and affine filter with
    frame-threading.
  * Stop including 'title="Anonymous Submission"' in xml
    consumer.
  * Fixed a crash in opencv.tracker filter.
  * Fixed a crash in composite transition if luma file fails to
    load.
  * Added validations in opengl module to prevent asserts in
    Movit.
  * Fixed building with OpenCV 4.
  * Moved some services from gtk2 module to new gdk module:
    gtkrescale filter, pango producer and pixbuf producer
  * Deprecated the gtk2 module and no longer enabled by default.
  * Changed avformat producer to accept a '?' in
    argument/resource property by escaping it as '\?'.
  * Changed the background property of the affine filter to be
    mutable.
  * Deprecated the linsys (DVEO SDI) module.
  * Fixed changing the audio_index property in the avformat
    producer.
  * Changed resample filter to more resiliant to frequency
    changes.
  * Added a video_delay property to the sdl2_audio and rtaudio
    consumers.
  * Add millisecond options to the timer filter.
  * Fixed the in point handling for the timewarp producer.
  * Fixed some audio gaps and sync issues with the rbpitch
    filter and timewarp pitch compensation.
  * Fixed a possible crash caused by producer consumer.
  * Changed avformat consumer to set AVOption color_primaries
    based on the MLT colorspace if not already set as property.
  * Fixed crop right on image with odd width skews image in crop
    filter.
  * Fixed incorrect silence value for unsigned 8-bit audio in
    avformat producer.
  * Changed qimage to use Qt's internal orientation detection
    instead of libexif.
  * Reduced clicks in mix transition by silencing buffers on
    discontinuity.
  * Improved A/V synchronization in (sw)resample filters - also
    reduces audio clicks.
  * Improved speed of the qimage producer.
  * Fixed incorrect color using libx264rgb in avformat consumer.
  * Fixed relative paths for avfilters that have the "filename"
    option.
  * Fixed some avfilters dropping the alpha channel: smartblur,
    vaguedenoiser.
  * Improved performance of the resize filter.
  * Fixed an affine filter inside a transition was always
    nearest neighbor interpolation.
  * Changed the lift_gamma_gain filter to use round values up.
  Other:
  * Fixed melt option "-group" applies to an implicit consumer.
  * Added "-quiet" option to melt (implies -silent but more so).
  * CMake build improvments adding modules: gdk, jackrack, lumas
    resample, sox and vorbis
  * Added avformat consumer presets: Slide-Deck-H264 and
    Slide-Deck-HEVC
  * Removed intra=1 from some avformat presets (use g=1 for
    intra only): intermediate/MPEG-2, intermediate/MPEG-4
    and lossless/H.264
- Drop 0001-Fix-build-with-Qt-5.15.0.patch (merged upstream)

OBS-URL: https://build.opensuse.org/request/show/823989
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmlt?expand=0&rev=50
This commit is contained in:
Dominique Leuenberger 2020-08-03 12:17:42 +00:00 committed by Git OBS Bridge
commit 052bf48912
6 changed files with 108 additions and 63 deletions

View File

@ -1,52 +0,0 @@
From 9f5e935fb2127320d4ebf03e174ad6dbc0581152 Mon Sep 17 00:00:00 2001
From: Heiko Becker <heirecka@exherbo.org>
Date: Tue, 24 Mar 2020 21:17:05 +0100
Subject: [PATCH] Fix build with Qt 5.15.0
QPainterPath is no longer included via qtransform.h (since
5.15.0-beta2, 50d2acdc93b4de2ba56eb67787e2bdcb21dd4bea in qtbase.git).
---
src/modules/qt/filter_qtext.cpp | 1 +
src/modules/qt/graph.cpp | 1 +
src/modules/qt/producer_qtext.cpp | 1 +
3 files changed, 3 insertions(+)
diff --git a/src/modules/qt/filter_qtext.cpp b/src/modules/qt/filter_qtext.cpp
index dd7d4ae..dffd430 100644
--- a/src/modules/qt/filter_qtext.cpp
+++ b/src/modules/qt/filter_qtext.cpp
@@ -21,6 +21,7 @@
#include <framework/mlt.h>
#include <framework/mlt_log.h>
#include <QPainter>
+#include <QPainterPath>
#include <QString>
static QRectF get_text_path( QPainterPath* qpath, mlt_properties filter_properties, const char* text, double scale )
diff --git a/src/modules/qt/graph.cpp b/src/modules/qt/graph.cpp
index 6d4d669..7e91bb1 100644
--- a/src/modules/qt/graph.cpp
+++ b/src/modules/qt/graph.cpp
@@ -18,6 +18,7 @@
*/
#include "graph.h"
+#include <QPainterPath>
#include <QVector>
#include <math.h>
diff --git a/src/modules/qt/producer_qtext.cpp b/src/modules/qt/producer_qtext.cpp
index 603c2b7..ff95a8e 100644
--- a/src/modules/qt/producer_qtext.cpp
+++ b/src/modules/qt/producer_qtext.cpp
@@ -26,6 +26,7 @@
#include <QImage>
#include <QColor>
#include <QPainter>
+#include <QPainterPath>
#include <QFont>
#include <QString>
#include <QTextCodec>
--
2.26.0

View File

@ -1,3 +1,103 @@
-------------------------------------------------------------------
Sun Aug 2 09:06:09 UTC 2020 - aloisio@gmx.com
- Update to version 6.22.1
* This patch version only fixes the version reported in the
CMake build.
-------------------------------------------------------------------
Fri Jul 31 06:40:47 UTC 2020 - aloisio@gmx.com
- Update to version 6.22.0
Framework:
* Added mlt_properties_exists() and
Mlt::Properties::property_exists().
* Added mlt_audio C class
* Added Mlt::Audio C++ class
* Fixed drop-frame timecode for 59.94 fps.
* Fixed crash on null pointer passed to mlt_consumer_stop().
Modules:
* Fixed frei0r transitions with preview scaling.
* Fixed affine ox and oy properties incorrect with preview
scaling.
* Fixed a crash and incorrect preview scaling with more than
one affine
filter active on the same frame.
* Fixed preview scaling for the rotoscoping filter.
* Added the sample_fmt property to the avformat consumer.
* Fixed a possible segfault in the mix transition.
* Removed support for text keyframes to the text and qtext
filters
to fix regression on strings containing '='.
* Disable frame-threading with bigsh0t, distort0r, and medians
frei0r plugins.
* Added "meta.media.%d.stream.projection" property the
avformat producer.
* Fixed a crash with with filters not supporting preview scale
in frei0r transitions.
* Fix artifacts in luma transition and affine filter with
frame-threading.
* Stop including 'title="Anonymous Submission"' in xml
consumer.
* Fixed a crash in opencv.tracker filter.
* Fixed a crash in composite transition if luma file fails to
load.
* Added validations in opengl module to prevent asserts in
Movit.
* Fixed building with OpenCV 4.
* Moved some services from gtk2 module to new gdk module:
gtkrescale filter, pango producer and pixbuf producer
* Deprecated the gtk2 module and no longer enabled by default.
* Changed avformat producer to accept a '?' in
argument/resource property by escaping it as '\?'.
* Changed the background property of the affine filter to be
mutable.
* Deprecated the linsys (DVEO SDI) module.
* Fixed changing the audio_index property in the avformat
producer.
* Changed resample filter to more resiliant to frequency
changes.
* Added a video_delay property to the sdl2_audio and rtaudio
consumers.
* Add millisecond options to the timer filter.
* Fixed the in point handling for the timewarp producer.
* Fixed some audio gaps and sync issues with the rbpitch
filter and timewarp pitch compensation.
* Fixed a possible crash caused by producer consumer.
* Changed avformat consumer to set AVOption color_primaries
based on the MLT colorspace if not already set as property.
* Fixed crop right on image with odd width skews image in crop
filter.
* Fixed incorrect silence value for unsigned 8-bit audio in
avformat producer.
* Changed qimage to use Qt's internal orientation detection
instead of libexif.
* Reduced clicks in mix transition by silencing buffers on
discontinuity.
* Improved A/V synchronization in (sw)resample filters - also
reduces audio clicks.
* Improved speed of the qimage producer.
* Fixed incorrect color using libx264rgb in avformat consumer.
* Fixed relative paths for avfilters that have the "filename"
option.
* Fixed some avfilters dropping the alpha channel: smartblur,
vaguedenoiser.
* Improved performance of the resize filter.
* Fixed an affine filter inside a transition was always
nearest neighbor interpolation.
* Changed the lift_gamma_gain filter to use round values up.
Other:
* Fixed melt option "-group" applies to an implicit consumer.
* Added "-quiet" option to melt (implies -silent but more so).
* CMake build improvments adding modules: gdk, jackrack, lumas
resample, sox and vorbis
* Added avformat consumer presets: Slide-Deck-H264 and
Slide-Deck-HEVC
* Removed intra=1 from some avformat presets (use g=1 for
intra only): intermediate/MPEG-2, intermediate/MPEG-4
and lossless/H.264
- Drop 0001-Fix-build-with-Qt-5.15.0.patch (merged upstream)
-------------------------------------------------------------------
Thu Apr 2 16:37:52 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -21,14 +21,14 @@
%define _name mlt
%define libname lib%{_name}
%define lversion 6.20.0
%define lversion 6.22.1
%define soname 6
%define _name_pp %{_name}++
%define libname_pp lib%{_name_pp}
%define soname_pp 3
Name: %{libname}
Version: 6.20.0
Version: 6.22.1
Release: 0
Summary: Multimedia framework for television broadcasting
License: GPL-3.0-or-later
@ -39,8 +39,6 @@ Source0: https://github.com/mltframework/mlt/archive/v%{version}.tar.gz#/
Patch1: libmlt-0.8.2-vdpau.patch
# PATCH-FIX-UPSTREAM libmlt-fixluma.patch aloisio@gmx.com -- add LD_LIBRARY_PATH so that luma can run
Patch2: libmlt-fixluma.patch
# PATCH-FIX-UPSTREAM 0001-Fix-build-with-Qt-5.15.0.patch
Patch3: 0001-Fix-build-with-Qt-5.15.0.patch
BuildRequires: fdupes
%if 0%{?suse_version} >= 1500
BuildRequires: gcc-c++
@ -208,7 +206,6 @@ This package contains python bindings.
%setup -q -n %{_name}-%{version}
%patch1
%patch2 -p1
%patch3 -p1
# To complement libmlt-0.8.0-vdpau.patch.
# When vdpau support is not compiled it will break the code. Doesn't matter because the code will not be used anyway.
@ -309,7 +306,7 @@ rm -f %{buildroot}%{_datadir}/mlt
%files -n %{libname}%{soname}-modules -f module_data.dirs
%defattr(0644, root, root, 0755)
%doc AUTHORS ChangeLog NEWS README
%doc AUTHORS NEWS README
%license GPLv3 COPYING GPL
%{_libdir}/%{_name}-%{soname}/
%dir %{_datadir}/%{_name}-%{soname}/

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ab211e27c06c0688f9cbe2d74dc0623624ef75ea4f94eea915cdc313196be2dd
size 1446137

3
mlt-6.22.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a3debdf0b8811f0d20c902cc3df3d05dad7d3ff36d1db16c0a7338d0d5989998
size 1343746

View File

@ -17,8 +17,8 @@
%define _name mlt
%define mltversion 6.20.0
%define mltsoversion 6.20.0
%define mltversion 6.22.1
%define mltsoversion 6.22.1
%define sover 1
%define mltmaj %(echo %{mltversion} |cut -d "." -f 1)
# Find qt version used to build