author | Antonio Rojas
<arojas@archlinux.org> 2023-05-07 21:11:12 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2023-05-07 21:11:12 UTC |
parent | db47f55e34c7c4fc492f8c945b3415bf7266c7d4 |
01ab0f45.patch | +0 | -23 |
67d5efd0.patch | +0 | -15 |
PKGBUILD | +4 | -13 |
diff --git a/01ab0f45.patch b/01ab0f45.patch deleted file mode 100644 index 38eaddc..0000000 --- a/01ab0f45.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/src/modules/avformat/producer_avformat.c b/src/modules/avformat/producer_avformat.c -index 9e8a63df..82a412bc 100644 ---- a/src/modules/avformat/producer_avformat.c -+++ b/src/modules/avformat/producer_avformat.c -@@ -1942,14 +1942,14 @@ static int producer_get_image( mlt_frame frame, uint8_t **buffer, mlt_image_form - av_packet_free( &tmp ); - pthread_cond_signal( &self->packets_cond ); - } else { -- // notify packets_worker that we've seen the error -- self->packets_thread_ret = 0; -- pthread_cond_signal( &self->packets_cond ); -- - if ( self->packets_thread_ret == AVERROR_EOF ) - { - self->pkt.stream_index = self->video_index; - } -+ // notify packets_worker that we've seen the error -+ self->packets_thread_ret = 0; -+ pthread_cond_signal( &self->packets_cond ); -+ - if ( !self->video_seekable && mlt_properties_get_int( properties, "reconnect" ) ) - { - // Try to reconnect to live sources by closing context and codecs, diff --git a/67d5efd0.patch b/67d5efd0.patch deleted file mode 100644 index bb4487b..0000000 --- a/67d5efd0.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/src/modules/plus/producer_count.c b/src/modules/plus/producer_count.c -index 9ef4fbcf..0126b134 100644 ---- a/src/modules/plus/producer_count.c -+++ b/src/modules/plus/producer_count.c -@@ -638,8 +638,9 @@ mlt_producer producer_count_init( mlt_profile profile, mlt_service_type type, co - mlt_properties_set( properties, "sound", "none" ); - mlt_properties_set( properties, "background", "clock" ); - mlt_properties_set( properties, "drop", "0" ); -+ mlt_properties_clear( properties, "resource" ); - // Let the arg specify the producer to use with the factory, e.g. loader-nogl -- if (arg && strcmp(arg, "") && strcmp(arg, "<producer>")) -+ if (arg && strcmp(arg, "")) - mlt_properties_set(properties, FACTORY_PRODUCER, arg); - - // Callback registration diff --git a/PKGBUILD b/PKGBUILD index 4478538..3df23d6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -7,8 +7,8 @@ # Contributor: Gustavo Alvarez <sl1pkn07@gmail.com> pkgname=mlt -pkgver=7.14.0 -pkgrel=8 +pkgver=7.16.0 +pkgrel=1 pkgdesc='An open source multimedia framework' arch=(x86_64) url='https://www.mltframework.org' @@ -35,17 +35,8 @@ optdepends=('sdl_image: SDL1 plugin' 'python: python bindings') makedepends=(cmake ladspa frei0r-plugins libdv sdl_image libsamplerate sox ffmpeg vid.stab qt5-svg qt6-svg qt6-5compat jack libexif python swig movit eigen opencv rubberband gdk-pixbuf2 pango rtaudio imagemagick) -source=(https://github.com/mltframework/mlt/releases/download/v$pkgver/mlt-$pkgver.tar.gz - 01ab0f45.patch - 67d5efd0.patch) -sha256sums=('3a7e83ed5e30f3f2d073d172c9d886310d8a73dbd2ee850ad44e3c43a9ab6394' - '51c10de5b683442c7a0b202627f01ca80fbf6d52170c6b3b4e1dcaa27ef59e50' - 'ca74d312c5e967475bbd5f0e97cb46391d1088f56d169720c2cba80fe5b8e5b9') - -prepare() { - patch -d $pkgname-$pkgver -p1 < 01ab0f45.patch # Fix infinite loop - patch -d $pkgname-$pkgver -p1 < 67d5efd0.patch # Fix crash -} +source=(https://github.com/mltframework/mlt/releases/download/v$pkgver/mlt-$pkgver.tar.gz) +sha256sums=('c0975e06403d3df22be7d4b5d96d0608e0d16470299360d0a0ee5f41ba2b7a96') build() { cmake -B build -S $pkgname-$pkgver \