CC-2790: Stream type "OGG" should be "OGG/VORBIS"

- fixed
This commit is contained in:
James 2011-09-12 13:16:34 -04:00
parent 4bf63bbe28
commit 0591c9d76f
1 changed files with 6 additions and 1 deletions

View File

@ -137,7 +137,12 @@ class PreferenceController extends Zend_Controller_Action
$temp_types = Application_Model_Preference::GetStreamType();
$stream_types = array();
foreach ($temp_types as $type){
$stream_types[trim($type)] = strtoupper(trim($type));
if(trim($type) == "ogg"){
$temp = "OGG/VORBIS";
}else{
$temp = strtoupper(trim($type));
}
$stream_types[trim($type)] = $temp;
}
$temp_bitrate = Application_Model_Preference::GetStreamBitrate();