aboutsummaryrefslogtreecommitdiff
path: root/cast/streaming/resolution.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cast/streaming/resolution.cc')
-rw-r--r--cast/streaming/resolution.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/cast/streaming/resolution.cc b/cast/streaming/resolution.cc
index 682de444..de6b9358 100644
--- a/cast/streaming/resolution.cc
+++ b/cast/streaming/resolution.cc
@@ -95,14 +95,6 @@ Json::Value Dimensions::ToJson() const {
return root;
}
-Resolution Dimensions::ToResolution() const {
- return {width, height};
-}
-
-int Dimensions::effective_bit_rate() const {
- return width * height * static_cast<double>(frame_rate);
-}
-
bool Dimensions::operator==(const Dimensions& other) const {
return (std::tie(width, height) == std::tie(other.width, other.height) &&
FrameRateEquals(static_cast<double>(frame_rate),