summarylogtreecommitdiffstats
path: root/vlc-3.0.11.1-srt_1.4.2.patch
diff options
context:
space:
mode:
authorBooloki2020-09-27 14:30:39 +0200
committerBooloki2020-09-27 14:30:39 +0200
commit9aaa3de13067c5e03a9f89869b8f20f785258cce (patch)
tree9327a5f740335969c915c586b23ea77d29fa1520 /vlc-3.0.11.1-srt_1.4.2.patch
parentcde399295537d08fa193d4f8624d6c47a03c81b8 (diff)
downloadaur-9aaa3de13067c5e03a9f89869b8f20f785258cce.tar.gz
Add srt 1.4.2 compatibilty patch
Diffstat (limited to 'vlc-3.0.11.1-srt_1.4.2.patch')
-rw-r--r--vlc-3.0.11.1-srt_1.4.2.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/vlc-3.0.11.1-srt_1.4.2.patch b/vlc-3.0.11.1-srt_1.4.2.patch
new file mode 100644
index 000000000000..cadfa0edf81e
--- /dev/null
+++ b/vlc-3.0.11.1-srt_1.4.2.patch
@@ -0,0 +1,24 @@
+diff -ruN a/modules/access/srt.c b/modules/access/srt.c
+--- a/modules/access/srt.c 2018-04-23 10:03:39.000000000 +0200
++++ b/modules/access/srt.c 2020-09-26 10:35:18.830149487 +0200
+@@ -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 a/modules/access_output/srt.c b/modules/access_output/srt.c
+--- a/modules/access_output/srt.c 2018-04-06 11:22:51.000000000 +0200
++++ b/modules/access_output/srt.c 2020-09-26 10:35:03.386828120 +0200
+@@ -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')