[vlc-commits] demux: directory: Forward DEMUX_GET_TYPE to the underlying access

Hugo Beauzée-Luyssen git at videolan.org
Thu Sep 17 17:53:39 CEST 2020


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Sep 14 14:08:01 2020 +0200| [fe7d6b7abe92d97356341562c8d44cf16eacf2a0] | committer: Hugo Beauzée-Luyssen

demux: directory: Forward DEMUX_GET_TYPE to the underlying access

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

 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:
         {



More information about the vlc-commits mailing list