summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorDiogo Franco (Kovensky) <diogomfranco@gmail.com>2013-07-19 13:06:14 -0300
committerwm4 <wm4@nowhere>2013-07-20 02:21:04 +0200
commitd0b129971a934bf499c478ea52fcd6051713ae19 (patch)
treecef44a4396cbb77e8549b5a1b1652d82f0909888 /video
parent20c2947cbb37cfd616986960b3b2cd743815d96b (diff)
downloadmpv-d0b129971a934bf499c478ea52fcd6051713ae19.tar.bz2
mpv-d0b129971a934bf499c478ea52fcd6051713ae19.tar.xz
ao_wasapi0: Don't starve the WASAPI thread on seeks
Seeking calls thread_reset, but doesn't call thread_play. thread_reset would disable WASAPI events, but they would never get re-enabled unless the user paused and then unpaused. Keep track of whether the stream is paused or not (there already was a field for that, but it was apparently unused), and if it's not paused, call thread_play after thread_reset. Fixes mpv freezing after seeks.
Diffstat (limited to 'video')
0 files changed, 0 insertions, 0 deletions