[vlc-commits] transcode: remove useless SOUT_STREAM_EMPTY control

Rémi Denis-Courmont git at videolan.org
Sun Oct 11 21:23:21 CEST 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 10 21:31:33 2020 +0300| [e2c891409f44e5f19ef696ee30f67a640ed69d0c] | committer: Rémi Denis-Courmont

transcode: remove useless SOUT_STREAM_EMPTY control

The control is passed onto the next output stream in the chain.
Since no other sout module supports this control, this will always fail.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e2c891409f44e5f19ef696ee30f67a640ed69d0c
---

 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 *);



More information about the vlc-commits mailing list