[vlc-devel] [PATCH 27/30] transcode: remove useless SOUT_STREAM_EMPTY control

RĂ©mi Denis-Courmont remi at remlab.net
Sat Oct 10 21:14:12 CEST 2020


The control is passed onto the next output stream in the chain.
Since no other sout module supports this control, this will always fail.
---
 modules/stream_out/transcode/transcode.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/stream_out/transcode/transcode.c b/modules/stream_out/transcode/transcode.c
index 369e03af0c..ceca2df1e5 100644
--- a/modules/stream_out/transcode/transcode.c
+++ b/modules/stream_out/transcode/transcode.c
@@ -364,9 +364,6 @@ static int Control( sout_stream_t *p_stream, int i_query, va_list args )
 {
     switch( i_query )
     {
-        case SOUT_STREAM_EMPTY:
-            return sout_StreamControlVa( p_stream->p_next, i_query, args );
-
         case SOUT_STREAM_ID_SPU_HIGHLIGHT:
         {
             sout_stream_id_sys_t *id = (sout_stream_id_sys_t *) va_arg(args, void *);
-- 
2.28.0



More information about the vlc-devel mailing list