[pvr] refactor: change method parameter bPreview to bMinimised to be more reasonable
authorxhaggi <sascha.woo@gmail.com>
Mon, 30 Jun 2014 13:07:05 +0000 (15:07 +0200)
committerxhaggi <sascha.woo@gmail.com>
Mon, 30 Jun 2014 14:03:51 +0000 (16:03 +0200)
xbmc/pvr/PVRManager.cpp
xbmc/pvr/PVRManager.h

index 7bcd55a..ecd8be7 100644 (file)
@@ -1143,9 +1143,9 @@ bool CPVRManager::UpdateItem(CFileItem& item)
   return false;
 }
 
-bool CPVRManager::StartPlayback(const CPVRChannel *channel, bool bPreview /* = false */)
+bool CPVRManager::StartPlayback(const CPVRChannel *channel, bool bMinimised /* = false */)
 {
-  CMediaSettings::Get().SetVideoStartWindowed(bPreview);
+  CMediaSettings::Get().SetVideoStartWindowed(bMinimised);
   CApplicationMessenger::Get().MediaPlay(CFileItem(*channel));
   CLog::Log(LOGNOTICE, "PVRManager - %s - started playback on channel '%s'",
       __FUNCTION__, channel->ChannelName().c_str());
index e635d9f..3b9baaf 100644 (file)
@@ -448,10 +448,10 @@ namespace PVR
     /*!
      * @brief Start playback on a channel.
      * @param channel The channel to start to play.
-     * @param bPreview If true, open minimised.
+     * @param bMinimised If true, playback starts minimised, otherwise in fullscreen.
      * @return True if playback was started, false otherwise.
      */
-    bool StartPlayback(const CPVRChannel *channel, bool bPreview = false);
+    bool StartPlayback(const CPVRChannel *channel, bool bMinimised = false);
 
     /*!
      * @brief Start playback of the last used channel, and if it fails use first channel in the current channelgroup.