[vlc-devel] [PATCH 1/2] demux: fix a recurrent warning

Steve Lhomme robux4 at videolabs.io
Tue Jun 21 12:12:08 CEST 2016


by default DEMUX_TEST_AND_CLEAR_FLAGS returns EGENERIC and falls back in legacy
code
---
 src/input/demux.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/input/demux.c b/src/input/demux.c
index 35ca106..4af17e7 100644
--- a/src/input/demux.c
+++ b/src/input/demux.c
@@ -552,6 +552,7 @@ int demux_vaControlHelper( stream_t *s,
         case DEMUX_SET_ES:
         case DEMUX_GET_ATTACHMENTS:
         case DEMUX_CAN_RECORD:
+        case DEMUX_TEST_AND_CLEAR_FLAGS:
             return VLC_EGENERIC;
 
         case DEMUX_SET_TITLE:
-- 
2.8.2



More information about the vlc-devel mailing list