Permalink
Browse files

[Players] Don't assign "unknown" to the audio/subtitle stream name, l…

…eave it empty instead.
  • Loading branch information...
1 parent d54456c commit e7dfb28ff32c4555e3565fada88f6a2275fdf9be @ace20022 committed Mar 3, 2013
Showing with 0 additions and 8 deletions.
  1. +0 −4 xbmc/cores/dvdplayer/DVDPlayer.cpp
  2. +0 −4 xbmc/cores/omxplayer/OMXPlayer.cpp
@@ -2699,8 +2699,6 @@ void CDVDPlayer::GetSubtitleStreamInfo(int index, SPlayerSubtitleStreamInfo &inf
SelectionStream& s = m_SelectionStreams.Get(STREAM_SUBTITLE, index);
if(s.name.length() > 0)
info.name = s.name;
- else
- info.name = g_localizeStrings.Get(13205); // Unknown
if(s.type == STREAM_NONE)
info.name += "(Invalid)";
@@ -3843,8 +3841,6 @@ void CDVDPlayer::GetAudioStreamInfo(int index, SPlayerAudioStreamInfo &info)
if(s.name.length() > 0)
info.name = s.name;
- else
- info.name += "Unknown";
if(s.type == STREAM_NONE)
info.name += " (Invalid)";
@@ -2700,8 +2700,6 @@ void COMXPlayer::GetSubtitleStreamInfo(int index, SPlayerSubtitleStreamInfo &inf
OMXSelectionStream& s = m_SelectionStreams.Get(STREAM_SUBTITLE, index);
if(s.name.length() > 0)
info.name = s.name;
- else
- info.name = g_localizeStrings.Get(13205); // Unknown
if(s.type == STREAM_NONE)
info.name += "(Invalid)";
@@ -3797,8 +3795,6 @@ void COMXPlayer::GetAudioStreamInfo(int index, SPlayerAudioStreamInfo &info)
if(s.name.length() > 0)
info.name = s.name;
- else
- info.name += "Unknown";
if(s.type == STREAM_NONE)
info.name += " (Invalid)";

0 comments on commit e7dfb28

Please sign in to comment.