Skip to content

Commit

Permalink
[dvdplayer] Fix CDVDPlayer::SwitchChannel signature to match IPlayer:…
Browse files Browse the repository at this point in the history
…:SwitchChannel signature.
  • Loading branch information
ksooo committed Mar 3, 2015
1 parent f31bb69 commit 452199c
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 @@ -4488,7 +4488,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 @@ -286,7 +286,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 452199c

Please sign in to comment.