Example #1
0
		private C GetVideoInfoFromQuality(AcInfo acInfo, string chosenQuality)
		{
			switch (chosenQuality)
			{
				case "C00":
					return acInfo.result.C00;
				case "C10":
					return acInfo.result.C10;
				case "C20":
					return acInfo.result.C20;
				case "C30":
					return acInfo.result.C30;
				case "C40":
					return acInfo.result.C40;
				case "C50":
					return acInfo.result.C50;
				case "C60":
					return acInfo.result.C60;
				case "C70":
					return acInfo.result.C70;
				case "C80":
					return acInfo.result.C80;
				case "C90":
					return acInfo.result.C90;
				default:
					return null;
			}
		}
Example #2
0
        private C GetVideoInfoFromQuality(AcInfo acInfo, string chosenQuality)
        {
            switch (chosenQuality)
            {
            case "C00":
                return(acInfo.result.C00);

            case "C10":
                return(acInfo.result.C10);

            case "C20":
                return(acInfo.result.C20);

            case "C30":
                return(acInfo.result.C30);

            case "C40":
                return(acInfo.result.C40);

            case "C50":
                return(acInfo.result.C50);

            case "C60":
                return(acInfo.result.C60);

            case "C70":
                return(acInfo.result.C70);

            case "C80":
                return(acInfo.result.C80);

            case "C90":
                return(acInfo.result.C90);

            default:
                return(null);
            }
        }