diff options
| author | Christian <zerov83@gmail.com> | 2016-03-08 22:14:49 +0100 |
|---|---|---|
| committer | Christian <zerov83@gmail.com> | 2016-03-08 22:14:49 +0100 |
| commit | e63b1337cb98ddfa136de78628f5048b682276ff (patch) | |
| tree | f164267d8b4171a21a8a264cc41226e53f4ef056 /Stream.cpp | |
| parent | 662171f45281deacdf2db255909be11ec869122c (diff) | |
| download | vdr-plugin-plex-e63b1337cb98ddfa136de78628f5048b682276ff.tar.gz vdr-plugin-plex-e63b1337cb98ddfa136de78628f5048b682276ff.tar.bz2 | |
Skindesigner "DetailView" in development
Diffstat (limited to 'Stream.cpp')
| -rw-r--r-- | Stream.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 ""; } |
