Skip to content

Commit

Permalink
pvr: fix compilation after 19bcc35
Browse files Browse the repository at this point in the history
  • Loading branch information
opdenkamp committed Dec 23, 2011
1 parent 657b9a2 commit fc729cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion xbmc/interfaces/json-rpc/PVROperations.cpp
Expand Up @@ -55,7 +55,7 @@ JSON_STATUS CPVROperations::ChannelSwitch(const CStdString &method, ITransportLa

CPVRChannel currentChannel;
if (g_PVRManager.GetCurrentChannel(currentChannel) && currentChannel.IsRadio() == channel->IsRadio())
return g_PVRManager.PerformChannelSwitch(channel,false) ? ACK : InternalError;
return g_PVRManager.PerformChannelSwitch(*channel,false) ? ACK : InternalError;
return g_PVRManager.StartPlayback(channel) ? ACK : InternalError;

}
Expand Down
8 changes: 0 additions & 8 deletions xbmc/pvr/PVRManager.h
Expand Up @@ -458,14 +458,6 @@ namespace PVR
*/
void ResetProperties(void);

/*!
* @brief Switch to the given channel.
* @param channel The new channel.
* @param bPreview Don't reset quality data if true.
* @return True if the switch was successful, false otherwise.
*/
bool PerformChannelSwitch(const CPVRChannel *channel, bool bPreview);

/*!
* @brief Called by ChannelUp() and ChannelDown() to perform a channel switch.
* @param iNewChannelNumber The new channel number after the switch.
Expand Down

0 comments on commit fc729cd

Please sign in to comment.