aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp15
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)
{