[vlc-devel] [PATCH 9/9] demux: directory: Forward DEMUX_GET_TYPE to the underlying access

Hugo Beauzée-Luyssen hugo at beauzee.fr
Wed Sep 16 15:54:17 CEST 2020


---
 modules/demux/directory.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/demux/directory.c b/modules/demux/directory.c
index ec087d72de..275654403e 100644
--- a/modules/demux/directory.c
+++ b/modules/demux/directory.c
@@ -58,8 +58,9 @@ static int Control(demux_t *demux, int query, va_list args)
             return VLC_SUCCESS;
         }
         case DEMUX_GET_META:
+        case DEMUX_GET_TYPE:
         {
-            return vlc_stream_vaControl(demux->s, STREAM_GET_META, args);
+            return vlc_stream_vaControl(demux->s, query, args);
         }
         case DEMUX_HAS_UNSUPPORTED_META:
         {
-- 
2.20.1



More information about the vlc-devel mailing list