[vlc-commits] demux: ignore navigation controls by default
Rémi Denis-Courmont
git at videolan.org
Sat Jun 10 12:05:22 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jun 10 13:01:36 2017 +0300| [1829a9f60b04e5a820b7ffac3f7e6988c0bfe962] | committer: Rémi Denis-Courmont
demux: ignore navigation controls by default
This removes pointless errors when trying to navigate in a simple
demuxer.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1829a9f60b04e5a820b7ffac3f7e6988c0bfe962
---
src/input/demux.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/input/demux.c b/src/input/demux.c
index 0ccc2dcc8d..ecc81e9dac 100644
--- a/src/input/demux.c
+++ b/src/input/demux.c
@@ -475,6 +475,13 @@ int demux_vaControlHelper( stream_t *s,
case DEMUX_TEST_AND_CLEAR_FLAGS:
case DEMUX_GET_TITLE:
case DEMUX_GET_SEEKPOINT:
+ case DEMUX_NAV_ACTIVATE:
+ case DEMUX_NAV_UP:
+ case DEMUX_NAV_DOWN:
+ case DEMUX_NAV_LEFT:
+ case DEMUX_NAV_RIGHT:
+ case DEMUX_NAV_POPUP:
+ case DEMUX_NAV_MENU:
return VLC_EGENERIC;
case DEMUX_SET_TITLE:
More information about the vlc-commits
mailing list