Skip to content

Commit

Permalink
remove descriminator for Layers
Browse files Browse the repository at this point in the history
  • Loading branch information
giakas committed Jan 30, 2022
1 parent 126bc38 commit f292ea2
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,7 @@
"description": "Describes Advanced Audio Codec (AAC) audio encoding settings."
},
"Layer": {
"discriminator": "@odata.type",
"properties": {
"@odata.type": {
"type": "string",
"description": "The discriminator for derived types."
},
"width": {
"type": "string",
"description": "The width of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example 50% means the output video has half as many pixels in width as the input."
Expand All @@ -146,13 +141,9 @@
}
},
"type": "object",
"required": [
"@odata.type"
],
"description": "The encoder can be configured to produce video and/or images (thumbnails) at different resolutions, by specifying a layer for each desired resolution. A layer represents the properties for the video or image at a resolution."
},
"H265VideoLayer": {
"x-ms-discriminator-value": "#Microsoft.Media.H265VideoLayer",
"allOf": [
{
"$ref": "#/definitions/Layer"
Expand Down Expand Up @@ -195,7 +186,6 @@
"description": "Describes the settings to be used when encoding the input video into a desired output bitrate layer."
},
"H265Layer": {
"x-ms-discriminator-value": "#Microsoft.Media.H265Layer",
"allOf": [
{
"$ref": "#/definitions/H265VideoLayer"
Expand Down Expand Up @@ -1044,7 +1034,6 @@
"description": "Describes all the filtering operations, such as de-interlacing, rotation etc. that are to be applied to the input media before encoding."
},
"VideoLayer": {
"x-ms-discriminator-value": "#Microsoft.Media.VideoLayer",
"allOf": [
{
"$ref": "#/definitions/Layer"
Expand Down Expand Up @@ -1087,7 +1076,6 @@
"description": "Describes the settings to be used when encoding the input video into a desired output bitrate layer."
},
"H264Layer": {
"x-ms-discriminator-value": "#Microsoft.Media.H264Layer",
"allOf": [
{
"$ref": "#/definitions/VideoLayer"
Expand Down Expand Up @@ -1251,7 +1239,6 @@
"description": "Describes the properties for producing a series of JPEG images from the input video."
},
"JpgLayer": {
"x-ms-discriminator-value": "#Microsoft.Media.JpgLayer",
"allOf": [
{
"$ref": "#/definitions/Layer"
Expand Down Expand Up @@ -1333,7 +1320,6 @@
"description": "Describes the properties for producing a series of PNG images from the input video."
},
"PngLayer": {
"x-ms-discriminator-value": "#Microsoft.Media.PngLayer",
"allOf": [
{
"$ref": "#/definitions/Layer"
Expand Down

0 comments on commit f292ea2

Please sign in to comment.