25 lines
1.1 KiB
Diff
25 lines
1.1 KiB
Diff
|
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')
|