Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix CApplicationMessenger::MediaStop() in case no playlistid has been…

… provided
  • Loading branch information...
commit ac48e166cec51c89c9c69851397bbbc1051be7d4 1 parent 6a85317
@Montellese Montellese authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  xbmc/ApplicationMessenger.cpp
View
2  xbmc/ApplicationMessenger.cpp
@@ -471,7 +471,7 @@ void CApplicationMessenger::ProcessMessage(ThreadMessage *pMsg)
bool stopSlideshow = true;
bool stopVideo = true;
bool stopMusic = true;
- if (pMsg->dwParam1 >= 0)
+ if (pMsg->dwParam1 >= PLAYLIST_MUSIC && pMsg->dwParam1 <= PLAYLIST_PICTURE)
{
stopSlideshow = (pMsg->dwParam1 == PLAYLIST_PICTURE);
stopVideo = (pMsg->dwParam1 == PLAYLIST_VIDEO);
Please sign in to comment.
Something went wrong with that request. Please try again.