diff options
Diffstat (limited to 'xbmc/video/dialogs/GUIDialogVideoSettings.cpp')
-rw-r--r-- | xbmc/video/dialogs/GUIDialogVideoSettings.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/xbmc/video/dialogs/GUIDialogVideoSettings.cpp b/xbmc/video/dialogs/GUIDialogVideoSettings.cpp index 0be22dab20..4745351b28 100644 --- a/xbmc/video/dialogs/GUIDialogVideoSettings.cpp +++ b/xbmc/video/dialogs/GUIDialogVideoSettings.cpp @@ -405,9 +405,14 @@ void CGUIDialogVideoSettings::VideoStreamsOptionFiller(std::shared_ptr<const CSe } if (info.videoCodecName.empty()) - strItem += StringUtils::Format(" (%ix%i)", info.width, info.height); + strItem += StringUtils::Format(" (%ix%i", info.width, info.height); else - strItem += StringUtils::Format(" (%s, %ix%i)", info.videoCodecName.c_str(), info.width, info.height); + strItem += StringUtils::Format(" (%s, %ix%i", info.videoCodecName.c_str(), info.width, info.height); + + if (info.bitrate) + strItem += StringUtils::Format(", %i bps)", info.bitrate); + else + strItem += ")"; strItem += StringUtils::Format(" (%i/%i)", i + 1, videoStreamCount); list.push_back(make_pair(strItem, i)); |