summaryrefslogtreecommitdiff
path: root/Stream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stream.cpp')
-rw-r--r--Stream.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Stream.cpp b/Stream.cpp
index 7c02b5e..3f466f4 100644
--- a/Stream.cpp
+++ b/Stream.cpp
@@ -27,9 +27,9 @@ Stream::Stream(Poco::XML::Node* pNode)
std::string Stream::GetSetStreamQuery()
{
- if(m_eStreamType == sAUDIO) return Poco::format("audioStreamID=%d", m_iID);
- else if(m_eStreamType == sSUBTITLE && m_iID >= 0) return Poco::format("subtitleStreamID=%d", m_iID);
- else if(m_eStreamType == sSUBTITLE && m_iID < 0) return "subtitleStreamID=";
+ if(m_eStreamType == StreamType::sAUDIO) return Poco::format("audioStreamID=%d", m_iID);
+ else if(m_eStreamType == StreamType::sSUBTITLE && m_iID >= 0) return Poco::format("subtitleStreamID=%d", m_iID);
+ else if(m_eStreamType == StreamType::sSUBTITLE && m_iID < 0) return "subtitleStreamID=";
else return "";
}