Skip to content

Commit

Permalink
Merge pull request xbmc#6596 from ksooo/fix-dvdplayer-channelswitch
Browse files Browse the repository at this point in the history
[dvdplayer] Fix CDVDPlayer::SwitchChannel signature to match IPlayer::SwitchChannel signature.
  • Loading branch information
xhaggi committed Mar 3, 2015
2 parents ec963fa + 452199c commit 63e378f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xbmc/cores/dvdplayer/DVDPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4512,7 +4512,7 @@ std::string CDVDPlayer::GetPlayingTitle()
return "";
}

bool CDVDPlayer::SwitchChannel(CPVRChannelPtr &channel)
bool CDVDPlayer::SwitchChannel(const CPVRChannelPtr &channel)
{
if (!g_PVRManager.CheckParentalLock(channel))
return false;
Expand Down
2 changes: 1 addition & 1 deletion xbmc/cores/dvdplayer/DVDPlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ class CDVDPlayer : public IPlayer, public CThread, public IDVDPlayer

virtual std::string GetPlayingTitle();

virtual bool SwitchChannel(PVR::CPVRChannelPtr &channel);
virtual bool SwitchChannel(const PVR::CPVRChannelPtr &channel);
virtual bool CachePVRStream(void) const;

enum ECacheState
Expand Down

0 comments on commit 63e378f

Please sign in to comment.