diff options
author | Rainer Hochecker <fernetmenta@online.de> | 2016-03-28 10:04:33 +0200 |
---|---|---|
committer | Rainer Hochecker <fernetmenta@online.de> | 2016-03-28 10:04:33 +0200 |
commit | 8c7ed70c32629a7f8023d6ccd4043c9acb94dd46 (patch) | |
tree | 42acf906d5b3d05d59fe158ee539e54966dcf1a5 | |
parent | 3ee62f7c021a9888b7054df39fb86259710118a3 (diff) |
VDPAU: fix flushing mixer
-rw-r--r-- | xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp b/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp index 4e995b6f0a..87f4e6424b 100644 --- a/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp +++ b/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp @@ -1458,7 +1458,20 @@ void CMixer::StateMachine(int signal, Protocol *port, Message *msg) break; case M_TOP_CONFIGURED: - if (port == &m_dataPort) + if (port == &m_controlPort) + { + switch (signal) + { + case CMixerControlProtocol::FLUSH: + Flush(); + msg->Reply(CMixerControlProtocol::ACC); + m_state = M_TOP_CONFIGURED_WAIT1; + return; + default: + break; + } + } + else if (port == &m_dataPort) { switch (signal) { |