[vlc-commits] demux: add DEMUX_GET_TYPE

Rémi Denis-Courmont git at videolan.org
Sat Sep 19 12:59:28 CEST 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Sep 19 09:00:02 2020 +0300| [05f5cdb1f5626ff55cd2bcd715f182f5e5a14d8b] | committer: Alexandre Janniaux

demux: add DEMUX_GET_TYPE

Avoid systematic "unknown query 0x109 in demux_vaControlHelper" error.

Signed-off-by: Alexandre Janniaux <ajanni at videolabs.io>

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

 src/input/demux.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/input/demux.c b/src/input/demux.c
index 5024c9576e..9e587b88df 100644
--- a/src/input/demux.c
+++ b/src/input/demux.c
@@ -310,6 +310,7 @@ int demux_vaControlHelper( stream_t *s,
         case DEMUX_GET_PTS_DELAY:
         case DEMUX_GET_META:
         case DEMUX_GET_SIGNAL:
+        case DEMUX_GET_TYPE:
         case DEMUX_SET_PAUSE_STATE:
             return vlc_stream_vaControl( s, i_query, args );
 



More information about the vlc-commits mailing list