]> git.pld-linux.org Git - packages/tvheadend.git/commitdiff
- fix building with ffmpeg 6 auto/th/tvheadend-4.3.0-0.20230719.2
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 21 Oct 2023 20:39:28 +0000 (22:39 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 21 Oct 2023 20:39:28 +0000 (22:39 +0200)
- package all files
= rel 2

ffmpeg6.patch [new file with mode: 0644]
tvheadend.spec

diff --git a/ffmpeg6.patch b/ffmpeg6.patch
new file mode 100644 (file)
index 0000000..b7cc7cd
--- /dev/null
@@ -0,0 +1,11 @@
+--- tvheadend-c531383ca6654639dc112db67fd8dc893c1f5272/src/transcoding/transcode/hwaccels/vaapi.c~     2023-07-19 21:53:15.000000000 +0200
++++ tvheadend-c531383ca6654639dc112db67fd8dc893c1f5272/src/transcoding/transcode/hwaccels/vaapi.c      2023-10-21 22:34:37.128586237 +0200
+@@ -594,7 +594,7 @@
+     }
+     avctx->get_buffer2 = vaapi_get_buffer2;
+-    avctx->thread_safe_callbacks = 0;
++    //avctx->thread_safe_callbacks = 0;
+     return 0;
+ }
index f2f66587840fb417cf522cf9c75ca624f312845e..d32ce9eadc3b01460cd8c63c1c7b0d2264eb4040 100644 (file)
@@ -4,7 +4,7 @@
 
 %define                gitref  c531383ca6654639dc112db67fd8dc893c1f5272
 %define                snap    20230719
-%define                rel     1
+%define                rel     2
 
 Summary:       TV streaming server
 Name:          tvheadend
@@ -19,6 +19,7 @@ Source1:      %{name}.service
 Source2:       %{name}.sysconfig
 Source3:       %{name}.init
 Patch0:                x32.patch
+Patch1:                ffmpeg6.patch
 URL:           https://tvheadend.org/projects/tvheadend
 BuildRequires: avahi-devel
 BuildRequires: dbus-devel
@@ -55,6 +56,7 @@ DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as input sources.
 %ifarch x32
 %patch0 -p1
 %endif
+%patch1 -p1
 
 %{__sed} -i -e '1s,/usr/bin/env python3$,%{__python3},' lib/py/tvh/tv_meta_{tm,tv}db.py support/tvhmeta
 
@@ -122,7 +124,10 @@ fi
 %files
 %defattr(644,root,root,755)
 %doc docs
-%attr(755,root,root) %{_bindir}/%{name}
+%attr(755,root,root) %{_bindir}/tvheadend
+%attr(755,root,root) %{_bindir}/tvhmeta
+%attr(755,root,root) %{_bindir}/tv_meta_tmdb.py
+%attr(755,root,root) %{_bindir}/tv_meta_tvdb.py
 %attr(754,root,root) /etc/rc.d/init.d/tvheadend
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
 %{_mandir}/man1/%{name}.1*
This page took 0.060122 seconds and 4 git commands to generate.