aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjenkins4kodi <jenkins4kodi@users.noreply.github.com>2016-03-28 11:45:03 +0200
committerjenkins4kodi <jenkins4kodi@users.noreply.github.com>2016-03-28 11:45:03 +0200
commitbe20e8a3a6040eeb307e3a39a0ded5de4da83edf (patch)
tree42acf906d5b3d05d59fe158ee539e54966dcf1a5
parent3ee62f7c021a9888b7054df39fb86259710118a3 (diff)
parent8c7ed70c32629a7f8023d6ccd4043c9acb94dd46 (diff)
Merge pull request #9475 from FernetMenta/vdpau16.1rc2-Jarvis
-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)
{