[vlc-devel] [PATCH 4/5] input: es_out_timeshift: execute scheduled priv controls

Francois Cartegnie fcvlcdev at free.fr
Mon Apr 20 20:27:28 CEST 2020


---
 src/input/es_out_timeshift.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/input/es_out_timeshift.c b/src/input/es_out_timeshift.c
index 11b1e6f8f9..73ac3e2183 100644
--- a/src/input/es_out_timeshift.c
+++ b/src/input/es_out_timeshift.c
@@ -1668,6 +1668,11 @@ static int CmdExecuteControl( es_out_t *p_out, ts_cmd_t *p_cmd )
                                   p_cmd->u.control.u.es_fmt.p_fmt );
 
     default:
+        if( i_query >= ES_OUT_TIMESHIFT_PRIVATE_START &&
+            i_query < ES_OUT_PRIVATE_START )
+        {
+            return CmdExecutePrivControl( p_out, p_cmd );
+        }
         vlc_assert_unreachable();
         return VLC_EGENERIC;
     }
-- 
2.25.3



More information about the vlc-devel mailing list