[vlc-commits] mux: remove dead GET_STREAM_ADD_WAIT code
Rémi Denis-Courmont
git at videolan.org
Tue Mar 3 18:41:34 CET 2020
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Feb 29 19:10:25 2020 +0200| [fe03aca9d902e7cadcc2db6ba80d380b81353a03] | committer: Rémi Denis-Courmont
mux: remove dead GET_STREAM_ADD_WAIT code
This makes no sense in a muxer which does not support adding streams
while muxing.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fe03aca9d902e7cadcc2db6ba80d380b81353a03
---
modules/demux/avformat/mux.c | 5 -----
modules/mux/avi.c | 5 -----
modules/mux/wav.c | 5 -----
3 files changed, 15 deletions(-)
diff --git a/modules/demux/avformat/mux.c b/modules/demux/avformat/mux.c
index 161aeabb8c..9179daf592 100644
--- a/modules/demux/avformat/mux.c
+++ b/modules/demux/avformat/mux.c
@@ -496,11 +496,6 @@ static int Control( sout_mux_t *p_mux, int i_query, va_list args )
*pb_bool = false;
return VLC_SUCCESS;
- case MUX_GET_ADD_STREAM_WAIT:
- pb_bool = va_arg( args, bool * );
- *pb_bool = true;
- return VLC_SUCCESS;
-
case MUX_GET_MIME:
{
char **ppsz = va_arg( args, char ** );
diff --git a/modules/mux/avi.c b/modules/mux/avi.c
index b545954aa1..844d983b42 100644
--- a/modules/mux/avi.c
+++ b/modules/mux/avi.c
@@ -280,11 +280,6 @@ static int Control( sout_mux_t *p_mux, int i_query, va_list args )
*pb_bool = false;
return VLC_SUCCESS;
- case MUX_GET_ADD_STREAM_WAIT:
- pb_bool = va_arg( args, bool * );
- *pb_bool = true;
- return VLC_SUCCESS;
-
case MUX_GET_MIME:
ppsz = va_arg( args, char ** );
*ppsz = strdup( "video/avi" );
diff --git a/modules/mux/wav.c b/modules/mux/wav.c
index 8bacf9b9f0..a80e916e89 100644
--- a/modules/mux/wav.c
+++ b/modules/mux/wav.c
@@ -138,11 +138,6 @@ static int Control( sout_mux_t *p_mux, int i_query, va_list args )
*pb_bool = false;
return VLC_SUCCESS;
- case MUX_GET_ADD_STREAM_WAIT:
- pb_bool = va_arg( args, bool * );
- *pb_bool = true;
- return VLC_SUCCESS;
-
case MUX_GET_MIME:
ppsz = va_arg( args, char ** );
*ppsz = strdup( "audio/wav" );
More information about the vlc-commits
mailing list