• 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
..
Makefile.am Loading commit data...
audio.c Loading commit data...
core.c Loading commit data...
dialog.c Loading commit data...
error.c Loading commit data...
event.c Loading commit data...
libvlc.pc.in Loading commit data...
libvlc.sym Loading commit data...
libvlc_internal.h Loading commit data...
log.c Loading commit data...
media.c Loading commit data...
media_discoverer.c Loading commit data...
media_internal.h Loading commit data...
media_library.c Loading commit data...
media_list.c Loading commit data...
media_list_internal.h Loading commit data...
media_list_path.h Loading commit data...
media_list_player.c Loading commit data...
media_player.c Loading commit data...
media_player_internal.h Loading commit data...
playlist.c Loading commit data...
renderer_discoverer.c Loading commit data...
renderer_discoverer_internal.h Loading commit data...
video.c Loading commit data...
vlm.c Loading commit data...