diff options
author | jaseg <code@jaseg.net> | 2016-08-07 19:40:28 +0200 |
---|---|---|
committer | jaseg <code@jaseg.net> | 2016-08-07 19:40:28 +0200 |
commit | 1acc39885fa503b09006c3467e0cccb8254295d6 (patch) | |
tree | d0d98b294acc93096f5b237012a9006107ccec5a /mpv.py | |
parent | dc1c4d89a5dd918c9d9f586e93a316845d47e3bf (diff) | |
download | python-mpv-1acc39885fa503b09006c3467e0cccb8254295d6.tar.gz python-mpv-1acc39885fa503b09006c3467e0cccb8254295d6.tar.bz2 python-mpv-1acc39885fa503b09006c3467e0cccb8254295d6.zip |
Keep wait_for_playback in waiting state during PAUSE
...to allow proper playback of network resources even in case of
buffering
Diffstat (limited to 'mpv.py')
-rw-r--r-- | mpv.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -309,7 +309,7 @@ def _event_loop(event_handle, playback_cond, event_callbacks, property_handlers, try: devent = event.as_dict() # copy data from ctypes eid = devent['event_id'] - if eid in (MpvEventID.SHUTDOWN, MpvEventID.END_FILE, MpvEventID.PAUSE): + if eid in (MpvEventID.SHUTDOWN, MpvEventID.END_FILE): with playback_cond: playback_cond.notify_all() if eid == MpvEventID.PROPERTY_CHANGE: |