Accepting request 847296 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/847296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=111
This commit is contained in:
Dominique Leuenberger 2020-11-13 17:52:41 +00:00 committed by Git OBS Bridge
commit fed4d390af
3 changed files with 33 additions and 0 deletions

24
vlc-srto_tsbpddelay.patch Normal file
View File

@ -0,0 +1,24 @@
diff -ruN vlc-3.0.11.1/modules/access/srt.c vlc-3.0.11.1-srto_tsbpddelay/modules/access/srt.c
--- vlc-3.0.11.1/modules/access/srt.c 2018-04-23 04:03:39.000000000 -0400
+++ vlc-3.0.11.1-srto_tsbpddelay/modules/access/srt.c 2020-10-24 16:45:10.490850358 -0400
@@ -165,7 +165,7 @@
/* Set latency */
i_latency = var_InheritInteger( p_stream, "latency" );
- srt_setsockopt( p_sys->sock, 0, SRTO_TSBPDDELAY,
+ srt_setsockopt( p_sys->sock, 0, SRTO_LATENCY,
&i_latency, sizeof( int ) );
psz_passphrase = var_InheritString( p_stream, "passphrase" );
diff -ruN vlc-3.0.11.1/modules/access_output/srt.c vlc-3.0.11.1-srto_tsbpddelay/modules/access_output/srt.c
--- vlc-3.0.11.1/modules/access_output/srt.c 2018-04-06 05:22:51.000000000 -0400
+++ vlc-3.0.11.1-srto_tsbpddelay/modules/access_output/srt.c 2020-10-24 16:45:10.490850358 -0400
@@ -162,7 +162,7 @@
/* Set latency */
i_latency = var_InheritInteger( p_access, "latency" );
- srt_setsockopt( p_sys->sock, 0, SRTO_TSBPDDELAY,
+ srt_setsockopt( p_sys->sock, 0, SRTO_LATENCY,
&i_latency, sizeof( int ) );
if ( psz_passphrase != NULL && psz_passphrase[0] != '\0')

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Oct 24 22:10:26 UTC 2020 - Thomas Williams <bif.bam@gmail.com>
- vlc-srto_tsbpddelay.patch
* Fix building with recent srt where SRTO_TSBPDDELAY is no longer defined
-------------------------------------------------------------------
Mon Sep 28 09:10:26 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@ -57,6 +57,8 @@ Patch100: vlc-projectM-qt5.patch
Patch103: 0001-Port-OpenCV-facedetect-example-to-C-API.patch
# PATCH-FIX-UPSTREAM -- Fix building with Qt 5.15 by adding a missing include
Patch104: fix-missing-includes-with-qt-5.15.patch
# Fix building against recent srt where SRTO_TSBPDDELAY is no longer defined
Patch105: vlc-srto_tsbpddelay.patch
BuildRequires: Mesa-devel
BuildRequires: aalib-devel
BuildRequires: alsa-devel >= 1.0.24
@ -403,6 +405,7 @@ OpenCV based video filters and a face detection example.
%endif
%patch103 -p1
%patch104 -p1
%patch105 -p1
### And LUA 5.3.1 has some more API changes
if pkg-config --atleast-version 5.3.1 lua; then