mirror of
https://github.com/Syncplay/syncplay
synced 2025-02-08 23:16:59 +00:00
Fixed occasional double seek on MPlayer based players.
This commit is contained in:
parent
7a78cf2655
commit
b68615efdf
@ -57,8 +57,8 @@ VLC_OPEN_MAX_WAIT_TIME = 10
|
|||||||
VLC_SOCKET_OPEN_WAIT_TIME = 0.5
|
VLC_SOCKET_OPEN_WAIT_TIME = 0.5
|
||||||
|
|
||||||
#These are not changes you're looking for
|
#These are not changes you're looking for
|
||||||
MPLAYER_SLAVE_ARGS = [ '-slave', '--hr-seek=absolute', '-nomsgcolor', '-msglevel', 'all=1:global=4:cplayer=4']
|
MPLAYER_SLAVE_ARGS = [ '-slave', '--hr-seek=always', '-nomsgcolor', '-msglevel', 'all=1:global=4:cplayer=4']
|
||||||
MPV_SLAVE_ARGS = [ '--slave-broken', '--hr-seek=absolute', '-msglevel', 'all=1:global=4']
|
MPV_SLAVE_ARGS = [ '--slave-broken', '--hr-seek=always', '-msglevel', 'all=1:global=4']
|
||||||
MPLAYER_ANSWER_REGEX = "^ANS_([a-zA-Z_]+)=(.+)$"
|
MPLAYER_ANSWER_REGEX = "^ANS_([a-zA-Z_]+)=(.+)$"
|
||||||
UI_COMMAND_REGEX = r"^(?P<command>[^\ ]+)(?:\ (?P<parameter>.+))?"
|
UI_COMMAND_REGEX = r"^(?P<command>[^\ ]+)(?:\ (?P<parameter>.+))?"
|
||||||
UI_OFFSET_REGEX = r"^(?:o|offset)\ ?(?P<sign>[/+-])?(?P<time>\d{1,4}(?:[^\d\.](?:\d{1,6})){0,2}(?:\.(?:\d{1,3}))?)$"
|
UI_OFFSET_REGEX = r"^(?:o|offset)\ ?(?P<sign>[/+-])?(?P<time>\d{1,4}(?:[^\d\.](?:\d{1,6})){0,2}(?:\.(?:\d{1,3}))?)$"
|
||||||
|
Loading…
Reference in New Issue
Block a user