• Zhao Zhili's avatar
    libvlc: don't check current state in libvlc_media_player_set_pause · fe0668c8
    Zhao Zhili authored
    Since input_Control is executed asynchronously, current state may be
    different to the state when INPUT_SET_STATE executing. Here is a use
    case which is broken by check current state in
    libvlc_media_player_set_pause():
    
    1. current state is paused
    2. call libvlc_media_player_play()
    3. call libvlc_media_player_set_pause() immediately before
    INPUT_SET_STATE PLAYING_S is executed, libvlc_media_player_set_pause()
    will do nothing, so it looks like the pause request is been dropped
    silently
    Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
    fe0668c8
Name
Last commit
Last update
autotools Loading commit data...
bin Loading commit data...
compat Loading commit data...
contrib Loading commit data...
doc Loading commit data...
extras Loading commit data...
include Loading commit data...
lib Loading commit data...
m4 Loading commit data...
modules Loading commit data...
po Loading commit data...
share Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
THANKS Loading commit data...
bootstrap Loading commit data...
configure.ac Loading commit data...
make-alias Loading commit data...