[SCM] kodi-pvr-hts/master: drop unused GetStreamingProfile() method
tiber-guest at users.alioth.debian.org
tiber-guest at users.alioth.debian.org
Fri Nov 4 23:23:36 UTC 2016
The following commit has been merged in the master branch:
commit 32e3ec17f1f624215bacca449dd27a00e1c91c2e
Author: Sam Stenvall <sam.stenvall at nordsoftware.com>
Date: Sat Jan 30 14:46:37 2016 +0200
drop unused GetStreamingProfile() method
diff --git a/src/Tvheadend.cpp b/src/Tvheadend.cpp
index fa4100e..c65fb22 100644
--- a/src/Tvheadend.cpp
+++ b/src/Tvheadend.cpp
@@ -170,16 +170,6 @@ bool CTvheadend::HasStreamingProfile(const std::string &streamingProfile) const
) != m_profiles.cend();
}
-std::string CTvheadend::GetStreamingProfile() const
-{
- std::string streamingProfile;
-
- if (HasStreamingProfile(Settings::GetInstance().GetStreamingProfile()))
- streamingProfile = Settings::GetInstance().GetStreamingProfile();
-
- return streamingProfile;
-}
-
/* **************************************************************************
* Tags
* *************************************************************************/
diff --git a/src/Tvheadend.h b/src/Tvheadend.h
index b2c6dff..8ea7374 100644
--- a/src/Tvheadend.h
+++ b/src/Tvheadend.h
@@ -395,12 +395,6 @@ private:
bool HasStreamingProfile(const std::string &streamingProfile) const;
/**
- * @return the streaming profile to use for new subscriptions, or an
- * empty string if no particular profile should be used
- */
- std::string GetStreamingProfile() const;
-
- /**
* The streaming profiles available on the server
*/
tvheadend::Profiles m_profiles;
--
kodi-pvr-hts packaging
More information about the pkg-multimedia-commits
mailing list