[vlc-commits] input: fix |/& typo
Thomas Guillem
git at videolan.org
Fri Jul 13 09:35:49 CEST 2018
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Jul 13 09:29:05 2018 +0200| [5b47144818a537d9cea1fa45164f0eed0905b75a] | committer: Thomas Guillem
input: fix |/& typo
Regression from 2ef7696e96f5c55a4801335820c79df7f1a52fd0
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5b47144818a537d9cea1fa45164f0eed0905b75a
---
src/input/var.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/input/var.c b/src/input/var.c
index 2dbb8b7df1..c35bd40ba2 100644
--- a/src/input/var.c
+++ b/src/input/var.c
@@ -248,15 +248,15 @@ void input_LegacyEvents( input_thread_t *p_input, void *user_data,
break;
case INPUT_EVENT_CAPABILITIES:
var_SetBool( p_input, "can-seek",
- event->capabilities | VLC_INPUT_CAPABILITIES_SEEKABLE );
+ event->capabilities & VLC_INPUT_CAPABILITIES_SEEKABLE );
var_SetBool( p_input, "can-pause",
- event->capabilities | VLC_INPUT_CAPABILITIES_PAUSEABLE );
+ event->capabilities & VLC_INPUT_CAPABILITIES_PAUSEABLE );
var_SetBool( p_input, "can-rate",
- event->capabilities | VLC_INPUT_CAPABILITIES_CHANGE_RATE );
+ event->capabilities & VLC_INPUT_CAPABILITIES_CHANGE_RATE );
var_SetBool( p_input, "can-rewind",
- event->capabilities | VLC_INPUT_CAPABILITIES_REWINDABLE );
+ event->capabilities & VLC_INPUT_CAPABILITIES_REWINDABLE );
var_SetBool( p_input, "can-record",
- event->capabilities | VLC_INPUT_CAPABILITIES_RECORDABLE );
+ event->capabilities & VLC_INPUT_CAPABILITIES_RECORDABLE );
break;
case INPUT_EVENT_POSITION:
val.f_float = event->position.percentage;
More information about the vlc-commits
mailing list