|
|
@ -197,34 +197,34 @@ namespace MediaBrowser.Model.Entities
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (i.IsInterlaced)
|
|
|
|
if (i.IsInterlaced)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return "1440I";
|
|
|
|
return "1440i";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return "1440P";
|
|
|
|
return "1440p";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (width >= 1900 || height >= 1000)
|
|
|
|
if (width >= 1900 || height >= 1000)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (i.IsInterlaced)
|
|
|
|
if (i.IsInterlaced)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return "1080I";
|
|
|
|
return "1080i";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return "1080P";
|
|
|
|
return "1080p";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (width >= 1260 || height >= 700)
|
|
|
|
if (width >= 1260 || height >= 700)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (i.IsInterlaced)
|
|
|
|
if (i.IsInterlaced)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return "720I";
|
|
|
|
return "720i";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return "720P";
|
|
|
|
return "720p";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (width >= 700 || height >= 440)
|
|
|
|
if (width >= 700 || height >= 440)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
if (i.IsInterlaced)
|
|
|
|
if (i.IsInterlaced)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return "480I";
|
|
|
|
return "480i";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return "480P";
|
|
|
|
return "480p";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return "SD";
|
|
|
|
return "SD";
|
|
|
|